Skip to main content

A CLI tool to export environment variables from Python settings files.

Project description

tests lint

sync-settings-dotenv

A Python CLI to sync configs from code to dotenv file.

Currently only supports BaseSettings model from pydantic-settings.

Prerequisites

  • uv installed

Installation

The tool can be installed using uv tool:

uv tool install sync-settings-dotenv

After installation, it will be available as sync-dotenv command in your terminal.

Usage

For details on usage, run:

sync-dotenv --help

Update and Uninstallation

To upgrade to the latest version, run:

uv tool upgrade sync-settings-dotenv

To uninstall the tool (noooo), run:

uv tool uninstall sync-settings-dotenv

Development

To set up the development environment, run:

make dev-setup

To verify all development checks:

make check-all

To install the tool in editable mode:

make local-install

Take a look at the Makefile for more commands to help with development and testing.

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

sync_settings_dotenv-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

sync_settings_dotenv-0.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file sync_settings_dotenv-0.0.2.tar.gz.

File metadata

  • Download URL: sync_settings_dotenv-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"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 sync_settings_dotenv-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bf9f147b748aef039de01e30a2737e5feb67eee43a0518e8d915282f946bd9f9
MD5 4227a538652f52f9ce729563e2fe2d33
BLAKE2b-256 b37d709c40364e0f2f4e842851346311041fef86b1811fc67f68ba01b18e0cbb

See more details on using hashes here.

File details

Details for the file sync_settings_dotenv-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sync_settings_dotenv-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"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 sync_settings_dotenv-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcec27f81099420f67b47ca6e955b91c5dded3aca58f3f4758325b88618354d7
MD5 4942379fb4155ab8756ee74bc0796795
BLAKE2b-256 b8d90f5ebc4d69233b91b9b78ae77b0ac3a1f5d62064c9ad36ddb54779e20aa2

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