tagcollector (0.3.0rc40+dockerize.f4b4bd1)
Installation
pip install --index-url tagcollector
About this package
See tags that are popular across Mastodon
mastodon-tagcollector
Collect the tags used on public Mastodon posts, on a variety of instances. Summarize by a count of how many times each tag is used. Guide users in picking tags to attach to their posts.
Installing the Service
With thanks to How To Add Your Own Services to systemd For Easier Management
`cp tagcollector.service /etc/systemd/system/`
`systemctl daemon-reload`
`systemctl enable tagcollector`
`service tagcollector start`
`journalctl -f -u tagcollector.service`
Dev Setup
- Use poetry
- Install poetry-dynamic-versioning (
poetry self add "poetry-dynamic-versioning[plugin]"
)
Like this:
pipx install poetry
pipx inject poetry poetry-plugin-export
poetry self add "poetry-dynamic-versioning[plugin]"
Dependency Tracking
If you want to build wheels of your dependencies, you can do the following, although local path-based dependencies may not work:
poetry export -f requirements.txt -o requirements.txt --without-hashes
poetry export -f constraints.txt -o constraints.txt --without-hashes
pip wheel -r requirements.txt
Poe the Poet
pipx install poethepoet
brew tap nat-n/poethepoet
brew install nat-n/poethepoet/poethepoet
poetry self add 'poethepoet[poetry_plugin]'
poetry add --group dev poethepoet
poe _fish_completion > (brew --prefix)/share/fish/vendor_completions.d/poe.fish
Hadolint
brew install hadolint
Private PyPi Repo
poetry source add --priority=supplemental desertflood "https://git.desertflood.com/api/packages/jmartindf/pypi"
poetry config repositories.desertflood "https://git.desertflood.com/api/packages/jmartindf/pypi"
poetry config http-basic.desertflood jmartindf
Private OCI Image Repo
docker login git.desertflood.com
Docker Build Command Notes
docker buildx build [OPTIONS] PATH
--file ../path/to/Dockerfile
--platform linux/arm64,linux/amd64
Requirements
Requires Python: >=3.12.0,<3.13
Details
2024-01-10 22:16:58 -07:00
Assets (2)
Versions (5)
View all
PyPI
14
Joe Martin
BlueOak-1.0.0
20 KiB
0.3.0
2024-01-12
0.3.0rc49+dockerize.a50aa68.dirty
2024-01-12
0.3.0rc40+dockerize.f4b4bd1
2024-01-10
0.2.1rc30+b4114a8
2024-01-10
0.2.0
2023-12-29