simple notes on the command line
Project description
peck 🐤
is a command line tool that allows you to take notes across directories without cluttering your work spaces.
install:
pip install peck
using:
peck [command] [keyword (if appropriate)]
or for a quick entry:
peck [entry]
how everything works:
notes are formatted as follows:
Sat 04:48PM Sep 19 2020
-----------------------
this is a peck note
#*#*#*#*#*#*#*#*#*#*#*#
each file can contain any number of notes.
all of your notes are stored in your home
directory in a folder called pck
. when you run peck from a new location, a folder is created inside peck
that references this location. for example, if your shell points to You/Desktop
, running peck [note]
will add an entry to a You_Desktop
folder in home/peck
. peck recognizes the directory from where you are taking notes, but leaves the location itself untouched. this allows you to take notes without the worry of cluttering your work spaces.
to create a new collection file, run a command. the default file name is peck.txt
, but you can run peck -s [new_name]
to set a new default name. running peck -l
will print a header with useful information on the files in your peck
folder.
config attributes allow various changes to how peck formats your notes. this file is generated with peck -config
, or when peck -s [new file]
is run. for example, if you want a note's date header to be underlined differently, this attribute can be modified. if you want a different string to mark the end of an entry, this can be modified. it should be noted that changing things integral to how the program functions, such as an entry end marker, will outdate the path you are working in. specifications on what is safe to update in an existing path are included in the config file itself (peck.ini
).
suggestions for use: to-do list, dream journal, version note manager, recipe experimentation database, anything that you want to keep track of paired with the time you remembered to record it
commands:
'-l': list out information about paths in use
'-n': new entry with both first and second sections
'-n1': new entry with first section
'-n2': new entry with second section
'-nt': new entry using a textbox. ignores config file preferences
'-a': new tagged entry. syntax: peck -a [tag] [entry]
'-v': view entries. syntax: peck -v // peck -v [keyword]
'-vf': view a difference collection in the same path. format: 'peck -vf: [collection name][opt keyword]'
'-ds': view entries on a specific date. format: 'peck -ds [mm/dd/yy]'
'-t': search for entries with a tag
'-wipe': delete current default
'-wipe-all': delete folder referencing this location
'-b': create backup of collection
'-load': load entries from backup
'-config': generate config file in pwd. if config exists, defaults reset.
updating config may outdate peck
'-s': specify default collection file.
does not modify existing files. modifes / creates config file.
'-del': delete entry
'-q': quick delete the last entry made
build with pyinstaller:
1.) pyinstaller [options] __main__.py
2.) (optional) copy google_api_python_client-1.12.1.dist-info
folder to [project]/bin/[os]/[peck]
directory to allow for google drive support (note: not implemented in current builds / source. check issue #3 for more information)
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 peck-2.4.4.tar.gz
.
File metadata
- Download URL: peck-2.4.4.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cda8987bad16e96b3338491623c813a7b5afa5cbd4d0afbd80f58ff1287f2f8 |
|
MD5 | f6c19e644f516a28d9416a6722022439 |
|
BLAKE2b-256 | 5972e84891ddcea2298e90493d7df520cb28f0ff0ec55f2b5334253a047b6930 |
File details
Details for the file peck-2.4.4-py3-none-any.whl
.
File metadata
- Download URL: peck-2.4.4-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5f9093b700aea0d2b3803ae6321f05785843ae99778565abb14a2f5f32a078d |
|
MD5 | a0502dce5afd9cdfa10cbeb136bb4f99 |
|
BLAKE2b-256 | 0c15d42b2f214277ea083c14e71b22aef8ca143f94f642bc902da1b2959b58b3 |