Skip to main content

A package to let your IDE know what JsMacros can do

Project description

JsMacrosAC

The sole purpose of this package is to let your IDE know what functions the various JsMacros classes have.
Please note that this package does not add functionality and will crash your scripts if it is not imported correctly.

How to import

Each import should be imported with leading if __name__ == "": otherwise the script will break. Import all classes:

if __name__ == "": from JsMacrosAC import *

Import all classes from a specific module:

if __name__ == "": from JsMacrosAC.<moduleName> import *

Import one class:

if __name__ == "": from JsMacrosAC import <ClassName>

Import in an event file

if __name__ == "": 
    from JsMacrosAC import EventAirChange
    event = EventAirChange() #No need of arguments

#Modules There are some modules in JsMacrosAC that can be imported as well, so you don't have to import all the files.
These Modules are:

  • libraries (Contains all libraries and constants like Chat or GlobalVars)
  • helpers (Contains all helper classes)
  • events (Contains all event classes)
  • mixins (Contains all mixin classes)
  • rest (Contains all other classes)

#Libraries The Chat, JavaWrapper, Player, Request, Hud, Time, KeyBind, JsMacros, FS, Reflection, Client, World and GlobalVars libraries can be accessed by either importing all classes or importing the library module mentioned above.

#Things to note Since Python does not support function overloading, only one function will be displayed in some IDEs. See the function description or class to learn more about the different ways to use this function.

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

JsMacrosAC-1.6.0.4732066.tar.gz (58.8 kB view hashes)

Uploaded Source

Built Distribution

JsMacrosAC-1.6.0.4732066-py3-none-any.whl (153.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page