A command line interface to process EURING text files.
Project description
euring-cli
=========
*A skeleton command line program in Python.*
Purpose
-------
This is a skeleton application which demonstrates how to properly structure a
Python CLI application.
I've done my best to structure this in a way that makes sense for *most* users,
but if you have any feedback, please open a Github issue and I'll take a look.
The idea with this project is that you should be able to use this as a template
for building new CLI apps.
You can fork this project and customize it to your liking, or just use it as a
reference.
Usage
-----
If you've cloned this project, and want to install the library (*and all
development dependencies*), the command you'll want to run is::
$ pip install -e .[test]
If you'd like to run all tests for this project (*assuming you've written
some*), you would run the following command::
$ python setup.py test
This will trigger `py.test <http://pytest.org/latest/>`_, along with its popular
`coverage <https://pypi.python.org/pypi/pytest-cov>`_ plugin.
Lastly, if you'd like to cut a new release of this CLI tool, and publish it to
the Python Package Index (`PyPI <https://pypi.python.org/pypi>`_), you can do so
by running::
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
This will build both a source tarball of your CLI tool, as well as a newer wheel
build (*and this will, by default, run on all platforms*).
The ``twine upload`` command (which requires you to install the `twine
<https://pypi.python.org/pypi/twine>`_ tool) will then securely upload your
new package to PyPI so everyone in the world can use it!
Thanks
------
This project owes thanks to
- The `skele-cli` example at https://github.com/rdegges/skele-cli
=========
*A skeleton command line program in Python.*
Purpose
-------
This is a skeleton application which demonstrates how to properly structure a
Python CLI application.
I've done my best to structure this in a way that makes sense for *most* users,
but if you have any feedback, please open a Github issue and I'll take a look.
The idea with this project is that you should be able to use this as a template
for building new CLI apps.
You can fork this project and customize it to your liking, or just use it as a
reference.
Usage
-----
If you've cloned this project, and want to install the library (*and all
development dependencies*), the command you'll want to run is::
$ pip install -e .[test]
If you'd like to run all tests for this project (*assuming you've written
some*), you would run the following command::
$ python setup.py test
This will trigger `py.test <http://pytest.org/latest/>`_, along with its popular
`coverage <https://pypi.python.org/pypi/pytest-cov>`_ plugin.
Lastly, if you'd like to cut a new release of this CLI tool, and publish it to
the Python Package Index (`PyPI <https://pypi.python.org/pypi>`_), you can do so
by running::
$ python setup.py sdist bdist_wheel
$ twine upload dist/*
This will build both a source tarball of your CLI tool, as well as a newer wheel
build (*and this will, by default, run on all platforms*).
The ``twine upload`` command (which requires you to install the `twine
<https://pypi.python.org/pypi/twine>`_ tool) will then securely upload your
new package to PyPI so everyone in the world can use it!
Thanks
------
This project owes thanks to
- The `skele-cli` example at https://github.com/rdegges/skele-cli
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 Distribution
euring-0.0.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file euring-0.0.1.tar.gz
.
File metadata
- Download URL: euring-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb37172ef64c197e0e542e5267e95ca2fe794f75648204b516941eb05c9baff |
|
MD5 | bd50a21595b24cb7395d066bbcb39090 |
|
BLAKE2b-256 | 4bb7d965421f2d5bd10b4b37a39ba0fe12ab5a8f951b5c75839055c68601f3fc |
File details
Details for the file euring-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: euring-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33c71271c9a6fd34dec80afba56d7ecc2262046f33756fb7b39a94fc878c1cc6 |
|
MD5 | 8a653deef19b25b86bb2c20cff471372 |
|
BLAKE2b-256 | 8bce8d86224d2f88fa2f20e4fa24e342d1547c1e2c08732e4dc0e0c4a7848616 |