Skip to main content

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)

Release files for peck 2.4.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 peck 2.4.4
File Size Uploaded
peck-2.4.4.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for peck 2.4.4
File Interpreter ABI Platform
peck-2.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 35.6 kB

Release files / peck-2.4.4.tar.gz

Download URL peck-2.4.4.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4cda8987bad16e96b3338491623c813a7b5afa5cbd4d0afbd80f58ff1287f2f8
BLAKE2b-256 checksum
How to use checksums
5972e84891ddcea2298e90493d7df520cb28f0ff0ec55f2b5334253a047b6930
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / peck-2.4.4-py3-none-any.whl

Download URL peck-2.4.4-py3-none-any.whl
Size 20.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5f9093b700aea0d2b3803ae6321f05785843ae99778565abb14a2f5f32a078d
BLAKE2b-256 checksum
How to use checksums
0c15d42b2f214277ea083c14e71b22aef8ca143f94f642bc902da1b2959b58b3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.4.4 This release

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

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