Save data about your Stepmania library to a SQLite database
Project description
stepmania-to-sqlite
Put stats about your stepmania library into a SQLite database. Will export all songs with data about their groups, difficulty levels, durations, bpms, etc. Particularly useful if you use the database with datasette.
Please note that under Windows, no song durations will be calculated, and Windows support is generally tenuous. I'm happy to merge PRs for this issue (or any other).
How to install
$ pip install stepmania-to-sqlite
Add the -U
flag to update. Change notes can be found in the CHANGELOG
file, next to this README.
Importing data
Run the tool with the path to your database - if it doesn't exist yet, it will be created:
$ stepmania-to-sqlite songs.db
If your library is not located in a directory like ~/.stepmania*
, you can pass the library path with the -l flag:
$ stepmania-to-sqlite songs.db -l /path/to/library
Limitations
- Steps are not included, only pre-processed step counts per difficulty.
- Currently, only .sm files are parsed, not the newer .ssc files.
Thanks
This package is heavily inspired by github-to-sqlite by Simon Willison.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stepmania-to-sqlite-0.4.tar.gz
.
File metadata
- Download URL: stepmania-to-sqlite-0.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456a6733f9320f6828e6769c6118b91255c1500dddfeb069735c957512317690 |
|
MD5 | b5d96164a8056bbaecf96586fafecd67 |
|
BLAKE2b-256 | 9cc0c50c98529e1af4440462729ea24e5936b0a0c78f584a3fd3c00082f060e6 |
File details
Details for the file stepmania_to_sqlite-0.4-py3-none-any.whl
.
File metadata
- Download URL: stepmania_to_sqlite-0.4-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98f66525ed3ddff01754af8e4d20fb756a4d4463436c7f2cedfc0e5796b02d8d |
|
MD5 | 753f3fec73d5bb78380572ed048368ff |
|
BLAKE2b-256 | f32909c65fc49f8876564c5fe96593eae3f5f8889753f82128f264a688f7d754 |