MMF-meta
Эта библиотека - часть проекта Model Management Framework.
Отвечает за оформление пользовательских функций
Пример использования
import mmf_meta.formats
import pickle
import time
import pandas
import mmf_meta as mmf
@mmf.target(
description="Супер-функция",
returns=mmf.DataFrame(out_format=mmf_meta.formats.DataFrameFormat.CSV),
)
def score(
df: pandas.DataFrame = mmf.DataFrame(description="Описание df"),
# other: dict = mmf.JsonFile(description="Описание other"),
):
return df
@mmf.target(
description="Другая супер-функция",
returns=mmf.String(),
)
def other(
inp=mmf.String(description="важный параметр"),
another=mmf.Integer(description="еще один важный параметр"),
):
time.sleep(30)
return inp
mmf.artifact("some_file")
@mmf.artifact("other")
def model():
with open("other", "br") as f:
return pickle.load(f)
Metadata
Release files for mmf-meta 0.1.13
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 |
|---|---|---|---|---|
| mmf-meta-0.1.13.tar.gz | 9.2 kB | Without provenance | Details for mmf-meta-0.1.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mmf_meta-0.1.13-py3-none-any.whl | Python 3 | none | any | Details for mmf_meta-0.1.13-py3-none-any.whl |
Total release size: 19.9 kB
Release files / mmf-meta-0.1.13.tar.gz
| Download URL | mmf-meta-0.1.13.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f17233815eb0ee3c2e5b2115d898c647c4232ceff7e265c606198e9024f3da28
|
|
BLAKE2b-256 checksum How to use checksums |
00085ec5d48471b1d61882ad5224401814c4fea458cc718187e1014f02d32e57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
|
Release files / mmf_meta-0.1.13-py3-none-any.whl
| Download URL | mmf_meta-0.1.13-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f9ea749c7fce79f39e1ba564427d8acb503518d37a9abdc7468ba2309f7bc41
|
|
BLAKE2b-256 checksum How to use checksums |
b8cfb8fbe38d87aee69f3758ca3cfcb00821c12aa040dbaf1ba378e253f7a08d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Linux/5.11.0-1028-azure
|
Security for mmf-meta 0.1.13
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.