Intuned Python Runtime
Runtime commands for Intuned platform Python automations.
Dependencies
- Requires Python 3.12 or higher.
- Install uv: https://docs.astral.sh/uv/getting-started/installation/
- Install dependencies:
uv sync - Run commands in the virtual environment:
uv run <command> - Now you have access to
intunedcli from within project viauv run intuned.
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.
Metadata
Release files for intuned-runtime 1.3.51
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| intuned_runtime-1.3.51.tar.gz | 155.2 kB | Without provenance | Details for intuned_runtime-1.3.51.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| intuned_runtime-1.3.51-py3-none-any.whl | Python 3 | none | any | Details for intuned_runtime-1.3.51-py3-none-any.whl |
Total release size: 265.3 kB
Release files / intuned_runtime-1.3.51.tar.gz
| Download URL | intuned_runtime-1.3.51.tar.gz |
|---|---|
| Size | 155.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8e6df85e54f5cbbf9de22079c2b9f2dd38571103066124456b827e4e485d4c0
|
|
BLAKE2b-256 checksum How to use checksums |
79cccf3c3da81c8e94003dc2e83a356a51fc3256a7385eb707b2c0bf157ab181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.16
|
Release files / intuned_runtime-1.3.51-py3-none-any.whl
| Download URL | intuned_runtime-1.3.51-py3-none-any.whl |
|---|---|
| Size | 110.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33c42e3311277d4643ec766e14122494d0ddc3848c2d880fad6b3fd31ca37f80
|
|
BLAKE2b-256 checksum How to use checksums |
bfedc92d3ec68715d21f8f8625092dda3ee28547340e58c595daf624725fedc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.16
|
Security for intuned-runtime 1.3.51
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.