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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-cbor | 1.0.0_2 |
| FreeBSD | devel/py-cbor | 1.0.0_1 |
| DragonFly | devel/py-cbor | 1.0.0_1 |
| HardenedBSD | devel/py-cbor | 1.0.0_1 |
| GhostBSD | devel/py-cbor | 1.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
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Build dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cbor-1.0.0.tar.gz | 20096 | 13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6 |
Master sites 1
- PYPI