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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file Python-NBS-1.0.0.tar.gz.

File metadata

  • Download URL: Python-NBS-1.0.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for Python-NBS-1.0.0.tar.gz
Algorithm Hash digest
SHA256 70242b1e54b757036637a78789513499487fbd3dedf01e6aace48392bb6ca764
MD5 2689d0b6c79e60e085cf7f0a35dd5820
BLAKE2b-256 96501fabd816be18bad52fe07401fa7714100bf2a7ae1fc32af4db46053d4170

See more details on using hashes here.

File details

Details for the file Python_NBS-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Python_NBS-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0

File hashes

Hashes for Python_NBS-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65f828e8d57b4bea08371b4d05df809cb4cf4c94dcd60c2c73ed07a6344b39fa
MD5 9f57dd915fc6d977446432cf161cb0b8
BLAKE2b-256 8fc846a6cfa5f78d4d8fd9c8a4b7bf2cdc015007aad68366765ef85ea57a86eb

See more details on using hashes here.

Supported by

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