FoobarStats
A lightweight library for parsing foobar2000 XML statistics into Pydantic models
Features
- Parsing
Foobar2000XML statistics files - Using
Pydantic - Simple and intuitive API
- Using generators to reduce memory consumption
- Supports Python 3.10+
QuickStart
Foobar2000 XML export
First, select the tracks in the playlist for which you want to export statistics > right-click > Playback Statistics > Export Statistics to XML...
Then a window will appear:
Instalation of the library
Via pip
pip install foobarstats
Via poetry
poetry add commandline
Using of the library
import foobarstats
with open('your_filepath.xml', 'r') as fp:
for stat in foobarstats.load(fp):
print(stat) # prints TrackStat object
Metadata
Release files for foobarstats 0.1.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 |
|---|---|---|---|---|
| foobarstats-0.1.0.tar.gz | 2.8 kB | Without provenance | Details for foobarstats-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| foobarstats-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for foobarstats-0.1.0-py3-none-any.whl |
Total release size: 6.5 kB
Release files / foobarstats-0.1.0.tar.gz
| Download URL | foobarstats-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f42c2aaff6b4ee4c802e65f4143063083d612d6fe955e3d55c6535385495d8d
|
|
BLAKE2b-256 checksum How to use checksums |
ef6eeba8ac3c28392c3ff87e36dfc5b03253adfc0c9bad93b1b34ff0674d4cef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.19 Linux/6.14.0-1012-azure
|
Release files / foobarstats-0.1.0-py3-none-any.whl
| Download URL | foobarstats-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1026d201c8e2f0c923fc89f008ffc9cc4a8f19cac1278105a507bca12f7974eb
|
|
BLAKE2b-256 checksum How to use checksums |
058838d5a2f0bb6831e92e0f50fc22317edb13d539f71cf686ce6ad58b936552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.10.19 Linux/6.14.0-1012-azure
|
Security for foobarstats 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.