BSD Ports

textproc/py-python-ulid2 2.7.0_1 MidnightBSD

Universally unique lexicographically sortable identifier

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
textproc, python

Description

This port provides an implementation of ULID.

A ULID is a universally unique lexicographically sortable identifier. It is

  • 128-bit compatible with UUID
  • 1.21e+24 unique ULIDs per millisecond
  • Lexicographically sortable!
  • Canonically encoded as a 26 character string, as opposed to the 36 character UUID
  • Uses Crockford's base32 for better efficiency and readability (5 bits per character)
  • Case insensitive
  • No special characters (URL safe)

In the other systems

SystemPortVersion
MidnightBSDtextproc/py-python-ulid22.7.0_1
FreeBSDtextproc/py-python-ulid22.7.0
DragonFlytextproc/py-python-ulid22.7.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}python-ulid2

From mports:

cd /usr/mports/textproc/py-python-ulid2 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-ulid2>0:textproc/py-python-ulid2

Dependencies

As this port's Makefile names them.

Build 3

Build dependencies 3
Required by 1

Configuration

Options name: textproc_python-ulid

OptionDefaultDescription
PYDANTICoffPydantic support
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
python_ulid-2.7.0.tar.gz2501018eb595885140851a490a95b0da4447911ff69fa9f434732067b97f6956f9fe9
Master sites 1
  • PYPI