sk-serve
Deployment of a Scikit-Learn pipeline with a single endpoint. Validation of input data is also supported with pydantic.
Usage
See the Examples section of the repository.
Installation
The package exists on PyPI (with a different name though) so you can install it directly to your environment by running the command
pip install simple-serve
Dependencies
- pydantic
- fastapi
- pandas
- scikit-learn
- loguru
Additional packages for development:
- pyright
- pre-commit
Development
If you want to contribute you fork the repository and clone it on your machine
git clone https://github.com/alexliap/sk_serve.git
And after you create you environment (either venv or conda) and activate it then run this command
pip install -e ".[dev]"
That way not only the required dependencies are installed but also the development ones.
Also this makes it so that when you import the code to test it, you can do it like any other module but containing the changes you made locally.
Before you decide to commit, run the following command to reformat code in order to be in the acceptable style.
pre-commit install
pre-commit run --all-files
Metadata
Release files for simple-serve 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_serve-1.2.0.tar.gz | 12.3 kB | With provenance | Details for simple_serve-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_serve-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for simple_serve-1.2.0-py3-none-any.whl |
Total release size: 19.1 kB
Release files / simple_serve-1.2.0.tar.gz
| Download URL | simple_serve-1.2.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0338249018d0f43d66b2882edf10f829b8f60d5bbcf76b64120c2f63b426d4f
|
|
BLAKE2b-256 checksum How to use checksums |
e8110e12316fc46dd44c6f3cd15cb02d11a2322db2b1c6015296eeb25c30c88a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 22, 2026.
Transparency logRelease files / simple_serve-1.2.0-py3-none-any.whl
| Download URL | simple_serve-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
131e629a5b22ce1059a740f9344aa945718f2a3d2d210218126a067c74a1b4c7
|
|
BLAKE2b-256 checksum How to use checksums |
703be4a73a8c43cf7bf2af5660d72c0ecd3ea7d46f1cd643fbb77104954b4134
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 22, 2026.
Transparency logSecurity for simple-serve 1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for simple_serve-1.2.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 Apr 22, 2026.
Transparency logA 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.