💀💀💀 deadsimplevenv
Simple wrapper for python venv
If you want to automate python project structure creation and great projects as POETRY cannot be used in your envinronment, you can try deadsimplevenv. It does not add anything special and it stucks with basic python setuptools 🛠.
How to use
What it does for me
-
It will create following folder structure by default:
. ├── .cz.toml ├── .git ├── .gitignore ├── .venv ├── LICENSE ├── README.md ├── my_ultra_mega_project │ └── __ini__.py ├── setup.cfg └── setup.py
-
It will create venv and install/upgrade following packages (you can add/remove packages in your config):
- pip
- setuptools
- wheel
- black
- pylint
- commitizen
-
It will connect to your devops platform (github or gitlab) and create project and make initial commit.
Installation
# Make dir for deadsimplevenv
λ mkdir deadsimplevenv && cd deadsimplevenv
# Use python -m venv for the last time :))
λ python -m venv .venv && source .venv/bin/activate
# Install deadsimplevenv
λ[.venv] pip install deadsimplevenv
# OPTIONAL - make alias for deadsimplevenv
λ[.venv] which deadsimplevenv
/path/to/the/deadsimplevenv/.venv/bin/deadsimplevenv
λ[.venv] echo "alias deadsimplevenv=/path/to/the/deadsimplevenv/.venv/bin/deadsimplevenv" >> ~/.bashrc
λ[.venv] source ~/.bashrc
Token needed
You need to specify gitlab or github token in the config file.
Options
Usage: deadsimplevenv [OPTIONS]
You can load custom config from ~/.config/deadsimplevenv
Options:
-p, --project PATH Project name
-d, --description TEXT Brief project description
-u, --username TEXT Your username
-n, --name TEXT Your full name
-e, --email TEXT Your email adress
-l, --license [MIT|GNU|EMPTY] Project license
--devops_platform [github|gitlab]
Your devops platform
--devops_url TEXT Your devops url
--devops_group TEXT Your devops group
--makerepo Create repo in DEVOPS
--norepo Do not create repo in DEVOPS
--private / --public Create repo in DEVOPS [default: True]
--token TEXT DEVOPS token
--help Show this message and exit.
Config file
You can make your own config file in default config locations for each platform:
- Other Unix: $XDG_CONFIG_HOME/app and ~/.config/deadsimplevenv
- OS X: ~/.config/app and ~/Library/Application Support/deadsimplevenv
Check example config in examples folder for possible parameters.
Metadata
Release files for deadsimplevenv 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deadsimplevenv-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for deadsimplevenv-0.2.1-py3-none-any.whl |
Release files / deadsimplevenv-0.2.1-py3-none-any.whl
| Download URL | deadsimplevenv-0.2.1-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8b9f7e78b924a50bbc11198f94c10450935dd3ba84e9884000aa1777d8922eb
|
|
BLAKE2b-256 checksum How to use checksums |
e8b911601d4b5605ed14b1d6d43eeaaec1e0bda73d4f2053aef0c57a8fafdd1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.2
|
Security for deadsimplevenv 0.2.1
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.