Skip to main content

enhance pydantic settings with .toml files in recersive directories

Project description

usage

  • make a dir named confd in current working directory
  • put a dev.toml in confd
  • change env in production: export ENVIRONMENT='production'
  • create your own config file
from pydantic_settings_enhanced import TomlBaseSettings

class TestTomlBaseSettings(TomlBaseSettings):
    debug: bool = False

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

pydantic_settings_enhanced-0.2.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

pydantic_settings_enhanced-0.2.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_settings_enhanced-0.2.1.tar.gz.

File metadata

  • Download URL: pydantic_settings_enhanced-0.2.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pydantic_settings_enhanced-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df94a82ebdaa6d441c7d227ed9b581c2b173057b32017ac79c3d32049e3b4d09
MD5 d182a5d7bcc6c08210a16e2db768d2e6
BLAKE2b-256 88fe57acdf8a460106cd3eb4fdb2880959b500287be37ebaddb94ce03c327f10

See more details on using hashes here.

File details

Details for the file pydantic_settings_enhanced-0.2.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pydantic_settings_enhanced-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05a53bcbae970ed71855d05a9ee785c73bba009ea6d4eb09bc2378713e4c82cd
MD5 3facbd8c44f3f7e99b9356dd77d3830e
BLAKE2b-256 702b742d7a7a3a0bbeef11a26a9c5c8395b14b6ca13cc23674382a31df626738

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