BSD Ports

devel/py-cbor 1.0.0_2 MidnightBSD

RFC 7049 - Concise Binary Object Representation

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0
Categories
devel, python

Description

An implementation of RFC 7049 - Concise Binary Object Representation (CBOR).

CBOR is comparable to JSON, has a superset of JSON's ability, but serializes to a binary format which is smaller and faster to generate and parse.

The two primary functions are cbor.loads() and cbor.dumps().

This library includes a C implementation which runs 3-5 times faster than the Python standard library's C-accelerated implementanion of JSON. This is also includes a 100% Python implementation.

In the other systems

SystemPortVersion
MidnightBSDdevel/py-cbor1.0.0_2
FreeBSDdevel/py-cbor1.0.0_1
DragonFlydevel/py-cbor1.0.0_1
HardenedBSDdevel/py-cbor1.0.0_1
GhostBSDdevel/py-cbor1.0.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}cbor

From mports:

cd /usr/mports/devel/py-cbor && make install clean

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cbor>0:devel/py-cbor

Dependencies

As this port's Makefile names them.

Build 2

Build dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
compiler python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
cbor-1.0.0.tar.gz2009613225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6
Master sites 1
  • PYPI