GithubHelp home page GithubHelp logo

opbeat-track's Introduction

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:

$ python setup.py install

Verify by running:

$ opbeat-track --version

To run the package without installing use:

$ python -m opbeat_track --version

Alternatively, you can also:

$ chmod u+x opbeat-track-runner.py
$ ./opbeat-track-runner.py --version

Usage

$ opbeat-track [-o ORG_ID] [-a APP_ID] [-s SECRET_TOKEN] [-b BRANCH]

Example:

$ opbeat-track -a sd25403b -o 223s3438094c012bb32u55437a -s 523e0222ww8a8sf2af7e3392f224d1026s3 -b 'v2.0'

Use the help command to get an overview:

$ opbeat-track --help

To do:

  • Get an actual Pythonista to review it
  • Write tests
  • Upload to PyPi
  • Implement option to load tokens from a file

Notes

The project structure is borrowed from this post: https://gehrcke.de/2014/02/distributing-a-python-command-line-application/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.