Optimizo its an tool that allows to set up instructions and run them later. In the mean you will have to run them manually
Project description
Optimizo
Optimizo its an tool that allows to set up instructions and run them later. In the mean you will have to run them manually
How to Install
- Clone it
git clone https://github.com/takumade/Optimizo.git
- Install Requirements
cd Optimizo && python setup.py install
- Play
python optimizo.py -h
How does it work
-
You create your config file
optimizo.py -cORoptimizo.py -c -w .It will generate something like this:
{
"develop": [{
"name": "copy",
"src": "C:\\xampp\\htdocs\\projects\\Optimizo\\config.py",
"dst": "C:\\xampp\\htdocs\\projects\\Optimizo\\classes"
}, {
"name": "replace",
"src": "C:\\xampp\\htdocs\\projects\\Optimizo\\config.py",
"search": "excluded_folders",
"replace": "excluded_beans"
}]}
-
You then add your instructions like this
optimizo.py -g develop -aIt will ask you for command name and extra details. You can also add multiple instructions like these
Note:* If a group is not available it is added
-
Run your group of instruction
optimizo.py -r develop
Note: If you know what you are doing you can manually modify optimizo.json
Note: Instructions are run one after the other.
Instructions
Here is a list of supported intructions
| Instruction | Description | Implemented |
|---|---|---|
| move | Move a file from one part to another | Yes |
| copy | Copy a file from source to dest | Yes |
| replace | Replace text in a file | Yes |
| minify | Minify text in a file | Yes |
| command | Execute a command | Yes |
Todo
- Remove Ununsed files
- Implement command instructions
- Implement minify instructions
- Add setup.py
- Do a blog
What am i doing with this tool
- I use it optimize my Laravel projects
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
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 optimizo-1.1.tar.gz.
File metadata
- Download URL: optimizo-1.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3041d737d245df4110d57488dec9fc2c50e1317b4c0c80947496d6045602345
|
|
| MD5 |
ba5c1c0c53bc6fbbe2cadc4494894774
|
|
| BLAKE2b-256 |
59626167cce2f0114cf4a06334ddec6c48e66759fe7768af0db3fef70a444e78
|
File details
Details for the file optimizo-1.1-py3-none-any.whl.
File metadata
- Download URL: optimizo-1.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e59f70cee59f0eb5731d550ac5b19a6c1e42858c84aa39dfccaf869261aa257
|
|
| MD5 |
4b561592713d89d14bcca5d08e2ec12f
|
|
| BLAKE2b-256 |
791399651d8de561451a3925177dd8031320e640492f470dc9d03227a30e1a22
|