Wrapper command
Project description
INTRODUCTION
pycomando is a Library for creating command line program's command with minimal effort
pycomando is based on argparse allowing the creation of commands starting from a simple yml file.
PyPI: https://pypi.python.org/pypi/pycomando/
GitLab: https://gitlab.com/doberti/pycomando/
Documentation: https://gitlab.com/doberti/pycomando/-/wikis/Documentation/
MAINTAINERS:
- Daniel Oberti (obertidaniel@gmail.com)
Install this package
Using a distribuible package:
This project is deployed as a python package. Once cloned we advice to install it with pip. In order to do that the user needs to open a command prompt, go into the directory containing the project and execute the next command:
git clone REPO
# creating the dist. package
python setup.py sdist
# using the dist. package
pip install PACKAGE.tar.gz
Using git + pip
git clone REPO
pip install -e pycomando
Using pypi
git clone REPO
python setup.py bdist_wheel
python -m pip install -U pip setuptools twine
# (publicando en pypi)
python -m twine upload dist/*
# install the package anywhere:
pip install pycomando
Uninstall this package
pip uninstall <PACKAGE>
Redis server setup using Docker
pycomando has an option to store commands into a redis db. You can use docker to deploy it easely as shown below:
Run redis in docker with:
$ docker run --name redis -p 7010:6379 -d redis:6.2.6
Autocomplete setup
tcsh:
eval `register-python-argcomplete --shell tcsh pycomando`
bash:
eval "$(register-python-argcomplete pycomando)"
Example
A simple usage example is on the folder "examples" (before run it, you should install this package)
References
- https://es.acervolima.com/como-publicar-el-paquete-python-en-pypi-usando-el-modulo-twine/
- https://programmerclick.com/article/2710482940/
- https://choosealicense.com/
- https://pypi.org/ (here you must register as well if you want to publish packages)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pycomando-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2390594d98ba4ba202cbe28fbd5feaff7c5b2b7435309479db277677ad3d3ef |
|
MD5 | 3eaded4bca64d4157b4590ee41323d19 |
|
BLAKE2b-256 | 7b27c282c157e245f008f106a22382d587a4f11f6b67b1d35d4e3847c06aa4d2 |