Skip to main content

Better command line programs in production, no need to worry, this is a lib, not a framework.

Project description

https://travis-ci.org/andersroos/rocky.svg?branch=master

Rocky

A collection of small libs for better command line programs in production setting. This is not a framework, use a small bit or everything.

  • Traceable config, no more searching for where the config was set. Read them from config file, python file, plain file, command line, environment or somewhere you choose. Dump all config to the log at once or at first use.

  • Handling of pid files, creating, removing and checking.

  • Stop gracefully on a single sigint, but die hard when spamming them.

  • Argparsing can be done by a number of other libs, not included here, personally I like argparse and have added a couple of useful functions related to it.

  • Adding to sys.path, replace two lines of code with one line of code.

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

rocky-1.0.2.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

rocky-1.0.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

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