Skip to main content
https://repository-images.githubusercontent.com/131429006/7eb3f680-8572-11e9-8c3d-68b1476c50e8#

python downloads license version

Environment variable management

New in 2.0!

  • Features have been dropped: - Legacy templates aren’t supported anymore - Subvariables aren’t supported anymore - SSM support has been dropped, as there are better ways to do this

  • Schema-version has been added to document schema to make it easier for me to deprecate and change the schema if necessary

Installation

$ pip install barbara

Usage

YAML Format (.env.yml)

  1. Create an .env.yml for your project

schema-version: 2
project:
  name: your_project
  output: env-file

environment:
  ENVIRONMENT_NAME: development
  DATABASE_URL: postgres://root@db:5432/mydb
  DEBUG: 1
  MEDIA_DIRS: media,static
  CSRF_COOKIE_SECURE: 0
  1. Run barb and you’ll be prompted for the values

$ barb
env-file does not exist. Create it? [y/N]: y
Creating environment: env-file
Skip Existing: True
DATABASE_URL [postgres://root@db:5432/mydb]: root:wordpass@127.0.0.1:5432/sample
ENVIRONMENT_NAME [development]:
Environment ready!
  1. Inspect the generated file, see your values!

$ cat .env
DATABASE_URL=root:wordpass@127.0.0.1:5432/sample
ENVIRONMENT_NAME=development

Why barbara?

Because Barbara Liskov created the Liskov Substitution Principle and is a prolific contributor to computer science and software engineering. Barbara is one of the Newton’s metaphorical giants that enables us to see further. I humbly dedicate my project to her and her contributions and offer this project to its consumers with a license befitting that dedication.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

barbara-2.4.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

barbara-2.4.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file barbara-2.4.0.tar.gz.

File metadata

  • Download URL: barbara-2.4.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for barbara-2.4.0.tar.gz
Algorithm Hash digest
SHA256 d9c8a878218ec9173d0125ca946ccd3fcde0950d797ce70582a4432d0c1cf616
MD5 aea22b56686077ded1dcefdab541afcc
BLAKE2b-256 4250195b3b8d0015056236b8d56f0da6967278da0c301096e1c91e09dd626a26

See more details on using hashes here.

Provenance

The following attestation bundles were made for barbara-2.4.0.tar.gz:

Publisher: publish.yml on mathsucks/barbara

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file barbara-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: barbara-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for barbara-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a5ddda1be32dab469bd97decad5b435e967d7dca6ae0c232fcfad6b5fc3d71
MD5 8eeba05c4e66f21d09d433efb643d580
BLAKE2b-256 bc6ccfb17b002760d99814ffe5a1cdcacec3cab800c8baf48efee86c65a6e491

See more details on using hashes here.

Provenance

The following attestation bundles were made for barbara-2.4.0-py3-none-any.whl:

Publisher: publish.yml on mathsucks/barbara

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 files

2.3.0

2 files

2.2.2

2 files

2.2.0

2 files

2.1.0

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.2.0

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.6

2 files

0.9.4

1 file

0.9.3

1 file

0.9.2

1 file

0.9.1

1 file

0.8.2

1 file

0.8.1

1 file

0.8

1 file

0.7.2

1 file

0.7.1

1 file

0.7

1 file

0.5

1 file

0.4

2 files

0.3.1

2 files

0.3

1 file

0.2

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page