Skip to main content

Opportunity Network Utilities

Project description

Opportunity Network Python Helpers

https://travis-ci.org/opportunitynetwork/on-tools.svg?branch=master

Installation

pip install on-tools

Available tools

Hipchat message

Sends a hipchat message to selected channel.

$ hipon.py room_id “This is a message @all”

$ hipon.py -h usage: hipon.py [-h] roomid message

positional arguments:

roomid message

optional arguments:
-h, --help

show this help message and exit

Where room_id is your integer room id.

Check migrations

Validates Django project against duplicated migrations number (useful for med - big size projects with CI).

$ check_migrations.py -h usage: check_migrations.py [-h] [–strict] [-x exclude] dir

Find duplicated Django South migrations.

positional arguments:

dir directory

optional arguments:
-h, --help

show this help message and exit

--strict

exit with error code when first duplicated migration found

-x exclude, --exclude exclude

exclude pattern

Devault Client

Get a latest deployed version on a provided environment.

$ devault.py -h

usage: devault.py [-h] command [options]

positional arguments:

command options

optional arguments:
-h, --help

show this help message and exit

$ devault.py gv production

4.14

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

on-tools-0.6.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page