Skip to main content

NeuPI: A Library for Neural Probabilistic Inference

DOI Build Status

NeuPI is a PyTorch-based library for solving inference tasks in Probabilistic Models (PMs) using neural network solvers. It provides a modular framework for training neural models in a self-supervised fashion, where the Probabilistic Model itself provides the supervisory signal.

This approach eliminates the need for labeled training data, enabling neural networks to learn to solve tasks like Most Probable Explanation (MPE), Constrained MPE, and Marginal MAP by directly optimizing for the log-likelihood of their proposed solutions.

Documentation

Documentation is available at https://neupi.readthedocs.io/en/latest/.

GitHub repository: https://github.com/Shivvrat/NeuPI.

Installation

First, ensure you have PyTorch installed (with a GPU version if you want to use it).

Using PyPI

pip install neupi

Wheels are available for Linux (x86_64), macOS (Apple silicon) and Windows (x86_64) on Python 3.9+. On other platforms pip builds NeuPI from the source distribution, which needs a C++ compiler (OpenMP is used if available; set NEUPI_OPENMP=0 to build without it).

From Source

Then, clone the repository and install the library and its dependencies.

# Clone the repository
git clone https://github.com/Shivvrat/NeuPI
cd NeuPI

# Install the library in editable mode
pip install -e .

Key Features

  • Self-Supervised Training: Train neural solvers using only the Probabilistic Model—no labeled data required.
  • Advanced Inference: Includes the ITSELF (Inference Time Self-Supervised Training) engine for test-time refinement, significantly improving inference accuracy.
  • Discretization: Includes a simple ThresholdDiscretizer and more advanced methods like KNearestDiscretizer and OAUAI to find higher-scoring final assignments. BestOfDiscretizer combines several of them and keeps the best assignment per query (e.g. OAUAI | k-Nearest).
  • Probabilistic models: All variables must be binary.
    • ProbabilisticGraphicalModel: Markov networks and Bayesian networks in UAI format, with factors of any size and with or without unary factors. The network type is read from the file's MARKOV or BAYES header, so there is nothing to specify (pgm.network_type reports it). MarkovNetwork is the earlier name of the same class and still works.
    • SumProductNetwork: sum-product networks (probabilistic circuits) from DeeProb-kit JSON, trees or DAGs.
    • MADE: masked autoregressive networks. Like the other models, calling it returns the log-likelihood of each assignment; get_logits(x) returns the network's per-variable logits.
  • Marginal MAP (MMAP): Supported for probabilistic circuits (SumProductNetwork) only. Mark the variables to sum out in unobs_mask; the trainer, ITSELF and the discretizers marginalize them out (internally they are passed to the circuit as NaN). Other models raise a ValueError when unobs_mask is non-empty. The returned assignments are not meaningful at unobserved positions.
  • Time limits: SinglePassInferenceEngine and ITSELF_Engine take a time_limit in seconds per batch of queries (use a batch size of 1 for a per-query limit) covering the forward pass, the ITSELF refinement and the discretizer, plus optional per-stage limits (refinement_time_limit, discretizer_time_limit), each given in seconds or as a percentage of time_limit (e.g. "30%"). ITSELF keeps time back for a search discretizer so refinement cannot use it all: the discretizer_time_limit if given, otherwise discretizer_time_fraction of the budget (default 10%, also accepted as "10%"). KNearestDiscretizer, OAUAI and BestOfDiscretizer also take their own time_limit. When a budget runs out, the current best incumbent is returned (at worst the thresholded assignment), and run reports elapsed_seconds and time_limit_reached per batch.
  • Queries, evaluation and saving: make_query_masks and QueryDataset build queries; exact_inference, score_assignments and compare_assignments check and compare solutions; save_solver and load_solver store trained solvers. See the example below.
  • Training progress: SelfSupervisedTrainer.fit prints the losses per epoch (verbose=False to silence it), keeps them in trainer.history, and calls an optional callback after each epoch that can stop training.
  • Extensible: Easily register your own custom components using the built-in factory system.

Quick Start

The core idea of NeuPI is to train a neural network to act as a fast approximator for a complex PM query. The workflow is as follows:

  1. Load a Probabilistic Model (PM): The first step is to load your probabilistic model (e.g., a Markov or Bayesian network from a .uai file) using an evaluator class like ProbabilisticGraphicalModel. This object serves as the scoring function (log-likelihood); its primary role is to take a complete assignment of variables and compute its log-likelihood, which is the score we want to maximize. To train the neural network, we will use the negative log-likelihood of the PM as the loss function.

  2. Define a Neural Solver: Next, define a neural network architecture, such as the provided MLP, to act as the solver. This network will be trained to take an inference query (evidence variables, query variables, and evidence values) as input and produce a high-quality solution. You will also define a preprocessor, like DiscreteEmbedder, which transforms the raw query into a feature-rich tensor suitable for the neural network.

  3. Train the Solver: With the PM evaluator and neural solver defined, use the SelfSupervisedTrainer. The trainer orchestrates the learning process. In each step, it asks the neural network for a solution, passes that solution to the PM evaluator to get a score, and uses this score (specifically, the negative of the log-likelihood) as the loss signal to update the network's weights via backpropagation.

  4. Perform Inference: Once the model is trained, use an inference engine to solve new queries. The SinglePassInferenceEngine provides a fast solution by performing one forward pass. For higher accuracy, the ITSELF_Engine can be used to perform test-time fine-tuning on each new query, leveraging the PM evaluator to refine the solution.

  5. Discretize the Output: The neural network outputs continuous probabilities. The final step is to convert these into a discrete binary (0/1) assignment using a Discretizer. You can use a simple ThresholdDiscretizer for speed or more advanced methods like KNearestDiscretizer and OAUAI to find higher-scoring final assignments.

End-to-end example

import torch
from torch.utils.data import DataLoader
import neupi

pgm = neupi.ProbabilisticGraphicalModel("examples/networks/mn/Grids_17.uai")
num_vars = pgm.num_variables

# Queries: evidence values from samples (here random), 40% of the variables are query variables
samples = torch.randint(0, 2, (1000, num_vars))
train = neupi.QueryDataset.from_split(samples[:900], query_ratio=0.4, seed=0)
test = neupi.QueryDataset.from_split(samples[900:], query_vars=train.query_mask[0].nonzero().flatten())

# Train a solver
model = neupi.MLP([128, 64], num_vars, neupi.DiscreteEmbedder(num_vars))
optimizer = torch.optim.Adam(model.parameters(), lr=1e-3)
trainer = neupi.SelfSupervisedTrainer(model, pgm, neupi.mpe_log_likelihood_loss, optimizer)
trainer.fit(DataLoader(train, batch_size=64, shuffle=True), num_epochs=5)

# Save it, load it, and answer the test queries
neupi.save_solver("solver.pt", model, metadata={"model": "Grids_17.uai", "query_ratio": 0.4})
model = neupi.load_solver("solver.pt")
engine = neupi.SinglePassInferenceEngine(model, neupi.KNearestDiscretizer(pgm, k=10))
solution = engine.run(DataLoader(test, batch_size=100))["final_assignments"]

# Compare with thresholding (gaps are relative to the reference method)
threshold = neupi.SinglePassInferenceEngine(model, neupi.ThresholdDiscretizer()).run(test[:])
results = neupi.compare_assignments(
    pgm, {"k-nearest": solution, "threshold": threshold["final_assignments"]}, reference="k-nearest"
)
for name, r in results.items():
    print(f"{name}: mean log-likelihood {r['mean_log_likelihood']:.2f}, mean gap {r['mean_gap']:.2f}")

exact_inference(pgm, evidence_data, evidence_mask, query_mask) solves queries exactly by enumeration (2^(query variables) evaluations each), which is useful to check solvers on small queries.

Examples

Examples provided in the examples directory demonstrate:

Example 1: Computing the negative log-likelihood (loss) of a solution to a MPE query on a Markov Network (Probabilistic Graphical Models) and Sum-Product Network (Probabilistic Circuits).

Example 2: Training a neural solver to solve MPE queries on a Markov Network and Sum-Product Network.

Example 3: Performing inference with a trained neural solver on a Markov Network and Sum-Product Network.

Example 4: Discretizing the probabilities to binary assignments. Advanced discretizers include KNearestDiscretizer and OAUAI.

Implemented Methods

The core components of NeuPI are directly linked to our published research. The following table maps the key classes in the library to the papers that introduce the primary concepts.

Type Method / Component Primary Reference(s) Description
Trainer SelfSupervisedTrainer Arya et al., AAAI 2024, Arya et al., NeurIPS 2024, Arya et al., AISTATS 2025 (SINE) The core training loop for learning a neural solver by minimizing the negative log-likelihood provided by a PGM/PC evaluator (e.g., ProbabilisticGraphicalModel, SumProductNetwork).
Loss ProbabilisticGraphicalModel and SumProductNetwork Arya et al., AAAI 2024, Arya et al., NeurIPS 2024, Arya et al., AISTATS 2025 (SINE) This compute the negative log likelihood scores for the given Probabilistic Model which is used as the loss function to train the neural network.
Embedding DiscreteEmbedder Arya et al., AAAI 2024, Arya et al., NeurIPS 2024 A feature engineering module that creates (discrete) input representations from variable assignments and bucket information (evidence, query, unobserved).
Inference SinglePassInferenceEngine Arya et al., AAAI 2024, Arya et al., AISTATS 2025 (SINE) A standard inference pipeline involving a single forward pass of the neural network to produce an MPE/MMAP solution.
Inference ITSELF_Engine Arya et al., NeurIPS 2024 Implements Inference Time Self-Supervised Learning Fine-tuning, our advanced inference engine that optimizes the model for each specific test instance to refine solution quality.
Discretizer ThresholdDiscretizer Arya et al., AAAI 2024, Arya et al., NeurIPS 2024 A simple discretization method that uses a threshold to discretize the probabilities.
Discretizer KNearestDiscretizer Arya et al., AISTATS 2025 (SINE) A sophisticated discretization method that performs beam search over the k-nearest binary vectors to find a high-quality discrete assignment.
Discretizer OAUAI Arya et al., AISTATS 2025 (SINE) A heuristic discretizer that uses an oracle to answer the query over the variables with the highest uncertainty (probabilities closest to 0.5).

Running Tests

To ensure all components are working correctly, run the test suite using pytest:

pytest

See CONTRIBUTING.md for the development setup, linting and type checks, and CHANGELOG.md for the changes in each release. Please report bugs, including models NeuPI fails on, even if you found a workaround.

📖 Citation

If you use NeuPI in your research, please cite the following repository:

@article{arya2025neupi,
  title={NeuPI: A Library for Neural Probabilistic Inference},
  author={Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav},
  link={https://github.com/Shivvrat/NeuPI},
  year={2025}
}
@misc{aryaNeuPILibraryNeural2025,
	title = {{NeuPI}: {A} library for neural probabilistic inference},
	copyright = {MIT License},
	shorttitle = {{NeuPI}},
	url = {https://zenodo.org/doi/10.5281/zenodo.15873631},
	abstract = {NeuPI is a PyTorch-based library for solving inference tasks in Probabilistic Models using neural network solvers. It provides a modular framework for training neural models in a self-supervised fashion, where the Probabilistic Model itself provides the supervisory signal.},
	publisher = {Zenodo},
	author = {Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav},
	doi = {10.5281/ZENODO.15873631},
}

In addition, cite the relevant papers that introduce the core methods implemented in NeuPI:

  • Single-Pass Inference and Marginal MAP inference in probabilistic circuits:
@article{aryaNeuralNetworkApproximators2024,
  title = {Neural {{Network Approximators}} for {{Marginal MAP}} in {{Probabilistic Circuits}}},
  author = {Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav},
  year = {2024},
  month = mar,
  journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
  volume = {38},
  number = {10},
  pages = {10918--10926},
  issn = {2374-3468},
  doi = {10.1609/aaai.v38i10.28966},
  urldate = {2024-03-27},
  copyright = {Copyright (c) 2024 Association for the Advancement of Artificial Intelligence},
  langid = {english},
}
  • Single-Pass Inference and neural embedding techniques for Constrained MPE:
@inproceedings{aryaLearningSolveConstrained2024,
  title = {Learning to {{Solve}} the {{Constrained Most Probable Explanation Task}} in {{Probabilistic Graphical Models}}},
  booktitle = {Proceedings of {{The}} 27th {{International Conference}} on {{Artificial Intelligence}} and {{Statistics}}},
  author = {Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav},
  year = {2024},
  month = apr,
  pages = {2791--2799},
  publisher = {PMLR},
  issn = {2640-3498},
  urldate = {2024-04-21},
  langid = {english},
}
  • ITSELF engine, GUIDE engine and the general framework for MPE inference over Probabilistic Models:
@inproceedings{aryaNeuralNetworkApproach2024,
  title = {A Neural Network Approach for Efficiently Answering Most Probable Explanation Queries in Probabilistic Models},
  booktitle = {The {{Thirty-eighth Annual Conference}} on {{Neural Information Processing Systems}}},
  author = {Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav Giridhar},
  year = {2024},
  month = nov,
  urldate = {2024-11-17},
  langid = {english},
}
  • Single-Pass Inference and better embedding and discretization techniques for inference over probabilistic graphical models:
@inproceedings{aryaSINEScalableMPE2025,
  title = {{{SINE}}: {{Scalable MPE}} Inference for Probabilistic Graphical Models Using Advanced Neural Embeddings},
  shorttitle = {{{SINE}}},
  booktitle = {The 28th {{International Conference}} on {{Artificial Intelligence}} and {{Statistics}}},
  author = {Arya, Shivvrat and Rahman, Tahrima and Gogate, Vibhav Giridhar},
  year = {2025},
  month = feb,
  urldate = {2025-06-22},
  langid = {english},
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

Disclaimer

This code was written for research purposes and therefore might not strictly adhere to established coding practices and guidelines. View and use at your own risk!

Acknowledgments

This work was supported in part by the DARPA Perceptually-Enabled Task Guidance (PTG) Program under contract number HR00112220005, by the DARPA Assured Neuro Symbolic Learning and Reasoning (ANSR) Program under contract number HR001122S0039, by the National Science Foundation grant IIS-1652835 and by the AFOSR award FA9550-23-1-0239.

Metadata

Release files for neupi 1.4.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 neupi 1.4.0
File Size Uploaded Provenance Actions
neupi-1.4.0.tar.gz 429.7 kB With provenance Details for neupi-1.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for neupi 1.4.0
File Actions
neupi-1.4.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for neupi-1.4.0-cp313-cp313-win_amd64.whl
neupi-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for neupi-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
neupi-1.4.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for neupi-1.4.0-cp313-cp313-macosx_11_0_arm64.whl
neupi-1.4.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for neupi-1.4.0-cp312-cp312-win_amd64.whl
neupi-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for neupi-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
neupi-1.4.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for neupi-1.4.0-cp312-cp312-macosx_11_0_arm64.whl
neupi-1.4.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for neupi-1.4.0-cp311-cp311-win_amd64.whl
neupi-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for neupi-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
neupi-1.4.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for neupi-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
neupi-1.4.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for neupi-1.4.0-cp310-cp310-win_amd64.whl
neupi-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for neupi-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
neupi-1.4.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for neupi-1.4.0-cp310-cp310-macosx_11_0_arm64.whl
neupi-1.4.0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for neupi-1.4.0-cp39-cp39-win_amd64.whl
neupi-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for neupi-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
neupi-1.4.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for neupi-1.4.0-cp39-cp39-macosx_11_0_arm64.whl

Total release size: 16.8 MB

Release files / neupi-1.4.0.tar.gz

Download URL neupi-1.4.0.tar.gz
Size 429.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4c9476875d57dc100ac13dd897973a0e21719961a0d121ce7d3afb84e7e09eb
BLAKE2b-256 checksum
How to use checksums
b63251381a31cbff3fb51de9eddea578c6ea42c8ac14a0361e86d4adfe36d282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp313-cp313-win_amd64.whl

Download URL neupi-1.4.0-cp313-cp313-win_amd64.whl
Size 622.2 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
19fe89e456d75d82dc0d1e90916ff64be512ca45028b2a37a38a6978d0fc61d4
BLAKE2b-256 checksum
How to use checksums
c0e1b2799b7423fddfc83d2d09651e8b4c6a2bdfedde4e48c23cbdeba389f650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neupi-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c67ecbf59d8845d9b16a8a7f7a10cbbbe54bf3a79913a4ee4bc787527ee5991f
BLAKE2b-256 checksum
How to use checksums
3e96719fbd9cd10bcdbc4dcc45c796e2b7cd5a58bb3fd257646ae2e3abc3bada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL neupi-1.4.0-cp313-cp313-macosx_11_0_arm64.whl
Size 651.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ad880aa76e27802da4eca1dcd70453e8989b6486c025e8c262d0ec09f8720c86
BLAKE2b-256 checksum
How to use checksums
e4066c9992d3a925f343095533f545341102e36600b30bcefca88d1403cb989c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp312-cp312-win_amd64.whl

Download URL neupi-1.4.0-cp312-cp312-win_amd64.whl
Size 622.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c75f2852fc569b1537beea53d303d57a2c6f2e08c0526c375098a879282fc806
BLAKE2b-256 checksum
How to use checksums
ae731b82456278f7683c14866b192356c169701e38c3ad18aeae581617ff5fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neupi-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d256bd88a6dc1b8bcf707c3c479f526d5566a21d9696bd0f51dd8cae235bd274
BLAKE2b-256 checksum
How to use checksums
04ea179c3f50b5e10289b5ca96a7159d5a635fee6eed0afb7a0d7fcba6247e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL neupi-1.4.0-cp312-cp312-macosx_11_0_arm64.whl
Size 651.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
73f6a032c2fdf3e9c8120452c1810943191865da3b53429cfd3f1a8b3ab99594
BLAKE2b-256 checksum
How to use checksums
3ce4cfd905728cf3735ffb0e24f2f4da9120f23b7dca519b071393f937c349ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp311-cp311-win_amd64.whl

Download URL neupi-1.4.0-cp311-cp311-win_amd64.whl
Size 626.4 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
1346b8076d82f01fabd9ee576f6e80994cdefe06d2ec79dbd87fe6508bb2b455
BLAKE2b-256 checksum
How to use checksums
ae981b0b0437e5cb7d3b2072dbb7b1be06501d71228b86194300560e2302d121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neupi-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
88eb87cb9c632584e08555252936cfd43d2272e294d09c4ba12e2196356302b1
BLAKE2b-256 checksum
How to use checksums
2836914f91b4ba0aa55258c01fd6c1aa98757aa9a01cba44682ffa71a333962b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL neupi-1.4.0-cp311-cp311-macosx_11_0_arm64.whl
Size 649.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2909ecd71c249706a5c3f95750826331ab7fbf97934f6e0256807ac7f19d57db
BLAKE2b-256 checksum
How to use checksums
1b4e8a5540d25140d36b126244f9d2b24b2ca228d89beef1fa331759f4ae6ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp310-cp310-win_amd64.whl

Download URL neupi-1.4.0-cp310-cp310-win_amd64.whl
Size 626.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
65fb30d6783bd085525a390f6201b7652c8f0e6e4450e2283b148d545421e9dc
BLAKE2b-256 checksum
How to use checksums
3a8b7c0e2528fd36b0f4ec06cf116662bd86892e0125ef0c27a2abe22eefb9ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neupi-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
add378520a0ad7a1c32028d8e0aa5d887976efc9060ee9f77c78c16392e9f2b9
BLAKE2b-256 checksum
How to use checksums
beac42c8aae4905448d6552beea46e9d0a6038966e2aa0e6d0b230afa6c5b58a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL neupi-1.4.0-cp310-cp310-macosx_11_0_arm64.whl
Size 651.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1b8f42327f507154778a3385c83b327b070d20c64967fc62ffaedc53e873688f
BLAKE2b-256 checksum
How to use checksums
87fd7dc9b11215d068acecbd78a360c125667d04ea201e9a3c7ce644bdb22984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp39-cp39-win_amd64.whl

Download URL neupi-1.4.0-cp39-cp39-win_amd64.whl
Size 627.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
9538760368091e84dc29353a1114dababb40763acf223218da890fcdcef2a8ba
BLAKE2b-256 checksum
How to use checksums
a6bc0c6dceec6febb3ee1196d54176a83a925bf0976e3992ddd9bf6c2a446312
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL neupi-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
aca503c1cd192b655472598f83e10ebb314651ba425f1c3787084cb27ccc1077
BLAKE2b-256 checksum
How to use checksums
4c0bb78f4825fa7c8dbe1c1b39025bf6dbdd02d7544be5e1bbac3e86f384ada1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / neupi-1.4.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL neupi-1.4.0-cp39-cp39-macosx_11_0_arm64.whl
Size 652.2 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0a0eb647abf1184f568474f938354957a433e2d1b741c5848b5950bf77e64802
BLAKE2b-256 checksum
How to use checksums
91c4e607b6f7de900827bba6e0b4a0e6fe2cef6a88683e01a7ff3a05d9570813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for neupi 1.4.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.

Full provenance

All 16 files in this release have been uploaded with provenance metadata.

Select from 16 files

Attestation for neupi-1.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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.

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