Notes on Python setups.
https://spacecruft.org/deepcrayon/tasteful-python
42554cbb16 | ||
---|---|---|
.gitignore | ||
LICENSE-AGPL | ||
LICENSE-CC | ||
README.md | ||
requirements-dev.txt | ||
requirements.txt |
README.md
Tasteful Python
Python suited to my taste.
Configuration files, code snippets, etc.
Install
Install thusly.
Using Debian Bookworm (stable/12) as a base.
Dependencies
Dependencies that may be needed:
apt install git python3-pip python3-virtualenv
Python
Get code and set up Python, suit to taste, such as:
git clone https://spacecruft.org/deepcrayon/tasteful-python
cd tasteful-python
virtualenv -p python3 env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
Run
Thusly:
./tasteful-python --version
Usage
Help:
./tasteful-python -h
Example
Such as:
./tasteful-python foo
{"snark": "foo"}
Development
To "develop", install the requirements:
pip install -r requirements-dev.txt
Then run black on the Python files for nice formatting:
black tasteful-python*
Upstream
Python
Python Software Foundation
Copyright
Unofficial project, not related to the Python Software Foundation.
Upstream sources under their respective copyrights.
License
Data: CC By SA 4.0 International.
Source Code: AGPLv3+.
Copyright © 2023, Jeff Moe.