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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file DFHypercode-0.0.1.tar.gz.
File metadata
- Download URL: DFHypercode-0.0.1.tar.gz
- Upload date:
- Size: 162.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e502b27d9d03767415d0d152c548ea5be64fb215133a517740c19390072ad65e
|
|
| MD5 |
31dd1b17b9a345a018ca45c4b9faa4f3
|
|
| BLAKE2b-256 |
ebb766be41450da31daa49affa6902dd770ef1ac050748927c56a29a02665b9d
|
File details
Details for the file DFHypercode-0.0.1-py3-none-any.whl.
File metadata
- Download URL: DFHypercode-0.0.1-py3-none-any.whl
- Upload date:
- Size: 355.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61cd7e781ce07dca6fb81adc2aa9a13e99687ade5255af7595b921b175f79fb9
|
|
| MD5 |
e71c358ff5fbffd7670c376f033688e1
|
|
| BLAKE2b-256 |
82e71b6988450879096f2da986a4b3b2ad78b847f37f4ef2aad9e99bd376cbf8
|