Skip to main content

Generate description tables for your Pydantic's BaseSettings

Project description

GenVars

Generate description tables for your Pydantic BaseSettings models in Markdown.

Usage: poetry run python3 -m genvars [-h] [--output OUTPUT] modules [modules ...]

positional arguments:
  modules          Modules with settings to describe, e.g. common.settings config <...>

options:
  -h, --help       show this help message and exit
  --output OUTPUT  Output file in Markdown.

BackupManagerSettings

Variable Type Default Description
SCHEMA string http
HOST string
PORT integer

ExporterSettings

Variable Type Default Description
MAX_CONCURRENT_TASKS integer 10 The maximum number of concurrent tasks in the event loop.
DIRECTORIES array

PostgresSettings

Variable Type Default Description
HOST string
PORT integer
USER string
PASSWORD string
DB string

ProductionS3StorageSettings

Variable Type Default Description
CONFIG_FILE_PATH string ~/.aws/config
MAX_CONCURRENT_REQUESTS integer 10 The number of concurrent uploads per directory. The minimum count of threads on my system was 6 with the concurrency value of 1. https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#max-concurrent-requests
MAX_QUEUE_SIZE integer 1000 https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#max-queue-size
MULTIPART_THRESHOLD string 8MB https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#multipart-threshold
MULTIPART_CHUNKSIZE string 8MB https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#multipart-chunksize
MAX_BANDWIDTH string, null None https://docs.aws.amazon.com/cli/latest/topic/s3-config.html#max-bandwidth
ARGS array ['--size-only'] Arbitrary keyword arguments to be passed to the AWS CLI command.
ACCESS_KEY_ID string
SECRET_ACCESS_KEY string
ENDPOINT_URL string
REGION string
BUCKET_NAME string Name of the bucket to be used.

TenacitySettings

Variable Type Default Description
MAX_RETRIES_COUNT integer -1 -1 means infinite retries
WAIT_MULTIPLIER integer 2 Exponential backoff multiplier
MAX_WAIT_TIME integer 10 Maximum wait time in seconds

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

genvars-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

genvars-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file genvars-0.1.2.tar.gz.

File metadata

  • Download URL: genvars-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.5.0-10022-tuxedo

File hashes

Hashes for genvars-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7c71a768ab9b6dcaafef469fb838e2ce6ef9deeeee503092b44481face216bbd
MD5 3cdfb63b480dc30a565d6ba4239c4b54
BLAKE2b-256 8cecb45dfd177c7f6e05b457c7f48a08d24e11355173c31c7e88182c912cc029

See more details on using hashes here.

File details

Details for the file genvars-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: genvars-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.5.0-10022-tuxedo

File hashes

Hashes for genvars-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cff83221bf5ec7363c1a1f46fce24a29f406bfc910cd7935f124b5452a52d6bd
MD5 fa19f95ff9b4c6b2242817b8ea211077
BLAKE2b-256 ffa11da7ab1d68bee57d39a1c0e3190c2ddbe8451cccb560866a9fb61a726930

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