Jira-like IDs for links and short content.
Project description
minid
Generate and store minimal, Jira-like IDs for content. Kind of like a URL shortener.
Installation
uv tool install minid-py
pip install minid-py
Usage
Register a prefix
minid prefix SLACK
Create a new entry
$ minid new slack "https://myorg.slack.com/archives/ABC123/pXYZ456"
Stored as SLACK-100
# Or use multiline input
$ minid new slack
Content (Ctrl+D or 2 blank lines to finish):
https://myorg.slack.com/archives/ABC123/pXYZ456
A very important thing involving Bob
Stored as SLACK-101
Find entries
# list *all* entries
$ minid find
# all for prefix
$ minid find -p slack
# search all entries for content
$ minid find "Bob"
# search for content within a specific prefix
$ minid find "important" --prefix slack
Get a specific entry
$ minid get slack 100
# fuzzy prefix matching
$ minid g sl 100
Development
# install dependencies
uv sync
# run tests
./bin/test
# run tests in watch mode
./bin/test --watch
# install pre-commit hooks
uv run pre-commit install
Features
- Fuzzy command matching - Type
minid finstead ofminid find - Fuzzy prefix match - Likewise,
minid f -p swill attempt to figure out what you meant by matching - Clickable links - URLs and GitHub references (owner/repo#123) become clickable in terminal
- Rich terminal output - Tables, colors, and formatting
- Multiline input - Support for long descriptions
- Fast search - LMDB-based storage for quick queries
- Comprehensive testing - 100% test coverage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minid_py-0.1.0.tar.gz
(24.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minid_py-0.1.0.tar.gz.
File metadata
- Download URL: minid_py-0.1.0.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
283538b52ca82aa65aae21c49e900f86ece090399411cb8980f80a719a14cfe1
|
|
| MD5 |
c429933dd6924a23fafd19a8a746f403
|
|
| BLAKE2b-256 |
9493938d16e4d229854d27952f129db93016ed9773f0d8cdaad8a18bc12acd27
|
File details
Details for the file minid_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: minid_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42c26af85ac255c1a76468f89d4b4c3c909a316dc18520bfb64e734a9f91ff36
|
|
| MD5 |
6bdfad6d50c614d1b83dbb40753c3248
|
|
| BLAKE2b-256 |
0cacef9ce1afd35c03df72356e5b364bb776317ae71d8675c8397eec032874cd
|