Runtime SDK that powers browser automation projects running on Intuned
Project description
Intuned Python Runtime
Runtime commands for Intuned platform Python automations.
Dependencies
- Requires Python 3.12 or higher.
- Install poetry:
pip install poetry - Install dependencies:
poetry install - Activate virtual environment:
poetry shell - Now you have access to
intunedcli from within project.
Install globally
- This project can be installed globally on the system to use
intunedcli anywhere - Make sure you are not in a virtual environment.
which pythonshould point to system python.- If you are,
deactivateto exit virtual environment. Or open in an external terminal (from outside vscode if it doesn't work)
- If you are,
- Run
pip install -e .from the root of the project.
Commands
All commands have -h flag to show help.
intuned init
- Initializes a project. Creates
pyproject.toml,Intuned.jsonandREADME.mdfiles. - Prompts for confirmation for each file that already exists.
- Options:
--yes/-yflag to overwrite all files.--no/-nflag to not overwrite any files.
intuned publish-packages
- Publishes packages to
python-packagesrepository. - Options:
--sdkflag to publish SDK package. Createssdk-<version>andsdk-latesttags for the published version.--runtimeflag to publish runtime package. Createsruntime-<version>andruntime-latesttags for the published version.--overwriteflag to overwrite the existing version if it exists.--show-diffflag to show the diff of the package before publishing. You need to configure a diff tool to be used forgit difftoolcommand in your git config. How to configure VS Code as a diff tool.--no-latestflag to not releaselatesttag for the published version.
- Uses the version specified in
pyproject.tomlof each package respectively. - Uses WebApp directory specified in
WEBAPP_REPOenvironment variable or tries to resolve it (only works if installed globally with-eflag). - Uses
python-packagesdirectory to be sister to WebApp directory<webapp path>/../python-packages. - These packages are used on deployed apps.
intuned project run
- Runs the project.
--modeto specify the mode to run. Default issample.--mode sampleextends a sample of payloads to run.--mode fullruns all extended payloads.--mode singleruns the initial API only.
--api-name <name>to specify the initial API to run. Defaults todefault--params <params json>to specify the parameters to the initial API.--sample-config-str '{<api name>: <sample size>, ...}to specify the sample config. Only used with--mode sample.--no-headlessto disable headless mode.
intuned project deploy
- Deploys a project and starts a default job.
- Options:
--workspace-info '{"environment_url": <>, "workspace_id": <>, "api_key": <>}'to specify the workspace info.--workspace-info-pathto specify the path to a JSON file containing workspace info.-y/--yesto skip confirmation.--project-nameto specify the project name. Resolves the name if not provided.
- Resolves
.gitignorefrom current/parent directories to decide what to deploy. - Resolves
.envfrom current/parent directories to get environment variables to deploy. - Resolves project name from the current/parent directory name if not provided.
intuned project serve
- Serves the project as an HTTP server.
- Options:
--env development/productionto specify the environment to run the server.- Development runs using Flask's development server.
- Production runs using Waitress.
--debugto run the development server in debug mode. Not supported in production.
- This is used on deployed apps.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
intuned_runtime-1.3.19.tar.gz
(80.1 kB
view details)
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 intuned_runtime-1.3.19.tar.gz.
File metadata
- Download URL: intuned_runtime-1.3.19.tar.gz
- Upload date:
- Size: 80.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f2df8b4b9fefe7d32be9df4a83ae85068f4871f08eaa7263ba675d8812d4af9
|
|
| MD5 |
8396fafcd27d9c4068c927ddd8fb78a3
|
|
| BLAKE2b-256 |
b18a060513c0d9ea1d7af3b0172dda8be7f8b02348c43fc996163d859fd3c327
|
File details
Details for the file intuned_runtime-1.3.19-py3-none-any.whl.
File metadata
- Download URL: intuned_runtime-1.3.19-py3-none-any.whl
- Upload date:
- Size: 132.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7039cde2bd4a47ad98706e3d2bedc9ea91b0ba1c6740c46dcfd4a3fabc1abb79
|
|
| MD5 |
a57112020a51797cf5b4486effa9debd
|
|
| BLAKE2b-256 |
a75a6b35c14e330ffe2fa3dd2042477c2fb36b3c258f1216447874f2efd32341
|