Skip to main content

clojure literal reader and writer for python

Project description

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


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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyclj-0.2.2.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page