tungsten-tags
Tags for Tungsten: put colored tags on any record (leads, tickets, employees, invoices or your own models) and filter by them.
pip install tungsten-tags
from tungsten_tags import TagsPlugin
panel.plugin(TagsPlugin())
panel.create_tables(engine)
- A Tags page: name, color, group, where each tag is used, merge duplicates, sync.
- With
tungsten-leads,tungsten-tickets,tungsten-hrandtungsten-financeon the panel, their records get a Tags box, a Tags column, a tag filter (any / all) and Add tags / Remove tags bulk actions. No extra code. - Your own resources:
panel.get_plugin("tags").attach(ProductResource). - In code:
set_tags,add_tags,remove_tags,tags_for. - "VIP" and "vip" are one tag. Deleted records lose their tags. Rename, merge or delete a tag and every record follows.
Guide: https://tungsten.prisminfoways.com/docs/tags
Try it
pip install -e . -e plugins/tags -e plugins/leads -e plugins/tickets -e plugins/hr uvicorn
uvicorn plugins.tags.example:app --reload
Tests
pip install -e ".[dev]" -e plugins/tags -e plugins/leads -e plugins/tickets -e plugins/hr -e plugins/finance
pytest plugins/tags/tests
Metadata
Release files for tungsten-tags 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tungsten_tags-0.1.0.tar.gz | 21.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tungsten_tags-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.2 kB