OsuPyParser
A powerful package for parsing .osu and .osr (replay) extention files.
What's this?
OsuPyParser is my 2nd implementation of osu file and osr (replay) file parser.
It doesn't use any external packages so you don't need to install anything else!
Example
Parsing osu files is simple as never.
.osu file
from osupyparser import OsuFile
data = OsuFile("test.osu").parse_file()
info = data.__dict__
for d, e in info.items():
print(f"{d}: {e}") # Prints all members of the class.
.osr file
from osupyparser import ReplayFile
data = ReplayFile.from_file("test.osr")
info = data.__dict__
# pure_lzma = ReplayFile.from_file("test.osr", pure_lzma= True) This will return only lzma content.
# data = ReplayFile.from_bytes(replay_files) you can also use pure bytes.
for d, e in info.items():
print(f"{d}: {e}") # Prints members of class.
Contribution
If you spot any issue/bug, don't heaste to open issue/make pull request.
I'll try to review it in free time :)
Metadata
Release files for OsuPyParser 1.0.7
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 |
|---|---|---|---|---|
| OsuPyParser-1.0.7.tar.gz | 9.1 kB | Without provenance | Details for OsuPyParser-1.0.7.tar.gz |
Release files / OsuPyParser-1.0.7.tar.gz
| Download URL | OsuPyParser-1.0.7.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67f530c31dd5c288c8fff8f583c899c673536681f8cc3699d0afc5e4d8c2b1ff
|
|
BLAKE2b-256 checksum How to use checksums |
7b6b7f567c2acd1f2028603353da40ad7411bb47754994552d3f0c4cfa6703f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
|
Security for OsuPyParser 1.0.7
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.