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.2.tar.gz (103.1 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.2-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arker-1.2.2.tar.gz
  • Upload date:
  • Size: 103.1 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.2.tar.gz
Algorithm Hash digest
SHA256 72e0473aa12e2f8d1d12b85a533b20b8d09515702c28ab33ef2d1d586a82a855
MD5 b0760d4c49c77d3816ca1c5500c5b4b4
BLAKE2b-256 947491d81c2611987d2238af40900aa8309bc44c4d0d8297c916c7e1bf30894d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: arker-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 40.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21fadf589472865b0c40eb51208d50a623997f4cc9295d855fb5b709e0d21552
MD5 dd7a7791bf914ef677fb49c24172244f
BLAKE2b-256 1d8d867f1696c230c4b174d4f7d97c0cf610fbe8364090adc7e617e98e60d36d

See more details on using hashes here.

Provenance

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

1.2.3

2 files

This release

1.2.2 This release

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