Metadata-Version: 2.1
Name: OsuPyParser
Version: 1.0.7
Summary: A powerful package for parsing .osu and .osr extention files
Home-page: https://github.com/lenforiee/osupyparser
Author: lenforiee
Author-email: lenforiee@misumi.me
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

[![PyPI version](https://badge.fury.io/py/OsuPyParser.svg)](https://badge.fury.io/py/OsuPyParser.svg)
## 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

```py
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
```py
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 :)



