A script that will effectively compress your code!
As you can see, Codepressor has only a few plugins. And let me introduce you The Formula:
if len(plugins) is few:
r1sendev.feel(SAD)
else:
r1sendev.feel(HAPPY)- Fork this repo;
- Write some good new plugins;
- Create a pull request;
- Wait some time;
- Wait some time;
- Wait some time;
- Wait some more time;
- Wait some more time;
- «Oh dang he noticed»;
- Voila!
Plugin is basically a file that located in plugins/ folder. TODO
Every plugin should have an attibutes in order to pluginning correctly.
To be specific, here you are: The Table of anything required.
| Attribute Name | Required Type | Description | Notes |
|---|---|---|---|
__title__ |
str |
The title of your plugin. Should be short and stout, snake_styled. |
A plugin with an empty title will pass staging, but it won't actually work. |
__desc__ |
str |
A short description of the plugin (about what it does to the file). | Empty description is acceptable, but morally condemned. |
__authors__ |
tuple[str, ...] |
Plugin authors. | - |
__ver__ |
tuple[int, ...] |
Plugin version. | - |
__exts__ |
tuple[str, ...] |
A tuple of file extensions (with dots) that are supported by this plugin. | It can be empty: in this case, the plugin can only be selected manually by passing the --plugin=its_title argument at startup. |
process |
Callable[[str], str] |
The main function. | Accepts the original source code, should return the processed source code. |