Skip to main content

pymbpost

Fetch metadata from MB-POST

Installation

The package is not published on PyPI; install it with uv from the Git repository.

Add it as a dependency of an existing project:

uv add git+https://github.com/kozo2/pymbpost.git

Install it into the currently active virtual environment:

uv pip install git+https://github.com/kozo2/pymbpost.git

Install a specific revision/tag:

uv add "git+https://github.com/kozo2/pymbpost.git@main"

For development, clone the repo and sync the dev environment:

git clone https://github.com/kozo2/pymbpost.git
cd pymbpost
uv sync --extra dev

Generate mbpost_profiles.csv

Start a uv Python REPL — either in a project that depends on pymbpost (after uv add or uv sync):

uv run python

or ad hoc, without adding it to a project (uv builds a temporary environment):

uv run --with git+https://github.com/kozo2/pymbpost.git python

Then, at the >>> prompt, export the Profile metadata of every raw file in every public project to mbpost_profiles.csv:

>>> from pymbpost import MbPostPublicClient
>>> with MbPostPublicClient(timeout=60) as client:
...     path = client.export_profile_metadata_csv("mbpost_profiles.csv")
...     print(path.resolve())
...

A full run writes 18,518 rows (one per raw file) and 51 columns (mbpost_id, location, file_name, file_type, file_size, file_size_bytes, md5_checksum, then per preset category <category>.id and <category>.<field>) in about 6.5 minutes.

To restrict the scan to selected projects, pass projects:

>>> with MbPostPublicClient(timeout=60) as client:
...     client.export_profile_metadata_csv("mpst218.csv", projects=["MPST000218"])
...

Full API reference: docs/usage.md.

Metadata

Release files for pymbpost 0.1.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 pymbpost 0.1.0
File Size Uploaded Provenance
pymbpost-0.1.0.tar.gz 34.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 47.8 kB

Release files / pymbpost-0.1.0.tar.gz

Download URL pymbpost-0.1.0.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c61887cb6b14fc491676c695a902febb776b93558ac4b54819ed9292d7c8399e
BLAKE2b-256 checksum
How to use checksums
77a8d2304567f8052ee0af358450dd1e8bf0d7e3e58b288524599cd987e68bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pymbpost-0.1.0-py3-none-any.whl

Download URL pymbpost-0.1.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2003d590b36dd2476f5c3cb0a7eca3b727e5b7c1f2ae2bbe70976c0739a7b0e9
BLAKE2b-256 checksum
How to use checksums
e8b7112cfd04cebbe92df195dacc440496a10e3308859bb66ae9c77154c63e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pymbpost 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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