Skip to main content

A small wrapper around YAJL's lexer

Project description

yajs

yajs is a simple package that provides a wrapper to the YAJL JSON lexer functions that allow tokenization of streams of JSON data without having to buffer up the whole data.

Examples:

>>> from cStringIO import StringIO
>>> from yajs import tokenize
>>> for token in tokenize(StringIO('[1, 2, 3]')):
...     print token
...
('start_array', None)
('value', 1)
('value', 2)
('value', 3)
('end_array', None)

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

yajs-1.0.2.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yajs-1.0.2-py2-none-macosx_10_11_intel.whl (36.5 kB view details)

Uploaded Python 2macOS 10.11+ Intel (x86-64, i386)

File details

Details for the file yajs-1.0.2.tar.gz.

File metadata

  • Download URL: yajs-1.0.2.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yajs-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f0489ca0a7482d9292a56afe203c8281147d31ac58983132f509c33fc9eacfe3
MD5 23a5db015f342d7c602867660fb0e54b
BLAKE2b-256 b20ae2933024332fc2fca94d01a08e148829880c495f1ef77f562f7e6bbdda58

See more details on using hashes here.

File details

Details for the file yajs-1.0.2-py2-none-macosx_10_11_intel.whl.

File metadata

File hashes

Hashes for yajs-1.0.2-py2-none-macosx_10_11_intel.whl
Algorithm Hash digest
SHA256 6148f8a0e782cc3f67e468e3fbc38ee6deff1e59db6d977d039fc18aadccab4a
MD5 0b45ebf3efe92af0859683fa74848bb5
BLAKE2b-256 5a35432ca9aed6dd3207cd79f18a6bd5bd11877a0049844c1354a6d4f5169753

See more details on using hashes here.

Supported by

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