Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
my-package.ext (implicit)
filename:my-package.ext (explicit)

Search by package tag:
latest (implicit)
tag:latest (explicit)

Search by package version:
1.0.0 (implicit)
version:1.0.0 (explicit)
prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Go, Helm, Hex, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial
 Public agriconnect agriconnect (AgriConnect) / python
Prebuilt wheel for Python packages

Python logo ujson  1.35

One-liner (summary)

Ultra fast JSON encoder and decoder for Python

Description

UltraJSON

https://travis-ci.org/esnme/ultrajson.svg?branch=master

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3.

For a more painless day to day C/C++ JSON decoder experience please checkout ujson4c, based on UltraJSON.

Please checkout the rest of the projects in the Ultra series:

To install it just run Pip as usual:

$ pip install ujson

Usage

May be used as a drop in replacement for most other JSON parsers for Python:

>>> import ujson
>>> ujson.dumps([{"key": "value"}, 81, True])
'[{"key":"value"},81,true]'
>>> ujson.loads("""[{"key": "value"}, 81, true]""")
[{u'key': u'value'}, 81, True]

Encoder options

encode_html_chars

Used to enable special encoding of "unsafe" HTML characters into safer Unicode sequences. Default is false:

>>> ujson.dumps("<script>John&Doe", encode_html_chars=True)
'"\\u003cscript\\u003eJohn\\u0026Doe"'

ensure_ascii

Limits output to ASCII and escapes all extended characters above 127. Default is true. If your end format supports UTF-8 setting this option to false is highly recommended to save space:

>>> ujson.dumps(u"\xe5\xe4\xf6")
'"\\u00e5\\u00e4\\u00f6"'
>>> ujson.dumps(u"\xe5\xe4\xf6", ensure_ascii=False)
'"\xc3\xa5\xc3\xa4\xc3\xb6"'

double_precision

Controls how many decimals to encode for double or decimal values. Default is 9:

>>> ujson.dumps(math.pi)
'3.1415926536'
>>> ujson.dumps(math.pi, double_precision=1)
'3.1'
>>> ujson.dumps(math.pi, double_precision=0)
'3'
>>> ujson.dumps(math.pi, double_precision=4)
'3.1416'

escape_forward_slashes

Controls whether forward slashes (/) are escaped. Default is True:

>>> ujson.dumps("http://esn.me")
'"http:\/\/esn.me"'
>>> ujson.dumps("http://esn.me", escape_forward_slashes=False)
'"http://esn.me"'

indent

Controls whether indention ("pretty output") is enabled. Default is 0 (disabled):

>>> ujson.dumps({"foo": "bar"})
'{"foo":"bar"}'
>>> ujson.dumps({"foo": "bar"}, indent=4)
{
    "foo":"bar"
}

Decoders options

precise_float

Set to enable usage of higher precision (strtod) function when decoding string to double values. Default is to use fast but less precise builtin functionality:

>>> ujson.loads("4.56")
4.5600000000000005
>>> ujson.loads("4.56", precise_float=True)
4.5599999999999996

Test machine:

Linux 3.13.0-66-generic x86_64 #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015

Versions:

  • CPython 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]
  • blist : 1.3.6
  • simplejson: 3.8.1
  • ujson : 1.34 (0c52200eb4e2d97e548a765d5f089858c41967b0)
  • yajl : 0.3.5
  ujson yajl simplejson json
Array with 256 doubles        
encode 3508.19 5742.00 3232.38 3309.09
encode | 3508.19 | 5742.00 | 3232.38 | 3309.09 |

Size

66.4 KB

Downloads

83

Tags

bdist/wheel whl linux_armv7l cp36 cp36m latest

Status  Completed
Checksum (MD5) 47e9374ad2039fd2ff871f5d008416e0
Checksum (SHA-1) 9a8e72747f40e7d0388acb95bf94cbd234529b0c
Checksum (SHA-256) 4cf3bf4a89a3aefd6d743ca73e2b7eaa0a92acb3a93fd0cea35b89a694a2cc18
Checksum (SHA-512) f27e5c1ffdfb92169a5494d9f2827ede1b5988dedcdf1c1b996a814e540b9585b2…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 5 years, 5 months ago
Uploaded By quan
Slug Id ujson-135-cp36-cp36m-linux_armv7lwhl
Unique Id L0OYQRMufp2A
Version (Raw) 1.35
Version (Parsed)
  • Major: 1
  • Minor: 35
  • Type: SemVer (Compat)
  extended metadata
Abi cp36m
Author Jonas Tarnstrom <jonas.tarnstrom@esn.me>
Classifiers Development Status :: 5 - Production/Stable | Intended Audience :: Developers | License :: OSI Approved :: BSD License | Programming Language :: C | Programming Language :: Python :: 2.4 | Programming Language :: Python :: 2.5 | Programming Language :: Python :: 2.6 | Programming Language :: Python :: 2.7 | Programming Language :: Python :: 3 | Programming Language :: Python :: 3.2
Download URL http://github.com/esnme/ultrajson
Homepage URL http://www.esn.me
Metadata Version 2.1
Platforms any
Py Filetype bdist_wheel
Py Version cp36
pkg ujson-1.35-cp36-cp36m-linux_arm… 83
66.4 KB
md5 sha1 sha256 sha512
Package Contents (ujson-1.35-cp36-cp36m-linux_armv7l.whl)
Loading...

This package has 7 files/directories.

Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!

With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.

If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!

Last scanned

8 hours ago

Scan result

Vulnerable

Vulnerability count

1

Max. severity

Low
Target:
LOW

CVE-6808-68773: library: vulnerability title



Package Name: package_name
Installed Version: 1.5.11
Fixed Version: 2.7.68

References: www.hawkins.com www.carter.biz www.jackson.com

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'ujson' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/)
|This version of 'ujson' @ Cloudsmith|
.. |This version of 'ujson' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/",title="This version of 'ujson' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/1.35/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true" alt="This version of 'ujson' @ Cloudsmith" /></a>

rendered as: This version of 'ujson' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'ujson' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/)
|Latest version of 'ujson' @ Cloudsmith|
.. |Latest version of 'ujson' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true&show_latest=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/",title="Latest version of 'ujson' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/ujson/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=ujson;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'ujson' @ Cloudsmith" /></a>

rendered as: Latest version of 'ujson' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use ujson @ version 1.35 ...

pip install 'ujson==1.35'

You can also install the latest version of this package:

pip install --upgrade 'ujson'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
  ujson==1.35

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
ujson==1.35

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
ujson==1.35
Warning: We highly recommend using pip (or similar) rather than installing directly.
Previous Version
Next Version
Top