BSD Ports

devel/py-serializable 1.3.1 FreeBSD

Base class with serialization helpers for user-defined Python objects

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
1b43b1fe92
License
APACHE20
Categories
devel, python
Package size
22.2 KiB, 105.2 KiB installed

Description

Base class with serialization methods for user-defined Python objects.

Classes which inherit from Serializable are enabled with default implementations of to_json, from_json, __reduce__ (for pickling), and other serialization helpers. A derived class must either have a member data matching the name of each argument to __init__ or, alternatively, must provide a user-defined to_dict() method which returns a dictionary whose keys match the arguments to __init__.

In the other systems

SystemPortVersion
FreeBSDdevel/py-serializable1.3.1
NetBSDdevel/py-serializable2.1.0nb1
DragonFlydevel/py-serializable0.4.1_1

Install

Binary package:

pkg install py312-serializable

From the ports tree:

cd /usr/ports/devel/py-serializable/ && make install clean

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

RUN_DEPENDS=	py312-serializable>0:devel/py-serializable

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:latest1.1.01.1.00.2.10.4.1_11.1.0
FreeBSD:14:quarterly1.1.01.1.0n/a0.4.1_11.1.0
FreeBSD:15:latest1.1.01.1.0n/a0.4.1_10.4.1_1
FreeBSD:15:quarterly1.1.01.1.0n/an/an/a
FreeBSD:16:latest1.1.01.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
openvax-serializable-v1.3.1_GH0.tar.gz304944a55101d8e6e6c1a20bfc917eac92ee02a0be1eb4df775765a565275656972fc

Commit history 1

DateCommitCreditsLog message
1b43b1fe92 Yuri Victorovich devel/py-serializable: update 1.1.0 → 1.3.1