osuparse

Crates.ioosuparse
lib.rsosuparse
version2.0.1
sourcesrc
created_at2018-11-21 03:05:23.666999
updated_at2019-01-25 09:37:59.261318
descriptionCrate for parsing osu! beatmaps.
homepage
repositoryhttps://github.com/eltrufas/osuparse
max_upload_size
id97877
size215,111
Rafael Castillo (eltrufas)

documentation

https://docs.rs/osuparse

README

osuparse - An osu! beatmap parser crate

Build Status codecov

osuparse is a Rust crate for parsing osu! .osu beatmap files. Usage is as simple as:

let mut file = File::open("map.osu").unwrap();
let mut contents = String::new();
file.read_to_string(&mut contents).unwrap();

parse_beatmap(contents.as_str()).unwrap();

Documentation for this crate can be found here

osuparse fully supports the osu! beatmap file specification, with the important exception of the Events section, which is pending implmentation.

Python bindings

This repository includes python bindings. You can install a prebuilt package from PyPi:

$ pip install osuparse

You can also build and install from source:

$ cd py_osuparse
$ python setup.py install

Usage is as follows:

import osuparse

map = osuparse.parse_beatmap('beatmap.osu')

License:

This crate is licensed under terms of the GPL-3.0 license, as published by the Free Software Foundation. Code documentation comments are partially sourced from the osu!wiki, which is licensed under terms of the CC-BY-NC 4.0 license.

Commit count: 38

cargo fmt