It's like Badgie but for tags!
Project description
taggie 🖍️
It's like Badgie, but for tags!
About
taggie tags things. It's what it does.
taggie is built as a standalone tool to be integrated into a larger toolchain for analyzing and acting on project contents.
Installation
python3 -m pip install taggie
Usage
Use the default tags
Run taggie with no options to use the default collection of tag files bundled
with the application:
taggie
$ taggie
TOTAL NAME EXAMPLE
243 yaml marp/.gitlab-ci.yml
52 markdown container/README.md
15 opentofu opentofu/outputs.tf
11 jinja container/.cici/README.md.j2
9 python python/examples/dynamic-version/python_pipeline/__init__.py
6 toml python/examples/dynamic-version/pyproject.toml
3 html zola/templates/index.html
1 restructuredtext sphinx/docs/index.rst
1 css marp/style.css
Use your own tags
Define a set of tagging rules in YAML files we like to call "tag files":
# jinja.yaml
- type: file.extension
tags:
- jinja
extensions:
- j2
The syntax is a little verbose, but that's because we want to make the tagging components pluggable.
Run taggie with the -t/--tag-file option to specify your tag files. A
directory can also be passed. -t/--tag-file can be specified as many times
as needed:
taggie -t jinja.yaml
$ taggie -t jinja.yaml
TOTAL NAME EXAMPLE
11 jinja gitlab/.cici/README.md.j2
License
Copyright 2025 UL Research Institutes.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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
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 taggie-0.3.0.tar.gz.
File metadata
- Download URL: taggie-0.3.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50568289ec07e73d1d2577ff5f1a23d771f284d133cb158b5324454c886a6719
|
|
| MD5 |
e90ac250af77f6e82973b6c61a3f3d2a
|
|
| BLAKE2b-256 |
cf019035b816adfa81b7826b94ac8e3cebe9201ee6318c2f665c427c1fd28761
|
File details
Details for the file taggie-0.3.0-py3-none-any.whl.
File metadata
- Download URL: taggie-0.3.0-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73f26128c3c21bdab389879d2eda230f135b6d960430fb08f49bfb08897adc67
|
|
| MD5 |
465da55a94c5349cb9eca0a0ea2d8dcc
|
|
| BLAKE2b-256 |
c35e7f66b72629f6aea9ed16a7776c4bca67b226f0296dde3d476d8d6bfbed29
|