Nexus Engine
The Python client for Nexus Engine — a Rust-based calculation engine for financial data processing.
This package provides a fluent, chainable DSL for building data transformation and calculation pipelines. Define columns from SQL data sources, apply filters, joins, groupings, conditional logic, and hierarchical breakdowns — then send the pipeline to Nexus Engine for execution.
Note: Executing pipelines requires access to a running Nexus Engine instance and valid credentials. Contact your administrator or visit nexus-engine.io for access.
Installation
pip install nexus-engine[all]
nexusctl login
Quick Start
import nexus as nx
# Define source columns from a SQL data view
table = nx.TableBuilder([
nx.sql_column("Category", nx.DataType.String, "positions", "asset_category"),
nx.sql_column("Currency", nx.DataType.String, "positions", "local_currency"),
nx.sql_column("MarketValue", nx.DataType.Float, "positions", "market_value"),
])
# Build a transformation pipeline
pipeline = (
table
.filter(nx.col("MarketValue") > nx.lit(10000))
.group_by(
by=["Category"],
aggregations=[("MarketValue", "sum")]
)
)
# Execute against a Nexus Engine server
result = pipeline.execute(
params={"account_id": "ACC001", "date": "2025-01-31"})
print(result)
Type Support
The package includes full type stubs (.pyi) for IDE autocompletion and type checking with mypy or pyright.
Documentation
Full documentation and tutorials are available at nexus-engine.io.
License
Dual-licensed under MIT or Apache-2.0.
Metadata
Release files for nexus-engine 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| nexus_engine-0.9.0-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for nexus_engine-0.9.0-cp311-abi3-win_amd64.whl |
| nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ x86-64 | Details for nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ ARM64 | Details for nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| nexus_engine-0.9.0-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for nexus_engine-0.9.0-cp311-abi3-macosx_11_0_arm64.whl |
| nexus_engine-0.9.0-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details for nexus_engine-0.9.0-cp311-abi3-macosx_10_12_x86_64.whl |
Total release size: 21.4 MB
Release files / nexus_engine-0.9.0-cp311-abi3-win_amd64.whl
| Download URL | nexus_engine-0.9.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
fffead69caf543917a45798e291f50679d9633bcde7e56c53ceb7c239103ea49
|
|
BLAKE2b-256 checksum How to use checksums |
02de8dcc3f3d9599f4a83b67cb70931b69adb2c6db96074359819a4faec563f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
377348dac533b4142a9bd1067d905144ba17b88ed6b1b179308f5dda55f67b7a
|
|
BLAKE2b-256 checksum How to use checksums |
cb64fb21c9fb5f76dec1d3ee5dacbfa35b07ff72cad3ecb8d38950ed4d9eb6da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | nexus_engine-0.9.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
6e5704b40cba6d768ebd3971832f02b0e38e96e91bd0ad622a14d7c364cdc5a7
|
|
BLAKE2b-256 checksum How to use checksums |
248b2f29a17267039aaec279a3ffa7851c27d876bc2dd8a5418cbaddcbe80ae7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / nexus_engine-0.9.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | nexus_engine-0.9.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
873707dc7ff139d7cd6e6f51b5125176755acc37b7b069106509d3c89a3912af
|
|
BLAKE2b-256 checksum How to use checksums |
991406952ddf26d8009186cc456d63fbb66950176a636a04dd5e37da64089fb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Release files / nexus_engine-0.9.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | nexus_engine-0.9.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
595b2ef9a0d3fe723542017131efac4865a40c4c006a65c18ec85229e1b6fbe1
|
|
BLAKE2b-256 checksum How to use checksums |
35ef6270e555b92f3890a3dc73e046644fbbfec0e6c47aaed23fded91d96967a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.15.0
|
Security for nexus-engine 0.9.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.