Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

projectlumina.py

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

projectlumina.py

A simple Python library that includes a Project Lumina API wrapper and a Minecraft Bedrock World Editor.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
0

projectlumina.py

A simple Python library that includes a Project Lumina API wrapper and a Minecraft Bedrock World Editor.

Features

  • The API wrapper allows you to easily fetch Project Lumina shortcut information, such as the latest release URL.
  • The World Editor allows you to seamlessly convert and modify your Minecraft Bedrock level file. Some of it uses https://projectlumina.xyz/worldeditor/ to function.

Installation

To install, use the following pip command:

pip install projectlumina

Examples

API wrapper

import projectlumina

# Fetching information about Project Lumina.

api = projectlumina.Api() # Creates an API instance.

about = api.about # about.txt
connections = api.connections # connections.json
options = api.options # options.json
packs = api.packs # packs.json
releases = api.releases # releases.json

# You can still fetch these using the fetch() function if needed:
packs = api.fetch('packs.json')

# However, the fetch() function has to be used to fetch nested items:
esp_zip = api.fetch('packs/esp/esp.zip')

World Editor

import projectlumina

# Converting a level.dat file and returning it as level.snbt.

level_dat = projectlumina.WorldEditor('level.dat') # Note: converting only works by passing a file, not text.

level_snbt = level_dat.convert('snbt')

print(level_snbt) # Printing the converted file.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc