devel/py-sqids 0.5.1 DragonFly
Generate YouTube-like IDs from numbers
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, python
- Package size
- 14.3 KiB, 68.6 KiB installed
Description
Sqids (pronounced "squids") is a small library that lets one generate YouTube-like unique IDs from numbers. It is good for link shortening, fast and URL-safe ID generation, and decoding back into numbers for quicker database lookups.
Good for:
- Generating IDs for public URLs (e.g. link shortening)
- Generating IDs for internal systems (e.g. event tracking)
- Decoding for quicker database lookups (e.g. by primary keys)
Not good for:
- Sensitive data (this is not an encryption library)
- User IDs (can be decoded revealing user count)
In the other systems
The newest version among them is 0.5.2, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/py-sqids | 0.5.1 | none known | - | [email protected] | - |
| FreeBSD | devel/py-sqids | 0.5.2 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/py-sqids | 0.5.2 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-sqids | 0.5.2 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install py311-sqids
From DPorts:
cd /usr/dports/devel/py-sqids && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.