Skip to main content

mediqaws

A collection of AWS clients, and asecrets manager.

Install

pip install mediqaws

Usage

from mediqaws.clients import S3

profile_name = "..."
bucket_name = "..."
object_key_prefix = "..."
file_path = "..."

with S3(profile_name=profile_name) as s3:
  object_key = s3.upload(file_path, bucket_name, object_key_prefix)
print(object_key)
from mediqaws.secrets_manager import SecretsManager

secrets_manager = SecretsManager()
secret = secrets_manager.get_secret(os.getenv("SECRET_NAME"))
print(secret)

See more examples under tests directory.

Metadata

Release files for mediqaws 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mediqaws 0.0.6
File Size Uploaded Provenance Actions
mediqaws-0.0.6.tar.gz 7.9 kB Without provenance Details for mediqaws-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mediqaws 0.0.6
File Interpreter ABI Platform Actions
mediqaws-0.0.6-py3-none-any.whl Python 3 none any Details for mediqaws-0.0.6-py3-none-any.whl

Total release size: 15.8 kB

Release files / mediqaws-0.0.6.tar.gz

Download URL mediqaws-0.0.6.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6134f8442f99f8b3ac360e36ee3159b248b10ca5fe99a0be310c14fac35b08db
BLAKE2b-256 checksum
How to use checksums
068bab5f6ba23680cead8339bc09ae2e5545216be28b2fb4588a8137379dba25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Release files / mediqaws-0.0.6-py3-none-any.whl

Download URL mediqaws-0.0.6-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7da21ad6a308554b60c3e8d8e010c8214e2cdeeb3869458ae051944443bcd6cf
BLAKE2b-256 checksum
How to use checksums
34924c6346c5e1af072b366199b916aea1050af49766149935645e3c7e83ceaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.9

Security for mediqaws 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page