Getting Started¶
Importing¶
-
CLI
-
GUI
Installation¶
Directory¶
Go to your project directory by using:
Environment optional¶
We recommend using a virtual environment, which is an isolated Python runtime. If you are in a virtual environment, any packages that you install or upgrade will be local to the environment. If you run into problems, you can just delete and recreate the environment. It's trivial to set up:
poetry (strongly recommended)
-
Poetry automatically created virtual environment
-
Activate the environment with:
-
Exit your virtual environment using:
pipenv (recommended)
-
Pipenv automatically created virtual environment
-
Activate the environment with:
-
Exit your virtual environment using:
pip
- Create a new virtual environment
- Activate the environment with:
-
Exit your virtual environment using:
Dependencies Installation¶
Apex Agente has several dependencies that can be installed with
poetry
or pipenv
or pip
, ideally by using a virtual environment. Open up a terminal and install all dependencies with:
-
poetry
-
pipenv
-
pip
This will automatically install compatible versions of all dependencies. ApexAgente always strives to support the latest versions, so there's no need to install those packages separately.
Run Locally¶
To run it locally is pretty simple, just run it with:
-
poetry
-
poetry
-
python3
Information
- The
--api
option specifies api key used in the application. - The
--id
option specifies application id used in the application. - The
--url
option serves as base url for the application. - The
--n
options determine whether using the options or use default configuration. If you use--n
you do not need to use other options
Note: The program can be run without the need for the user to specify any options.