A small tool to remind yourself of your day-to-day accomplishments
Project description
Branch |
Build Status |
Coverage |
---|---|---|
master |
||
develop |
A command line tool to help remind you of your accomplishments
Limitations
Currently, only the “files” persistence mechanism is implemented. Any other method will raise a NotImplemented exception.
Installation
pip install bragly
OR
$ git clone https://github.com/huntcsg/bragly.git
$ python setup.py install
After installation be sure to run the following command so that your file/s will be in the right place.
$ brag-util init
Base executable
$ brag --help usage: brag [-h] {w,r,s} ... positional arguments: {w,r,s} sub command help w Write a new brag entry r Read a group of brag entries s Search for a group of brag entries optional arguments: -h, --help show this help message and exit
Write
e.g. - brag w Went to seminar, taught mini class to co-workers --tags help teach - brag w Found bug in caching code, let relevant team know --tags network help debug
$ brag w --help usage: brag w [-h] [-t [TAGS [TAGS ...]]] [-d TIMESTAMP] message [message ...] positional arguments: message The brag message optional arguments: -h, --help show this help message and exit -t [TAGS [TAGS ...]], --tags [TAGS [TAGS ...]] The tags associated with this brag message -d TIMESTAMP, --timestamp TIMESTAMP The time stamp to use for this entry, in ISO-8601 format
Read
$ brag r --help usage: brag r [-h] [-s START] [-p PERIOD | -e END] [-f FORM] optional arguments: -h, --help show this help message and exit -s START, --start START The start time for getting entries -p PERIOD, --period PERIOD The time period after the start datetime to get entires. One of hour, day, week, month, year -e END, --end END The end time for getting entries -f FORM, --form FORM The format to display the results in. One of json, json-pretty, log. Default: json
Search
$ brag s --help usage: brag s [-h] [-s START] [-p PERIOD | -e END] [-t [TAGS [TAGS ...]]] [-x [TEXT [TEXT ...]]] [-f FORM] optional arguments: -h, --help show this help message and exit -s START, --start START The start time for getting entries -p PERIOD, --period PERIOD The time period after the start datetime to get entires. One of hour, day, week, month, year -e END, --end END The end time for getting entries -t [TAGS [TAGS ...]], --tags [TAGS [TAGS ...]] Tags you want to search for -x [TEXT [TEXT ...]], --text [TEXT [TEXT ...]] Keywords you want to search for -f FORM, --form FORM The format to display the results in. One of json, json-pretty, log. Default: json
Utility Script
$ brag-util --help usage: brag-util [-h] {init} ... positional arguments: {init} sub command help init Initialize brag. If you want a different location for brag than /home/hunter/.brag than be sure to set BRAG_DIR environmental variable. If you want a different location for the configuration file then be sure to set BRAG_CONFIG_PATH to something other than /home/hunter/.brag/config.ini optional arguments: -h, --help show this help message and exit
brag-util init
$ brag-util init --help usage: brag-util init [-h] [-m {reldb,files,mongodb}] [-c] optional arguments: -h, --help show this help message and exit -m {reldb,files,mongodb}, --mechanism {reldb,files,mongodb} Select the persistence mechanism. Default: files. -c, --clobber If set, overwrites existing configuration files.
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
Built Distribution
File details
Details for the file bragly-0.1.4.tar.gz
.
File metadata
- Download URL: bragly-0.1.4.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3102eede7fe99f42a2626edc72112bfb49632d84b2ea90b7a6fc26f4e37a13de |
|
MD5 | b21a792fbc3df45b904c3b6163f638f7 |
|
BLAKE2b-256 | a664e737bac2d05772e393db69d05a77cb6e3a2b3fd4729ece59acfec95ae0b4 |
File details
Details for the file bragly-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: bragly-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1c408caf32b018a81e0bda15db71e5b32d82592f80e66c89b8d4f4e9a0f455 |
|
MD5 | a082ee0fa0c384ecb527880d354a4edf |
|
BLAKE2b-256 | 7c5a41e28155e1f6da913a393d339fb8449845f0e4729d7970cf0a9a95002aea |