Skip to main content

Overview

Make digging around in nests of python dicts and lists less tedious.

Optimizations

  • Intern node names so the strings aren't duplicated. This saves a huge amount of memory, especially for things like openshift resources.
  • Desugar/compile queries into regular python functions, special casing where possible.
  • Generate regular python functions from Boolean ASTs passed to queries. The "compilation" takes microseconds.
  • Query the entire flattened tree at once in "find" since it's equivalent to querying individual nodes and accumulating.
  • Simplify the where API so we don't need a separate WhereBoolean hierarchy.
  • Use tuples instead of lists for values and children. Tuples are slightly smaller.
  • Branch "value" defaults to an empty tuple. Since it's a default keyword value, all instances share the same one.
  • Use slots.

Metadata

Release files for qdsl 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qdsl 0.2.4
File Size Uploaded
qdsl-0.2.4.linux-x86_64.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qdsl 0.2.4
File Interpreter ABI Platform
qdsl-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 34.1 kB

Release files / qdsl-0.2.4.linux-x86_64.tar.gz

Download URL qdsl-0.2.4.linux-x86_64.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
760a6364704c3a3a452ef632299b09db4e4d18dc0758c49bc4305b06155c69d4
BLAKE2b-256 checksum
How to use checksums
52a3c6832fc342a6824db989110035364fe16078eccf7a9a67e5f3f044d883a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release files / qdsl-0.2.4-py3-none-any.whl

Download URL qdsl-0.2.4-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f2d1962bf577654bdd869f76e19bbc90f182f2bcaf2d781e4dc234dbc39cdd3
BLAKE2b-256 checksum
How to use checksums
bea93aab9bc83845577c43fd215d3e7d4fc33d964bd594e3e92ccdec77858d64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page