Web-based client for Yarr!
Project description
Web client for Yarr! in Python.
Install
Using a package manager
$ pip install yarr.client
From source
$ git clone https://github.com/bluecap-se/yarr.client.git
$ cd yarr.client
$ pip install -r requirements.txt
$ pip install -e .
Usage
Quickstart
$ yarr.client
* Running on http://127.0.0.1:5000/
* Restarting with reloader
Options
The configuration file params are defined in the Flask documentation.
Additional, app-specific params are YARR_URL and YARR_API_TOKEN. YARR_URL is the path to the Yarr! server, and YARR_API_TOKEN needs to be set if the server has a corresponding token specified in its config.
$ yarr.client -h
Yarr.client - Web Client for Yarr!
Usage:
yarr.client [--config FILE] [options]
Options:
-c, --config FILE Path to Flask config file (params: bit.ly/1uamUo1)
-h, --help Output this help and exit
-v, --version Output version and exit
Examples:
yarr.client
yarr.client -c /etc/production.cfg
Run tests
$ py.test
Watch for changes
To run the tests continuously, run the test command with the watch or follow flag -f:
$ py.test -f
Test coverage
$ coverage run --source yarr_client -m py.test
$ coverage html
$ open htmlcov/index.html
License
Published under MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yarr.client-0.1.0.tar.gz
(12.4 kB
view details)
File details
Details for the file yarr.client-0.1.0.tar.gz.
File metadata
- Download URL: yarr.client-0.1.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d94a31f4363254047377fd2bdf40080f50104df32c7e701192bb74a5d6618f33
|
|
| MD5 |
88358f2e838e1c4d3ae030b654351cd1
|
|
| BLAKE2b-256 |
95eae1a7c23fdcb05f5647c40f0b81282e335be3141fa2937e830c9d294ea1ff
|