Skip to main content

Arker Python SDK

Use the Arker Python SDK to fork VMs, run commands, and sync files.

PyPI

Install

pip install arker

The SDK requires Python 3.10 or later.

Get started

Sign up and get your API key at arker.ai/console.

ARKER_API_KEY, ARKER_PROVIDER, and ARKER_REGION must be set in the environment or passed directly to Arker().

Fork a source VM, run a command, sync a file, and delete the VM:

from arker import Arker

arker = Arker()
vm = arker.fork(source_vm_name="ubuntu-coding")

result = vm.run("python3 -c 'print(2 + 2)'")
print(result.stdout.decode())

vm.sync("/tmp/hello.txt", "hello from Arker")
print(vm.sync("/tmp/hello.txt").decode())

vm.delete()

Documentation and examples

Read the Arker documentation and browse the runnable examples.

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arker-1.2.5.tar.gz (120.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arker-1.2.5-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file arker-1.2.5.tar.gz.

File metadata

  • Download URL: arker-1.2.5.tar.gz
  • Upload date:
  • Size: 120.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for arker-1.2.5.tar.gz
Algorithm Hash digest
SHA256 65a8c2a9a1cbcbd83c10faa08e574b25bd87f4438b7e66bc5ab6977a27cd2460
MD5 2041eba6ceea28c3398188ff5dc03bd8
BLAKE2b-256 5b39d3004826e79fba34e376a4e6599855a4c2ce0a410013cf063e9634d79503

See more details on using hashes here.

Provenance

The following attestation bundles were made for arker-1.2.5.tar.gz:

Publisher: publish-python.yml on ArkerHQ/arker-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arker-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: arker-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for arker-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0b9885d0c2924bfdf6229aa188ea6e164db149d01ace9aac5b3c20d44e949d28
MD5 130e346ce0012f7fc76cb1a080c9a40b
BLAKE2b-256 d454bb87d63f10fbafa0d5c9d2a2432b3222206c9d2126c7d1da2215c106c701

See more details on using hashes here.

Provenance

The following attestation bundles were made for arker-1.2.5-py3-none-any.whl:

Publisher: publish-python.yml on ArkerHQ/arker-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.2.5 This release

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.0.0

2 files

0.9.0

2 files

0.8.9

2 files

0.8.8

2 files

0.8.7

2 files

0.8.6

2 files

0.8.5

2 files

0.8.4

2 files

0.8.3

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.5.2

2 files

0.5.1

2 files

0.2.1

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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