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("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.3.tar.gz (123.2 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.3-py3-none-any.whl (54.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arker-1.2.3.tar.gz
  • Upload date:
  • Size: 123.2 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.3.tar.gz
Algorithm Hash digest
SHA256 6cde58344300c51aaf97cb87f3d68d2075aae2fd86209a3a21c744eed58d5895
MD5 7fc9f7654a9f79dcae17131ba4830345
BLAKE2b-256 871f9a81c9b214cbf6026ed9ff414d756ce2504f9195b797e7a0db4b8f5abdae

See more details on using hashes here.

Provenance

The following attestation bundles were made for arker-1.2.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: arker-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 54.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 88159083bcae88280f0f2063476bb9ea9fb13c284ae9893847d8da74ac3d65ee
MD5 ec2c1061c92dfb3009d82e1e7e221e61
BLAKE2b-256 3cdce50c4f8b76f8aa055f9bbfb76bd38537b4fce8b6d3e8365391d962f47558

See more details on using hashes here.

Provenance

The following attestation bundles were made for arker-1.2.3-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

1.2.5

2 files

1.2.4

2 files

This release

1.2.3 This release

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