Skip to main content

enhance pydantic settings with .toml files in recursive directories

Project description

usage

  • make a dir named confd in current working directory
  • put a dev.toml in confd
  • change env in production: export SERVER_ENV='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.3.tar.gz (12.6 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.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydantic_settings_enhanced-0.2.3.tar.gz
  • Upload date:
  • Size: 12.6 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.3.tar.gz
Algorithm Hash digest
SHA256 e1cc0ce72996d750961ca9993cc9f2c3fcb33fe41fcd89ca880d1559117e01ca
MD5 7414399f75e7a8dc87a3a4244285904b
BLAKE2b-256 5eec052bc018c03b6cee493b9f9df39eb70a78353fb006d7d0b828ffe6337cda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydantic_settings_enhanced-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e8eb8fce090b04d383dc0510f6bb9e015c35c0fb15292fe85c90a55883f2ec5
MD5 bb33f287c203bffc25c0eb68dd97cecf
BLAKE2b-256 f98ec802ae14459c0937e9772bb8355ab421cc0c507cc166dfbf86cf30d15552

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