Skip to main content

An API for Julian's Editor

Project description

JulianPy

JulianPy is a API made by Themeatly2 and Harsizcool to interface with Julian's Editor games in a very basic, but efficient way.

Todo:

  • Add basic controls (like keyboard inputs, chat, etc.) - Done
  • Add tools (like hasWifi()) - Done
  • Add websocket communication
  • Add other things (like Community API, Marketplace API, etc.)

Example

import julianpy
import time

# JulianPy requires a Julian's Editor share link.
# You can get one by clicking the Share icon and then "Copy Link".
id = "https://s.julianseditor.com/3An5lL".replace("https://s.julianseditor.com/", "")
julian = Astronaut(id)
# Move right for 1 second
julian.holdKey("d", 1)
time.sleep(1)
# Send a chat message
julian.sendMessage("Hello from Python!")
time.sleep(3)
# julian.die is required to properly quit the bot, or the bot will stay in the game
# which causes confusion with the server (and even conflicts with other bots) if you try to reconnect.
julian.die()

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

julianpy_themeatly2-0.1.5.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

julianpy_themeatly2-0.1.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file julianpy_themeatly2-0.1.5.tar.gz.

File metadata

  • Download URL: julianpy_themeatly2-0.1.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for julianpy_themeatly2-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8d95de5cb41971501dba2fa2c87a2ee2b50fc5fe28e096dde0d483c46c04bda4
MD5 5fc91b41e57bb106aa23edeedccfcf4a
BLAKE2b-256 50eb7832e2796621732e4abfc6479b9a83ff7109ecf845481e5933c3bc7ce60d

See more details on using hashes here.

File details

Details for the file julianpy_themeatly2-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for julianpy_themeatly2-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3933badb8d88864f99e38e6601f5f3ef3b5585b57529b25e59b553277a1703f
MD5 8bc9b95d7de35b7ea1a4d8579bedf1fa
BLAKE2b-256 d8c8e0c7b4b00f00b80665facf4a13808e4b83ff8db782d14e9a99907a1967f3

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