Skip to main content

Intuned Python Runtime

Runtime commands for Intuned platform Python automations.

Dependencies

Install globally

  • This project can be installed globally on the system to use intuned cli anywhere
  • Make sure you are not in a virtual environment. which python should point to system python.
    • If you are, deactivate to exit virtual environment. Or open in an external terminal (from outside vscode if it doesn't work)
  • 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.json and README.md files.
  • Prompts for confirmation for each file that already exists.
  • Options:
    • --yes/-y flag to overwrite all files.
    • --no/-n flag to not overwrite any files.

intuned publish-packages

  • Publishes packages to python-packages repository.
  • Options:
    • --sdk flag to publish SDK package. Creates sdk-<version> and sdk-latest tags for the published version.
    • --runtime flag to publish runtime package. Creates runtime-<version> and runtime-latest tags for the published version.
    • --overwrite flag to overwrite the existing version if it exists.
    • --show-diff flag to show the diff of the package before publishing. You need to configure a diff tool to be used for git difftool command in your git config. How to configure VS Code as a diff tool.
    • --no-latest flag to not release latest tag for the published version.
  • Uses the version specified in pyproject.toml of each package respectively.
  • Uses WebApp directory specified in WEBAPP_REPO environment variable or tries to resolve it (only works if installed globally with -e flag).
  • Uses python-packages directory to be sister to WebApp directory <webapp path>/../python-packages.
  • These packages are used on deployed apps.

intuned project run

  • Runs the project.
    • --mode to specify the mode to run. Default is sample.
      • --mode sample extends a sample of payloads to run.
      • --mode full runs all extended payloads.
      • --mode single runs the initial API only.
    • --api-name <name> to specify the initial API to run. Defaults to default
    • --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-headless to 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-path to specify the path to a JSON file containing workspace info.
    • -y/--yes to skip confirmation.
    • --project-name to specify the project name. Resolves the name if not provided.
  • Resolves .gitignore from current/parent directories to decide what to deploy.
  • Resolves .env from 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/production to specify the environment to run the server.
      • Development runs using Flask's development server.
      • Production runs using Waitress.
    • --debug to 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.45

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intuned-runtime 1.3.45
File Size Uploaded
intuned_runtime-1.3.45.tar.gz 158.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for intuned-runtime 1.3.45
File Interpreter ABI Platform
intuned_runtime-1.3.45-py3-none-any.whl Python 3 none any Details

Total release size: 245.7 kB

Release files / intuned_runtime-1.3.45.tar.gz

Download URL intuned_runtime-1.3.45.tar.gz
Size 158.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0c4c9a1ca421b65f8f82b3d45d47d8b9461f463269d647bffb180af58ddf7a96
BLAKE2b-256 checksum
How to use checksums
205506d30194b6288dfaedda3a2a08e3dc38c7ebfd61f7de931dfacc30518cdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / intuned_runtime-1.3.45-py3-none-any.whl

Download URL intuned_runtime-1.3.45-py3-none-any.whl
Size 87.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97e34ee6f6567cd66ce82b6fccea1ec31b8b711fc9535c4bd2d5af38745c429a
BLAKE2b-256 checksum
How to use checksums
7a9a93dca47dcfc1803b88cb12f7c6bd337db41f79f28da31a43d8f8fbe9af05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

1.3.47

2 release files

1.3.46

2 release files

This release

1.3.45 This release

2 release files

1.3.44

2 release files

1.3.40

2 release files

1.3.39

2 release files

1.3.38

2 release files

1.3.37

2 release files

1.3.34

2 release files

1.3.31

2 release files

1.3.27

2 release files

1.3.26

2 release files

1.3.25

2 release files

1.3.24

2 release files

1.3.20

2 release files

1.3.19

2 release files

1.3.17

2 release files

1.3.16

2 release files

1.3.15

2 release files

1.3.14

2 release files

1.3.12

2 release files

1.3.10

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page