Skip to main content
Metal Python
  • Labs / 
  • Metal Python
Version v0.10.1 was released on 07 June, 2024 View changelog External link icon

Metal Python

Interact with the Equinix Metal API in the Python programming language.

What is it?

Metal Python is an advanced, user-friendly Python SDK (Software Development Kit) designed specifically for the Equinix Metal platform. This cutting-edge tool is dynamically generated using the Equinix Metal OpenAPI specification, ensuring it stays current with the latest developments and updates in the API landscape.

Why do we love it?

  • Always current
    • Metal Python is quickly generated from a push-button process, which means it is consistently updated to incorporate the latest API modifications and improvements.
  • Effortless Integration
    • As a Python package, Metal Python is a breeze to install and implement, making it the ideal choice for developers who want a seamless experience.

How do you use it?

To harness the power of Metal Python, you can find the SDK on PyPI, the Python Package Index. Installation is as simple as running the following command:

pip install equinix-metal

Here's a simple example of how to use Metal Python to list all you projects:

import equinix_metal

conf = equinix_metal.Configuration()
conf.api_key['x_auth_token'] = '<YOURAUTHTOKEN>'
client = equinix_metal.ApiClient(conf)

projects = equinix_metal.ProjectsApi(client).find_projects().projects

for i in projects:
    print(i.name)

By incorporating Metal Python into your workflow, you'll unlock the full potential of the Equinix Metal platform while enjoying a smooth and efficient development process.

More info can be found at the main GitHub repository.

Let us know about your experience with this project on the Equinix Community or Equinix Metal Community Slack.

Interested in SDKs for other services or languages? Let us know.

Last updated

12 July, 2024

Category

Type

SDKs
Subscribe to our newsletter

A monthly digest of the latest news, articles, and resources.