Skip to main content

Automate the processing of Grym/vonRicht releases

Project description

https://img.shields.io/pypi/status/grymp.svg https://img.shields.io/pypi/v/grymp.svg https://img.shields.io/pypi/pyversions/grymp.svg https://travis-ci.org/gebn/grymp.svg?branch=master https://coveralls.io/repos/github/gebn/grymp/badge.svg?branch=master https://landscape.io/github/gebn/grymp/master/landscape.svg?style=flat

Automate the processing of Grym/vonRicht releases. Please note: this module does not download anything; it only automates renaming and moving around existing files.

Installation

$ pip install grymp

Examples

Process a release called Release Name located at ~/Release.Name-Grym. The feature will be placed in /tmp/features, and the extras in /tmp/extras:

$ grymp -f /tmp/features -e /tmp/extras ~/Release.Name-Grym "Release Name"

To only process the feature or extras, omit -f (and the path) or -e (and the path) respectively.

Usage

$ grymp -h
usage: grymp [-h] [-V] [-v] [-i] [-o] [-k] [-f FEATURE] [-e EXTRAS] base name

Automate the processing of Grym/vonRicht releases

positional arguments:
  base                  the root directory of the release, containing the
                        feature
  name                  the name of the feature

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -v, --verbosity       increase output verbosity
  -i, --interactive     prompt before each operation affecting the filesystem
  -o, --overwrite       overwrite files without asking
  -k, --keep            keep original files; only has an effect if they were
                        copied because the destination was on a different
                        filesystem
  -f FEATURE, --feature FEATURE
                        marshal the feature into this directory (it must
                        exist)
  -e EXTRAS, --extras EXTRAS
                        marshal the extras into a new subdirectory within this
                        directory, named after the feature

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

grymp-0.0.2.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

grymp-0.0.2-py2.py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 2 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