Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanjacosic/opbeat-track
Small dependency-free CLI tool that tracks releases to Opbeat.com.
https://github.com/vanjacosic/opbeat-track
Last synced: 1 day ago
JSON representation
Small dependency-free CLI tool that tracks releases to Opbeat.com.
- Host: GitHub
- URL: https://github.com/vanjacosic/opbeat-track
- Owner: vanjacosic
- License: mit
- Created: 2015-10-02T18:34:04.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-02T19:16:48.000Z (about 9 years ago)
- Last Synced: 2023-03-27T16:24:04.110Z (over 1 year ago)
- Language: Python
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
opbeat-track
============Small dependency-free CLI tool to track releases to `Opbeat.com `_
The idea was to create a small script that doesn't rely on third party modules to work, so that it could be used easily on "any" system (with Python installed).
Disclaimer: I'm still new to Python, so there might be many things that can be improved. Feel free to point them out, PRs are very welcome.
Installation
------------Install using:
.. code-block:: bash
$ python setup.py install
Verify by running:
.. code-block:: bash
$ opbeat-track --version
To run the package without installing use:
.. code-block:: bash
$ python -m opbeat_track --version
Alternatively, you can also:.. code-block:: bash
$ chmod u+x opbeat-track-runner.py
$ ./opbeat-track-runner.py --versionUsage
-----
.. code-block:: bash$ opbeat-track [-o ORG_ID] [-a APP_ID] [-s SECRET_TOKEN] [-b BRANCH]
Example:.. code-block:: bash
$ opbeat-track -a sd25403b -o 223s3438094c012bb32u55437a -s 523e0222ww8a8sf2af7e3392f224d1026s3 -b 'v2.0'
Use the help command to get an overview:
.. code-block:: bash
$ opbeat-track --help
To do:
------
- Get an actual Pythonista to review it
- Write tests
- Upload to PyPi
- Implement option to load tokens from a fileNotes
-----
The project structure is borrowed from this post: https://gehrcke.de/2014/02/distributing-a-python-command-line-application/