Skip to main content

clojure literal reader and writer for python

Project description

A python reader/writer for clojure data literals.

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.

Project details


Download files

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

Source Distribution

pyclj-0.1.8.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file pyclj-0.1.8.2.tar.gz.

File metadata

  • Download URL: pyclj-0.1.8.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyclj-0.1.8.2.tar.gz
Algorithm Hash digest
SHA256 ddceb21047fbd2e435b3a2d4508e2a8e97eb4ad10e0b01a1b7fe26397bfcb8a5
MD5 70efa4a177d2707f0c439f0a9545d4ac
BLAKE2b-256 42f7edd5877cd457b35d8e50348e79f65ce48b8669e798200ba648a21c77cf91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page