Skip to main content

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

  1. Clone it

git clone https://github.com/takumade/Optimizo.git

  1. Install Requirements

cd Optimizo && python setup.py install

  1. Play

python optimizo.py -h

How does it work

  1. You create your config file optimizo.py -c OR optimizo.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"
}]}
  1. You then add your instructions like this optimizo.py -g develop -a

    It 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

  2. 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

optimizo-1.2.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

optimizo-1.2-py3-none-any.whl (6.4 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