Skip to main content

bragly

Branch

Build Status

Coverage

master

Build Status

Coverage Status

develop

Develop Build Status

Develop Coverage Status

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

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.

Metadata

Release files for bragly 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bragly 0.1.4
File Size Uploaded Provenance Actions
bragly-0.1.4.tar.gz 10.3 kB Without provenance Details for bragly-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bragly 0.1.4
File Interpreter ABI Platform Actions
bragly-0.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for bragly-0.1.4-py2.py3-none-any.whl

Total release size: 26.6 kB

Release files / bragly-0.1.4.tar.gz

Download URL bragly-0.1.4.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3102eede7fe99f42a2626edc72112bfb49632d84b2ea90b7a6fc26f4e37a13de
BLAKE2b-256 checksum
How to use checksums
a664e737bac2d05772e393db69d05a77cb6e3a2b3fd4729ece59acfec95ae0b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bragly-0.1.4-py2.py3-none-any.whl

Download URL bragly-0.1.4-py2.py3-none-any.whl
Size 16.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6f1c408caf32b018a81e0bda15db71e5b32d82592f80e66c89b8d4f4e9a0f455
BLAKE2b-256 checksum
How to use checksums
7c5a41e28155e1f6da913a393d339fb8449845f0e4729d7970cf0a9a95002aea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bragly 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page