Kantan
Configurable venv extension.
How to use?
Kantan assumes the existence of a folder $HOME/.kantan containing available configuration.
/$HOME
/.kantan
/default
configuration.json
file_to_copy
Example configuration.json:
{
"requirements": [ // Requirements to be installed on the new environment using `pip install`
"numpy=1.2.3"
],
"include_files" : [ // Files to be copied to `env_dir`
"file_to_copy"
]
}
Then check how to use kantan from commandline.
$ kantan -h
Development
Python virtual environment
Create and load a virtual environement.
python -m venv .venv
source .venv/bin/activate
Install
Install all dependencies in editable mode.
make install
Misc
Check what other shortcuts are available.
make help
Areas of improvement
- Add/Test Support for older/newer Python versions.
- Json schema for
configuration.jsonvalidation. - Make configuration extendable.
- Improve coverage of builder and extensions.
- Improve error handling and messages
Metadata
Release files for kantan 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kantan-0.4.0.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kantan-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / kantan-0.4.0.tar.gz
| Download URL | kantan-0.4.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9afcf4bb8b043938af3ab03de07c4d0fa730d408545806993398a55a2dd92e8b
|
|
BLAKE2b-256 checksum How to use checksums |
e2572962ebfe368e331142683fab4779c6b6369192196c789131f0f980a15d8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.9
|
Release files / kantan-0.4.0-py3-none-any.whl
| Download URL | kantan-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38129673d85aafe96a895f69a99a933ee4a00810c1336cecbf781c82c8ee3e6e
|
|
BLAKE2b-256 checksum How to use checksums |
1ae720342e72026cf61d44a08fa73b6c95225aa705ba24c0a18f0fbafca95ef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.9
|