NeuroCrypt Nexus
A foundational project demonstrating a professional setup for a Rust core with Python bindings, managed with uv and maturin. This repository serves as a production-ready template for building high-performance, safe, and ergonomic Rust/Python applications.
This project is dual-licensed under the MIT and Apache-2.0 licenses.
Features
- Rust Workspace: A scalable multi-crate setup (
common,neurocrypt_core,bindings). - Python Bindings: Efficient Rust-to-Python bindings powered by
PyO3andmaturin. - Modern Python Tooling: Python environment and package management handled by the high-speed
uvtool. - Automated Quality Checks: Code formatting and linting enforced by
ruff. - Automated Testing: Unit and integration tests run with
pytest. - Continuous Integration: A GitHub Actions workflow automatically builds, lints, and tests every pull request and push to
main. - Clear Contribution Guidelines: Includes a
CONTRIBUTING.md,CODE_OF_CONDUCT.md, and a Pull Request template.
Quickstart: Build and Test
This guide will help you build the project and run the automated tests to verify your setup. For Python-specific commands, see the python/README.md.
Prerequisites
Before you begin, ensure you have the following tools installed:
- Rust Toolchain (
rustup): Official Installation Guide uvPython Installer: Official Installation Guide
Build Steps
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/NeuroCrypt-Nexus.git cd neurocrypt_nexus
-
Navigate to the Python directory:
cd python
-
Create a virtual environment:
uvwill create and manage a local.venvfor you.uv venv -
Install the project and development dependencies: This command uses
maturinto compile the Rust workspace and installs the Python package in "editable" mode.uv pip install -e .[dev]
-
Run the automated tests: After a successful installation, run the entire test suite.
uv run pytest
You should see an output indicating that all tests passed.
Project Structure
The project is a monorepo containing both the Rust and Python code.
neurocrypt_nexus/
├── .github/ # GitHub-specific files (CI workflows, PR templates)
├── crates/ # The Rust workspace root
│ ├── common/ # Shared Rust types and utilities
│ ├── neurocrypt_core/ # Core Rust logic and functionality
│ └── bindings/ # The PyO3 crate that bridges Rust and Python
├── python/ # The Python package root
│ ├── neurocrypt_nexus/ # Python source code for the package
│ ├── tests/ # Python tests
│ └── README.md # Python-specific development guide
├── .gitignore # Project-wide ignore file
├── CONTRIBUTING.md # Guide for contributing to the project
├── LICENSE-APACHE # Apache 2.0 License
├── LICENSE-MIT # MIT License
└── README.md # This file```
Contributing
Contributions are welcome! Please read the CONTRIBUTING.md file for details on our code of conduct and the process for submitting pull requests.
Metadata
Release files for neurocrypt-nexus 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neurocrypt_nexus-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details for neurocrypt_nexus-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl |
Release files / neurocrypt_nexus-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | neurocrypt_nexus-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 225.5 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
83108ce6ac8df2f810b5cf18c59efffc9c50618026d4405c727669db3cf0cb2e
|
|
BLAKE2b-256 checksum How to use checksums |
e7b8c33d76673e8faed463d684a42f1fce608242a022c761218901e90986417f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.13
|
Security for neurocrypt-nexus 0.1.3
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.