Skip to main content

PyPI version

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)

Source distribution for OsuPyParser 1.0.7
File Size Uploaded
OsuPyParser-1.0.7.tar.gz 9.1 kB Details

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

Release history Release notifications | RSS feed

This release

1.0.7 This release

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

0.2.3

1 release file

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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