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
Write some rules
Define a set of tagging rules in YAML files we like to call "tag files":
# jinja.yaml
- type: file.extension
tags:
- jinja
filters:
- language
extensions:
- j2
The taggie project has a set of pre-defined rules in the tag_files directory.
Run taggie
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
I apparently have 11 Jinja templates in the directory where I ran the tool.
The syntax is a little verbose, but that's because we want to make the tagging components pluggable.
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.1.0.tar.gz.
File metadata
- Download URL: taggie-0.1.0.tar.gz
- Upload date:
- Size: 10.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 |
c0ee7032654768b66cf0795fa03ed8029086a4e7031b19db1978d88012a88b04
|
|
| MD5 |
c743ff47657d2037cef9ffa25a754e94
|
|
| BLAKE2b-256 |
30db1284c1852600d109789a3aba920b9dc823ca9abea052aa195666a58d7b6a
|
File details
Details for the file taggie-0.1.0-py3-none-any.whl.
File metadata
- Download URL: taggie-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.6 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 |
409151c777ee573d9dae1f3c73409abca51723c8ee494ff8d8e424625670f9f0
|
|
| MD5 |
bf7760422b2491970912ec144eda4d90
|
|
| BLAKE2b-256 |
7a3f3750f330cb6f0593def8b6955954da334121678c8f26c65a12a9465fdd8d
|