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.

Metadata

Release files for barbara 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for barbara 2.4.0
File Size Uploaded
barbara-2.4.0.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for barbara 2.4.0
File Interpreter ABI Platform
barbara-2.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / barbara-2.4.0.tar.gz

Download URL barbara-2.4.0.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c8a878218ec9173d0125ca946ccd3fcde0950d797ce70582a4432d0c1cf616
BLAKE2b-256 checksum
How to use checksums
4250195b3b8d0015056236b8d56f0da6967278da0c301096e1c91e09dd626a26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / barbara-2.4.0-py3-none-any.whl

Download URL barbara-2.4.0-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0a5ddda1be32dab469bd97decad5b435e967d7dca6ae0c232fcfad6b5fc3d71
BLAKE2b-256 checksum
How to use checksums
bc6ccfb17b002760d99814ffe5a1cdcacec3cab800c8baf48efee86c65a6e491
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files

2.3.0

2 release files

2.2.2

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.6

2 release files

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.5

1 release file

0.4

2 release files

0.3.1

2 release files

0.3

1 release file

0.2

1 release file

0.1

1 release 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