Skip to main content

clojure literal reader and writer for python

Project description

A python reader/writer for clojure data literals.


pip install pyclj


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


pyclj is distributed under MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyclj, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size pyclj-0.1.4.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page