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.1.0.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.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sync_settings_dotenv-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sync_settings_dotenv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e7c12cbc26f94990b060861fcc68e690666b38fc43fd24f806e475f9cf97414
MD5 85c02e48b0b39f7d94483786590d059f
BLAKE2b-256 9575158a629bf76a4a2ddc7ee6327658a96d75970b86326bfe88c6d94d254025

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sync_settings_dotenv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for sync_settings_dotenv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c441433af48f443368593745a175fc1dfab75e45891cd5a79d8d1fdc3da342bd
MD5 9343998459ff9159c05f795e000e626f
BLAKE2b-256 9d60af50b53fbeaee23b7ff75a9d63b4805472485deb74e458a8fe8aa71a30d6

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