Skip to main content

American Cloud Python SDK

Typed Python client for the American Cloud public API.

This SDK is auto-generated from the OpenAPI specification using Fern. It targets American Cloud API v1 — see VERSIONING.md for how SDK releases track the API.

Listing regions and VMs with the American Cloud Python SDK

Installation

pip install americancloud

Authentication

Every request carries an American Cloud API token in the Authorization: Bearer header. Create one at console.americancloud.com/api-tokens. The token is shown once at creation — store it securely. If lost, revoke it and create a new one.

Pass the token as token, or set AMERICANCLOUD_API_TOKEN and omit it. A token has the permissions you chose when you created it: start with the Read-only preset, or choose Full access to create, change and delete resources. client.whoami.get_whoami() returns the permissions the token has now.

Quick start

Synchronous

import os
from americancloud import AmericancloudApi

client = AmericancloudApi(
    token=os.environ["AMERICANCLOUD_API_TOKEN"],
)

vms = client.vms.list_vms()
print(vms)

Asynchronous

import asyncio
import os
from americancloud import AsyncAmericancloudApi

async def main():
    client = AsyncAmericancloudApi(
        token=os.environ["AMERICANCLOUD_API_TOKEN"],
    )
    vms = await client.vms.list_vms()
    print(vms)

asyncio.run(main())

The client is namespaced by resource — client.vms, client.block_storage, client.kubernetes, client.dns_zones, etc.

API endpoint

The SDK targets the American Cloud production API at https://api.americancloud.com by default. To override (e.g. for a self-hosted or internal environment), pass base_url:

client = AmericancloudApi(
    token="...",
    base_url="https://your-custom-endpoint.example.com",
)

API reference

Guides

Narrative walkthroughs on the American Cloud docs site:

Versioning

The SDK version matches the API platform version it was generated from — SDK x.y.z is generated from OpenAPI document x.y.z, so the SDK↔API mapping is one-to-one by construction:

  • Patch / minor releases are backward-compatible — safe to upgrade.
  • Major releases track a new API URL version (/api/v2) and may require code changes; check the CHANGELOG first.
  • The 1.x line targets API v1, which remains available for at least six months after a v2 release.
  • Additive API changes (new endpoints, optional fields, enum values) ship within a version — tolerate unknown fields and new enum values gracefully.

See VERSIONING.md for the full policy.

Reporting issues

Open an issue against this repository, or contact American Cloud support.

Contributing

This SDK is generated — do not edit the source by hand. See CONTRIBUTING.md for the generation workflow.

Metadata

Release files for americancloud 1.8.0

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

Source distribution (sdist)

Source distribution for americancloud 1.8.0
File Size Uploaded Provenance Actions
americancloud-1.8.0.tar.gz 212.3 kB With provenance Details for americancloud-1.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for americancloud 1.8.0
File Interpreter ABI Platform Actions
americancloud-1.8.0-py3-none-any.whl Python 3 none any Details for americancloud-1.8.0-py3-none-any.whl

Total release size: 568.1 kB

Release files / americancloud-1.8.0.tar.gz

Download URL americancloud-1.8.0.tar.gz
Size 212.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5e0779a35cfc01d0bdb9f988169295c2e02e47f09122790b7bece9093821f4d6
BLAKE2b-256 checksum
How to use checksums
83048b940e48b717339c45669ea1b74f94d52d91ee267cf4ae0be267ba83ec9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / americancloud-1.8.0-py3-none-any.whl

Download URL americancloud-1.8.0-py3-none-any.whl
Size 355.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38b4177b1fd88e38eaa5cb5b4564ad623786bf44d0155b96cc58e5c0b3d33775
BLAKE2b-256 checksum
How to use checksums
036203e8b384ad98ec9e4abccf2502892f31af47ba42d3db96c42c54acbe84de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for americancloud 1.8.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for americancloud-1.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.

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