FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5.20.5.2-0.5.20.5.2
FreeBSD:14:quarterly0.5.20.5.2n/a0.5.20.5.2
FreeBSD:15:latest0.5.20.5.2n/a0.5.20.5.2
FreeBSD:15:quarterly0.5.20.5.2n/an/an/a
FreeBSD:16:latest0.5.20.5.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

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
FileSizeSHA256
sqids-0.5.2.tar.gz182135ac08f0c5c9b6814bc2e7c79ee5931e0849d25d95c50e415771b022a44f58af9
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.