Catalog PyPI
PACKAGE EXPLORERView in registry

abook-parser

PyPI

parser for the abook CLI

Versions collected1
Direct dependencies5From release 0.1.0
Last observed20 Oct, 17:32 UTC

README

Version 0.1.0 documentation

abook_parser

parser for the abook CLI

Installation

Requires python3.12+

To install with pip, run:

pip install git+https://github.com/purarue/abook_parser

Usage

This can read the addressbook, sort it by some key, and print a formatted version (either JSON or the abook addressbook format).

Usage: abook_parser parse [OPTIONS] FILE

  Parse the addressbook file, and sort it by the name field

Options:
  -t, --output-type [abook|json]  output format type
  -k, --sort-key TEXT             sort addressbook items by key
  -o, --output PATH               output file path
  --help                          Show this message and exit.

It also has commands to add or edit and item with a fzf-based interactive mode.

Usage: abook_parser edit [OPTIONS] FILE

  Edit a field in the addressbook file

Options:
  --ignore-case / --no-ignore-case
                                  ignore case in query
  -q, --query TEXT                query string to search for
  --help                          Show this message and exit.

Tests

git clone 'https://github.com/purarue/abook_parser'
cd ./abook_parser
pip install '.[testing]'
pytest
flake8 ./abook_parser
mypy ./abook_parser

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.027 Nov 20245

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
purarue/abook_parser

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:32 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d1458420b3f468931f899a655a61795cdb411048d678768742638e3c15e00ff3