A modern & maintained wrapper for the Nova Universe API written in 🐍 Python.
Project description
🐍novauniverse.py
- A modern & maintained wrapper for the Nova Universe API written in Python.
ℹ Notice: 2.0 is currently in development so not all api endpoints are implemented.
What is Nova Universe.py?
NovaUniverse.py is a API wrapper for the minecraft server Nova Universe that allows you to access the Nova Universe API in a fast object oriented way in Python. One of the bonuses is that it was developed by one of the devs at NovaUniverse.Install/Set Up
- Install package from pypi.
#Windows/Linux
pip install novauniverse
- That's It! - Brief Example Below
from novauniverse import NovaClient, Events, NovaOnlinePlayer
client = NovaClient()
@client.on_event(Events.CLIENT_READY)
def client_is_ready():
print("Client is ready!")
@client.on_event(Events.PLAYER_JOIN)
def on_player_join(player:NovaOnlinePlayer):
print(f"{player.username} joined {player.server_name}!")
client.start()
More Examples and Info at https://nupy.devgoldy.me/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
novauniverse-2.0.tar.gz
(1.8 MB
view hashes)