Skip to main content
  • Labs / 
  • Metal Python

Metal Python

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

Version v0.9.0 was released on 13 March, 2024 View changelog
Metal Python

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.

Get support on the Equinix Metal Community Slack and Community Site.

Submit new feature requests on the Equinix Metal Roadmap.

Last updated

15 April, 2024

Category

Tagged

SDKs
Subscribe to our newsletter

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