Configurable venv extension
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kantan-0.4.0.tar.gz.
File metadata
- Download URL: kantan-0.4.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9afcf4bb8b043938af3ab03de07c4d0fa730d408545806993398a55a2dd92e8b
|
|
| MD5 |
0193fbd7ac24e34a6c3b84f2875a4abe
|
|
| BLAKE2b-256 |
e2572962ebfe368e331142683fab4779c6b6369192196c789131f0f980a15d8c
|
File details
Details for the file kantan-0.4.0-py3-none-any.whl.
File metadata
- Download URL: kantan-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38129673d85aafe96a895f69a99a933ee4a00810c1336cecbf781c82c8ee3e6e
|
|
| MD5 |
26a07b99bb783807edadf67f0f4f23fa
|
|
| BLAKE2b-256 |
1ae720342e72026cf61d44a08fa73b6c95225aa705ba24c0a18f0fbafca95ef5
|