Package to get started optimizing
This is the paretos package for easy integration of socrates optimization within customer environments. The package also enables to get the results of socrates api in an easy and understandable way.
The installation of the package is simply done via. pip
pip install paretos
In general the complete documentation for usage and classes can be found here. In this readme only brief overview of the most important points to get started is given.
This section is aimed towards developers of the paretos library.
You will find some executable examples in the
See examples/getting-started.md for the necessary steps to run those scripts.
python -m unittest discover test/unittest
coverage run --source paretos -m unittest discover test/unittest
Setting up Testbench for Frontend
To setup some test projects in certain states for frontend tests you can use the script in test/frontend_testbench To call it you have to set the following environment variables:
Then call the script:
The script will use the socrates-api to create projects and run optimizations to create some edge-cases for frontend tests.
- requires connection to Socrates API 1.2.0 or newer
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.