Skip to main content

Predipy

ML lib Python + Go.

Setup

  1. Go: cd go_backend && go mod tidy && go build -o main main.go
  2. Python: pip install -e .

Run Example

python examples/example_regression.py

Test

pytest tests/

Predipy

Predipy is a lightweight Python ML library with a Go backend for fast regression and KNN classification.
It supports linear regression and K-Nearest Neighbors (KNN) for regression & classification.


Features

  • Linear regression with normal equation + optional ridge regularization.
  • KNN classification with Euclidean distance.
  • Lightweight, fast, and works offline.
  • Go backend for computational efficiency.
  • Easy Python interface.

Installation

Install from PyPI:

pip install predipy

Metadata

Release files for predipy 0.2.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 predipy 0.2.0
File Size Uploaded Provenance Actions
predipy-0.2.0.tar.gz 8.4 kB Without provenance Details for predipy-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / predipy-0.2.0.tar.gz

Download URL predipy-0.2.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c97628d95805613e36abd06d2afe248cb954ab062bd973f0f84dae80be3de64c
BLAKE2b-256 checksum
How to use checksums
6b69475f1938bf3edd28ca941853c84749632cf3a29caea88f4a77a2c2932b04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Release files / predipy-0.2.0-py3-none-any.whl

Download URL predipy-0.2.0-py3-none-any.whl
Size 10.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ac1ffaf98c232f651a7d8656236487cac7a11574badd7c4d09ef1170233680e
BLAKE2b-256 checksum
How to use checksums
00b23f1951be08092cbd934962313631283c77b583b992dd07b9753beae25bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.12.12

Security for predipy 0.2.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.

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