ModuleLoader



Latest version

Released:

Declaration: package: com.github.twitch4j.modules, class: ModuleLoader.

  1. Browser ES Module Loader: A demonstration-only loader to load ES modules in the browser including support for the.
  2. . The ModuleLoader is connected to deferred instantiation and ensures that. only a single copy of the module SWF file is transferred over the network by using the. ModuleManager singleton. @see mx.controls.SWFLoader. @langversion 3.0. @playerversion Flash 9. @playerversion AIR 1.1. @productversion Flex 3./ public class.
  3. Apr 11, 2021 AKA MBOptionScreen Standalone. Sources available at GitHub redits to Drogean for the MCM Logos MCM is a Mod Options screen library designed to let modders use its API for defining the options.
  4. And use SPModuleLoader instead of ModuleLoader (was renamed in drop 6). As reference, here are the links to the issues on GitHub: - sp-module-loader loadCss broken in Drop 6 #286 - Using custom CSS plus the ModuleLoader.loadCss problem #79.

Python Autoload Module

Module Loader Jar

Project description

This library will give you comfortable Python metaprogramming.
The following is a plain example.

  • Directory
  • example.py

Install

Usage

Constructor

The ModuleLoader can be generated with no parameters.In that case, the instance has the absolute path whereit was initialized.

  • Directory
  • example.py

If you want to change the base path, you must generate the ModuleLoader with an absolute path parameter.

Methods

load_classes

This method read the Python package and return the tuple of class objects.

  • Directory
  • validator_a.py
  • example.py

You can also load only specific modules using excludes variable as below.

This function will check directory structure recursively if you specify recursive=True.

You can specify pkg_name as below.

Moduleloader.pas

load_functions

This method read the Python package and return the tuple of functions.The usage is the same as load_classes.

NOTE

  • To search class or function, You must match the name of file and the one of class or function.For example, if you named the file test_module.py, you must named the class TestModule or the function test_module.When you want to customize their name, use @load_config decorator and write load=True manually.
    • validator_a.py
  • You can also control the order of loaded class objects using @load_config decorator.
    • validator_a.py

load_class

This method read the Python file and return the class object.

  • Directory
  • validator.py
  • example.py

How to specify file_name is the same as that of load_classes.

load_function

This method read the Python file and return a function object.The usage is the same as load_class.

License

Released under the MIT license.

Release historyRelease notifications | RSS feed

1.2.0

1.1.1

1.1.0

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for autoload-module, version 1.2.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size autoload_module-1.2.0-py3-none-any.whl (5.9 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size autoload-module-1.2.0.tar.gz (6.1 kB) File type Source Python version None Upload dateHashes
Close

Moduleloader

Hashes for autoload_module-1.2.0-py3-none-any.whl

Module
Hashes for autoload_module-1.2.0-py3-none-any.whl
AlgorithmHash digest
SHA256c2ddd25b876d8a62e97fffd759ca5937a3e40b9bcac8569d14c1dbb5ca1b9f8e
MD504d7c5545b3ecdff51d80e46b4064271
BLAKE2-256224c1f98d7f7f876a8f8afbc6e4b27089da7a6a043fda2c883d100cef252b3ba
Close

Hashes for autoload-module-1.2.0.tar.gz

Moduleload Back_ Backend

Hashes for autoload-module-1.2.0.tar.gz
AlgorithmHash digest
SHA256aa59e8627ba063df91b810cfa362dccb7ffae4fd10cb282a14bc19b1a93c59c0
MD5ea18939b4706ddc2d3d5eefe627e5ee6
BLAKE2-2566ba6a53cb0e078d1c781ef0599644c9f34d8175b9388ef00b55d699aba0e51ce