Skip to main content

A python library for loading NBS files

Project description

Python-NBS

A python library for reading NBS files

Based on NBS Version: 4(Current version used by Open Note Block Studio)

What is NBS

The .nbs format (Note Block Song) was created to work with Minecraft Note Block Studio, and contains data about how note blocks are laid out in the program to form a song.

From opennbs.org.

Installation

pip install Python-NBS

Usage

import python_nbs.nbs as nbs
import pprint
nbs_file = nbs.NBS("file.nbs")

# print song name
print(nbs_file.song_name)

# print all note blocks
pprint(nbs_file.note_blocks)

See docstring for the available instance variables.

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

Python-NBS-1.0.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

Python_NBS-1.0.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page