Skip to main content

stepmania-to-sqlite

PyPI License

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.

Metadata

Release files for stepmania-to-sqlite 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stepmania-to-sqlite 0.4
File Size Uploaded
stepmania-to-sqlite-0.4.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stepmania-to-sqlite 0.4
File Interpreter ABI Platform
stepmania_to_sqlite-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / stepmania-to-sqlite-0.4.tar.gz

Download URL stepmania-to-sqlite-0.4.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
456a6733f9320f6828e6769c6118b91255c1500dddfeb069735c957512317690
BLAKE2b-256 checksum
How to use checksums
9cc0c50c98529e1af4440462729ea24e5936b0a0c78f584a3fd3c00082f060e6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / stepmania_to_sqlite-0.4-py3-none-any.whl

Download URL stepmania_to_sqlite-0.4-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98f66525ed3ddff01754af8e4d20fb756a4d4463436c7f2cedfc0e5796b02d8d
BLAKE2b-256 checksum
How to use checksums
f32909c65fc49f8876564c5fe96593eae3f5f8889753f82128f264a688f7d754
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

1 release file

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