Changelogs » Aioradio

PyUp Safety actively tracks 266,461 Python packages for vulnerabilities and notifies you when to upgrade.

Aioradio

0.8.0

-----------------------
  
  * Replace python-utils repository with new name: aioradio.

0.7.4

-----------------------
  
  * Add redis class object pool_task to run async task in fastapi startup function to create redis class pool object.

0.7.3

-----------------------
  
  * Add async event loop logic when instantiating redis pool.

0.7.2

-----------------------
  
  * Add boto3 to install_requires within setup.py.

0.7.1

-----------------------
  
  * Fix missing None values in result from redis get_many_items function.
  * Update aiobotocore==1.1.2.

0.7.0

-----------------------
  
  * Remove fice institution mapping logic as it is too NRCCUA specific for an open source project.
  * Refactored tests to no longer use AWS secrets manager for creds but use environment variables instead.

0.6.10

-----------------------
  
  * Remove None values from redis build_cache_key function.
  * Use fakeredis instead of real elasticache resource.

0.6.7

-----------------------
  
  * Removed closing AioSession as it is unnecessary.

0.6.6

-----------------------
  
  * Add ability to refresh aioboto3 client/resource every sleep interval.

0.6.5

-----------------------
  
  * No longer closing the AioSession in utils.py.

0.6.3

-----------------------
  
  * Converted using real AWS resources to implementing mock moto server with aiobotocore and aioboto3.

0.6.2

-----------------------
  
  * Redis SET using orjson no longer decoding the cache value, but instead write the value as bytes.

0.6.1

-----------------------
  
  * Replace ujson with orjson for faster serialization/deserialization.

0.6.0

-----------------------
  
  * Add redis to python-utils.

0.5.7

-----------------------
  
  * Fix bug with not passing in region to sqs client.

0.5.6

-----------------------
  
  * Improved the implimentation of the aiojobs scheduler and active decorator by using a class in utils.py.

0.5.5

-----------------------
  
  * Replace print statements with logger in sqs.py and s3.py.

0.5.4

-----------------------
  
  * Improved AioSession refresh logic by setting client to None after exiting context manager.
  * Adding logging in sqs.py and s3.py.

0.5.3

-----------------------
  
  * Use asyncio.create_task instead of loop.run_until_complete.

0.5.2

-----------------------
  
  * Fix bug with issuing raise out of scope.

0.5.1

-----------------------
  
  * Fix bug with the active decorator counter not decrementing.
  * Removed setting level of root logger.

0.5.0

-----------------------
  
  * Add logging during reacquiring the s3 or sqs sessions.
  * Refactor the Logger to DatadogLogger making it specific to use with Datadog.

0.4.10

-----------------------
  
  * Improve get event logic in s3.py and sqs.py by always attempting to instantiate the using get_event_loop before using new_event_loop.

0.4.9

-----------------------
  
  * Add missing await to asyncio.sleep

0.4.8

-----------------------
  
  * Use asyncio.new_event_loop() in s3.py and sqs.py else use asyncio.get_event_loop() when running pytest.

0.4.7

-----------------------
  
  * Removed uvloop from python-utils since it was causing issues with streamlit.

0.4.6

-----------------------
  
  * Changed timeout value from 0.1 to 300 seconds in function establish_s3_client.

0.4.5

-----------------------
  
  * Add waiting mechanism in active decorator until the client key is set.

0.4.4

-----------------------
  
  * Add uvloop and aiojobs to install_requires in setup.py.

0.4.3

-----------------------
  
  * Adding uvloop==0.14.0 to speed up the event loop.

0.4.2

-----------------------
  
  * Replace aioboto3 with aiobotocore when appropriate.
  * Adding a longer lasting AioSession client (5 minutes) for sqs and s3 for better performance.

0.4.1

-----------------------
  
  * Update ddtrace from 0.40.0 to 0.41.2 to allow support for asgi integration.
  * Adding a file_ingestion function delete_ftp_file.

0.4.0

-----------------------
  
  * Separate pyodbc logic into its own module.

0.3.10

-----------------------
  
  * Obtain complete objects streamed bytes from s3 get_object function.

0.3.9

-----------------------
  
  * Add s3 function get_object to download contents of an s3 file directly.

0.3.8

-----------------------
  
  * Add missing library httpx to python-utils package.

0.3.7

-----------------------
  
  * Add generic jira functions post_jira_issue, get_jira_issue and add_comment_to_jira.
  * Add s3 function upload_fileobj to basically upload a file using the file descriptor.
  * Add dynamo function batch_get_items_from_dynamo to batch GET items.
  * Add file ingestion function list_ftp_objects to list files & directory at an FTP path.

0.3.6

-----------------------
  
  * Add async process manager using either threads or asyncio.gather that can manage a fix number of async processes.

0.3.5

-----------------------
  
  * Add options use_ntlm_v2 & is_direct_tcp to establish_ftp_connection.

0.3.4

-----------------------
  
  * Switch to using DNS instead of IP for FTP connection.
  * Add async_wrapper function in file_ingestion that can be used as a decorator for DAG tasks to enable await usage.

0.3.3

-----------------------
  
  * Using new secret names in tests.

0.3.2

-----------------------
  
  * Use consistent AWS Secret Manager secret names across accounts and environments.

0.3.1

-----------------------
  
  * Whenever importing package files prepend with python_utils.

0.3.0

-----------------------
  
  * Add getting secrets from AWS Secrets Manager in python_utils/aws/secrets.py
  * Removed pyodbc from install_required

0.2.8

-----------------------
  
  * Hard-code version for each python package in requirements.txt.
  * Fix missing comma between aioboto3 and ddtrace in setup.py.
  * Adding a check of installing setup.py with the cmd: make all.

0.2.7

-----------------------
  
  * Adding to install_requires in setup.py: aioboto3.

0.2.6

-----------------------
  
  * Add the data folder and its contents to the package, currently to use fice_institution_mapping.xlsx.

0.2.5

-----------------------
  
  * Fix spelling from pyobdc to pyodbc in setup.py

0.2.4

-----------------------
  
  * Adding to install_requires in setup.py: mandrill, pyobdc, pysmb, & xlrd.

0.2.3

-----------------------
  
  * Adding python package pytest-cov==2.10.0 with minimum coverage of 95% allowed.
  * Extracting generic functions from EFI that appear to be appropriate for use across python projects.

0.2.2

-----------------------
  
  * Added "python_utils/aws" directory to the packages in setup.py

0.2.1

-----------------------
  
  * Generate v0.2.1 for initial release of python-utils

0.2.0

-----------------------
  
  * Add async AWS library with initial support for common SQS, S3 & DynamoDB functions.

0.1.8

-----------------------
  
  * Fix comparing console_logger with all_loggers list.

0.1.7

-----------------------
  
  * Adjusting console logger to only add handler if the logger doesn't initially exist.

0.1.6

-----------------------
  
  * Fill in readme
  * Add pre-commit github action

0.1.5

* Adding tests to repository and pre-commit
  * Allow for dynamic formatting of message.
  * Add ddtrace==0.39.0 integrating with running via docker
  * Add ability to install via setup.py.
  * Add generic logger for either local or docker environment, which includes improved Datadog logging.