Skip to main content

Getting started

This module must be used with LogicLayer. An instance of OlapServer from the tesseract_olap package is also required to retrieve the data.

# app.py

from logiclayer import LogicLayer
from logiclayer_complexity import EconomicComplexityModule
from tesseract_olap import OlapServer
from tesseract_olap.logiclayer import TesseractModule

layer = LogicLayer()
olap = OlapServer(backend="clickhouse://...", schema="./schema/")

cmplx = EconomicComplexityModule(olap)
layer.add_module("/complexity", cmplx)

# You can reuse the `olap` object with an instace of `TesseractModule`
tsrc = TesseractModule(olap)
layer.add_module("/tesseract", tsrc)

Is not officially supported, but you can also use the module directly with a FastAPI instance:

cmplx = EconomicComplexityModule(olap)

app = FastAPI()
app.include_router(cmplx.router, prefix="/complexity")

© 2022 Datawheel, LLC.
This project is licensed under MIT.

Metadata

Release files for logiclayer-complexity 0.8.0

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

Source distribution (sdist)

Source distribution for logiclayer-complexity 0.8.0
File Size Uploaded Provenance
logiclayer_complexity-0.8.0.tar.gz 22.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for logiclayer-complexity 0.8.0
File Interpreter ABI Platform
logiclayer_complexity-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 55.3 kB

Release files / logiclayer_complexity-0.8.0.tar.gz

Download URL logiclayer_complexity-0.8.0.tar.gz
Size 22.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8da7ef5d7e54d1a446601c4d1fe68655386711f187c4c188334c90a940bd33cb
BLAKE2b-256 checksum
How to use checksums
0732e94a7b722e59e7cb82fb07f7aa9f1e49813cc6773a44f1c5d1878352fb86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Darwin/24.6.0

Release files / logiclayer_complexity-0.8.0-py3-none-any.whl

Download URL logiclayer_complexity-0.8.0-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77ae9c4ff97821c8e511efd3c70f58168edd4411e00e29a181dacd83667c3814
BLAKE2b-256 checksum
How to use checksums
8d0a0f77672ccfd7ef8c906af4f62648892445f9051b6929b6b543f552ab259b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.2 CPython/3.13.12 Darwin/24.6.0

Security for logiclayer-complexity 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files No provenance

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