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.

AWSS3CliSettings

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.

BackupManagerSettings

Variable Type Default Description
SCHEMA string http
HOST string
PORT integer

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.

S3StorageSettings

Variable Type Default Description
ACCESS_KEY_ID string
SECRET_ACCESS_KEY string
ENDPOINT_URL string
REGION string

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.1.tar.gz (3.2 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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genvars-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 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.1.tar.gz
Algorithm Hash digest
SHA256 7c01001872bb6dd0e43f496fc27cfa8c3dc94f152ca20a2b24d5344eaf0d819d
MD5 ec0ad78babcdec815cee3daaa607f5f2
BLAKE2b-256 722a9adc3713221d21acab0b369bb7107aae34b1f941e111d52c3f24282b1019

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genvars-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91f504af76b69106549714effc1299fc0b170c23fddc9300d05d5cdb86b35314
MD5 1e9aa95bd1afca4d5433d573d9f317e0
BLAKE2b-256 79b1a6171afc71a72ac1daf1d9310806ceb08e01ad67597322a7cedb5bc71be5

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