A tool to convert python scripts to DF code templates.
Project description
Py2DF
==========
An easy to use and feature-rich tool to convert written, easier to understand python code to a DiamondFire template.
Installing
Python 3.6 or higher is required
To install the library you can just run the following command:SOON TM
# Linux/macOS
python3 -m pip install -U Hypercode.py
# Windows
py -3 -m pip install -U Hypercode.py
Quick Example
@PlayerEvent.Join
def on_join():
p_default.send_message("Test")
p_default.give_items(Item(material=Material.DIAMOND_SWORD, name="My Sword", lore=["My custom sword"]))
p_default.teleport(Location(50, 50, 50))
You can find more examples in the examples directory.
Links
Documentation <https://py2df.readthedocs.io/en/latest/index.html>
_Official Discord Server <https://discord.gg/eUVVRyE>
_
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
DFHypercode-0.0.1.tar.gz
(162.7 kB
view hashes)
Built Distribution
DFHypercode-0.0.1-py3-none-any.whl
(355.9 kB
view hashes)
Close
Hashes for DFHypercode-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61cd7e781ce07dca6fb81adc2aa9a13e99687ade5255af7595b921b175f79fb9 |
|
MD5 | e71c358ff5fbffd7670c376f033688e1 |
|
BLAKE2b-256 | 82e71b6988450879096f2da986a4b3b2ad78b847f37f4ef2aad9e99bd376cbf8 |