Skip to main content

A library of helpful wrappers around boto3 aws functions

Project description

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

  1. Create an account on PyPI (for production) and/or TestPyPI (for testing)
  2. 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.toml before 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nrdtech_aws_utils-0.0.5.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nrdtech_aws_utils-0.0.5-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file nrdtech_aws_utils-0.0.5.tar.gz.

File metadata

  • Download URL: nrdtech_aws_utils-0.0.5.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for nrdtech_aws_utils-0.0.5.tar.gz
Algorithm Hash digest
SHA256 dc53039b4b915d3cbd2a144dfc91d769b5ff2708b4c29fd075f3436e65bd4f15
MD5 a313bc899e717dbbd1b8d4d9f4297806
BLAKE2b-256 e3c37b0b4a9ea5cdec0c3f50de5c14e4e04d5803737a0a3e4afdf57d5108cf47

See more details on using hashes here.

File details

Details for the file nrdtech_aws_utils-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nrdtech_aws_utils-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 377bfef7a9861fdd0ddd8180ac4c1bc286ae0e5703038eb5c3f8bb5bc327c8b3
MD5 42cb70176cdc76b907b2c2b9176cbed6
BLAKE2b-256 7136d84ce8252813b135ef29dfce865dfebc7333cee7ee82402f542a1ce56ede

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page