NRD Tech AWS Python Utils
Description
A library of helpful wrappers around boto3 aws functions
Testing
pytest
pytest --cov=nrdtech_aws_utils tests/
Build
python -m pip install --upgrade pip
pip install flit
flit build
Publishing to PyPI
Prerequisites
- Create an account on PyPI (for production) and/or TestPyPI (for testing)
- Create an API token:
- Go to Account Settings → API tokens
- Create a new token with appropriate scope (project or account)
- Save the token (you'll only see it once)
Option 1: Using flit (recommended)
# Install flit if not already installed
pip install flit
# Build the package
flit build
# Publish to TestPyPI (for testing)
flit publish --repository testpypi
# Publish to PyPI (production)
flit publish
Option 2: Using twine (alternative)
# Install twine
pip install twine
# Build the package (if not already built)
flit build
# Upload to TestPyPI (for testing)
twine upload --repository testpypi dist/*
# Upload to PyPI (production)
twine upload dist/*
First-time setup
When publishing for the first time, you'll be prompted for:
- Username:
__token__(literally, with underscores) - Password: Your API token (starts with
pypi-)
Testing before production
Always test on TestPyPI first:
# Test installation from TestPyPI
pip install --index-url https://test.pypi.org/simple/ nrdtech-aws-utils
Notes
- Make sure to increment the version in
pyproject.tomlbefore each release - The package name on PyPI will be
nrdtech-aws-utils(hyphens, not underscores) - After publishing, it may take a few minutes for the package to be available
Metadata
Release files for nrdtech_aws_utils 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nrdtech_aws_utils-0.0.5.tar.gz | 13.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrdtech_aws_utils-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.7 kB
Release files / nrdtech_aws_utils-0.0.5.tar.gz
| Download URL | nrdtech_aws_utils-0.0.5.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc53039b4b915d3cbd2a144dfc91d769b5ff2708b4c29fd075f3436e65bd4f15
|
|
BLAKE2b-256 checksum How to use checksums |
e3c37b0b4a9ea5cdec0c3f50de5c14e4e04d5803737a0a3e4afdf57d5108cf47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Release files / nrdtech_aws_utils-0.0.5-py3-none-any.whl
| Download URL | nrdtech_aws_utils-0.0.5-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
377bfef7a9861fdd0ddd8180ac4c1bc286ae0e5703038eb5c3f8bb5bc327c8b3
|
|
BLAKE2b-256 checksum How to use checksums |
7136d84ce8252813b135ef29dfce865dfebc7333cee7ee82402f542a1ce56ede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.5
|
Security for nrdtech_aws_utils 0.0.5
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.