Skip to main content

Jira-like IDs for links and short content.

Project description

minid

tests codecov

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 f instead of minid find
  • Fuzzy prefix match - Likewise, minid f -p s will 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minid_py-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for minid_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 283538b52ca82aa65aae21c49e900f86ece090399411cb8980f80a719a14cfe1
MD5 c429933dd6924a23fafd19a8a746f403
BLAKE2b-256 9493938d16e4d229854d27952f129db93016ed9773f0d8cdaad8a18bc12acd27

See more details on using hashes here.

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

Hashes for minid_py-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42c26af85ac255c1a76468f89d4b4c3c909a316dc18520bfb64e734a9f91ff36
MD5 6bdfad6d50c614d1b83dbb40753c3248
BLAKE2b-256 0cacef9ce1afd35c03df72356e5b364bb776317ae71d8675c8397eec032874cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page