Skip to main content

Open-source package for loading environment variables easier and in a Pythonic way

Project description

CaptainPlanet 🌍

Open-source package for loading environment variables easier and in a Pythonic way

Getting Started

TBD (Pending https://github.com/bryanterichardson/python-environment-variable/issues/2)

Development

[!IMPORTANT] We uv for development, from environment setup to test and build/deploy.

See official uv documentation for more information.

Initial setup

If it's your first time working on this project, you can run the following command to set up your environment:

make init

[!TIP] We also provide a number of other make targets for convenience. Run make (or make help) to see what's available.

Code format

We use ruff for code formatting and linting. You can run the following command to check your code. A simple way to lint your code is to run the pre-commit hooks using the format target:

make format

Unit tests

We use pytest for unit tests, and all tests are in the tests directory.

To quickly run unit tests using the development environment, you can run

make test

To make sure that the package works as expected in all supported python versions, you can run the test-all target. Note that each python version will be tested in an isolated environment, and you can use the -j, --jobs option to run tests in parallel (each python version in its own process). For example:

make -j5 test-all

[!TIP] For the test-all target, both stdout and stderr from testing each python version are written to respective .test-{version}.log files.

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

captainplanet-0.0.1.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

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

captainplanet-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file captainplanet-0.0.1.tar.gz.

File metadata

  • Download URL: captainplanet-0.0.1.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for captainplanet-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4476e116e0c12fe5cd39f317dc107780f9fb29aa18e1357b70ac6815c9f2055c
MD5 685c82d5ae2dd998833cda0acaf15db4
BLAKE2b-256 c6e3bf69c19276f256eaf088382e7365b58f2901933139f232ea817c5b011b59

See more details on using hashes here.

File details

Details for the file captainplanet-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: captainplanet-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for captainplanet-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06325a913ee06db68c2e97bc6e2fa06a51cda19ef4b2b29ddf2cf5ced0171121
MD5 391efb46632333d1cb82125d72194319
BLAKE2b-256 46be7b0f7e8ddd1a6f6547c1d67f4ac474365292208f87663fcc3f919f75bbcf

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