Skip to main content

pyclj

A python reader/writer for clojure data literals. On clojure’s extensible data notations, checkout Rich Hickey’s edn spec: https://github.com/richhickey/edn

Install

pip install pyclj

Usage

The API is very similar to python’s built-in json module.

  • dump(data, fileobj)

  • dumps(data)

  • load(fileobj)

  • loads(string)

Clojure -> Python Type Mapping

Clojure

Python

list

list

vector

list

set

set

map

dict

nil

None

string

string

int

int

float

float

boolean

boolean

char

string

keyword

string

Python -> Clojure Type Mapping

Python

Clojure

list

vector

set

set

dict

map

None

nil

string

string

int

int

float

float

boolean

boolean

License

pyclj is distributed under MIT license.

Metadata

Release files for pyclj 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyclj 0.4.0
File Size Uploaded Provenance Actions
pyclj-0.4.0.tar.gz 5.1 kB Without provenance Details for pyclj-0.4.0.tar.gz

Release files / pyclj-0.4.0.tar.gz

Download URL pyclj-0.4.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
31fa6f23596bd9bf07117428ef2cb8aa26774001e83d130925d00195e89bfae7
BLAKE2b-256 checksum
How to use checksums
6eb1d3aae2a15207a9c1f07a56538dc9885de92a59f3ef58e0e724fef09ebbdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyclj 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page