devel/py-sqids 0.5.2
Generate YouTube-like IDs from numbers
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 16.0 KiB, 65.4 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)
Install
As a binary package — by origin, or by package name:
pkg install devel/py-sqids
pkg install py312-sqids
From the ports tree:
cd /usr/ports/devel/py-sqids/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-sqids>0:devel/py-sqids
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5.2 | 0.5.2 | - | 0.5.2 | 0.5.2 |
| FreeBSD:14:quarterly | 0.5.2 | 0.5.2 | n/a | 0.5.2 | 0.5.2 |
| FreeBSD:15:latest | 0.5.2 | 0.5.2 | n/a | 0.5.2 | 0.5.2 |
| FreeBSD:15:quarterly | 0.5.2 | 0.5.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5.2 | 0.5.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
All build dependencies 17
All run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| sqids-0.5.2.tar.gz | 18213 | 5ac08f0c5c9b6814bc2e7c79ee5931e0849d25d95c50e415771b022a44f58af9 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.