Skip to main content

Python Env Starter

Getting your python repository setup for other developers to work on can be tedious and time consuming. Use this small but handy utility to make setting up your python projects “mad easy” for other developers.

Tons of thanks to @kennethreitz and @dasJ for making [autoenv](https://github.com/kennethreitz/autoenv) :) Also thanks to @bkuberek for showing me how to write CLIs for applications! 👍

Feel free to leave or send any feedback, always looking for ways to improve dis

What does it do??

This script will create a few essential files in your repository:

.env

This file is used by autoenv to automatically switch to your python virtualenv and run any generic shell commands (such as modifying your $PATH or $BIN, adding aliases, etc.) whenever you cd into your project directory. Feel free to set your own common environment variables, aliases, functions, etc. in here!

setup.sh

This file allows developers who clone your repository to easily install OS-level dependencies. Add your own apt-get and brew dependencies to this.

.gitignore

This will add or update your .gitignore to include the virtual env and compiled python files. You don’t wanna source control those!

How do I do it??

It’s easy peasy! Just run

Installation

sudo pip install python-env-starter

Running it

python-env setup
./setup.sh
source ~/.bashrc

You should now see the new files, .env, setup.sh, and .gitignore

then just commit the new files to your own repo :)

Metadata

Release files for python-env-starter 0.3.2

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

Source distribution (sdist)

Source distribution for python-env-starter 0.3.2
File Size Uploaded Provenance Actions
python-env-starter-0.3.2.tar.gz 6.7 kB Without provenance Details for python-env-starter-0.3.2.tar.gz

Release files / python-env-starter-0.3.2.tar.gz

Download URL python-env-starter-0.3.2.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d2a932360b0556fa6a989985c2afb7afaf52fd009a37ed3e70c41d57916b6a5
BLAKE2b-256 checksum
How to use checksums
720ecbc736871da3a7f34577d1cdfb218ec5a93e104f04e566f90597187fc564
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-env-starter 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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