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

ython-NBS-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ython_NBS-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ython-NBS-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for ython-NBS-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fba16728fa995974ca1ee4ce4db9bd601d3b970fb11828f98cc9286f682a34cd
MD5 a67701ce0e718e60c53e8a520f262973
BLAKE2b-256 110c2097b3f2281e1a87c76cb3df175e186ec1a0f825d335b22591f890216381

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ython_NBS-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

File hashes

Hashes for ython_NBS-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 540b3cd78c991d23c129cdc6d0306e7bf62e0ed50610e8c3bac5aeb175377514
MD5 7113d8f819664623ac0a7556311d6d55
BLAKE2b-256 8ea1c1e08664c98bc4594188abee0ee251c573d8c871ca3a0843c4a45d2258e8

See more details on using hashes here.

Supported by

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