Skip to main content

megaLib is a Python wrapper for the Megaport RESTful API

Project description

megaLib

image image image Say Thanks!

megaLib is a Python wrapper for the Megaport RESTful API.

image

Megaport operates a global, Software Defined Network which enables their customers to manage their connectivity in close to real time. The Megaport API allows customers to interact with their account in the same way as they might using the Web Portal.

Use the power of megaLib to order your very own virtual router in the cloud with connectivity to AWS in just a few lines: image

Who Uses megaLib

Anyone who has an existing Megaport account and would like to automate Megaport things in Python. If you don't have an account you can signup here.

How it Works

megaLib functions as a Python wrapper for the public Megaport API by providing a library of functions to simplify your next mega-project.

If you would like more information on the Megaport API I suggest checking out the Megaport API documentation and the Megaport Knowledgebase Articles on the API.

Installation

Requests is required, Requests can be installed using pipenv or pip:

image

See the Requests documentation for alternative installation methods.

Install megaLib using pip:

image

Alternatively, install megaLib by cloning this git repository to a local directory, verifying the requirements are met and executing setup.py:

image

Usage

You can find example code snippets for the functions here. Examples of more functional code are here. Additional resources can be found on the Wiki.

Built With

Requests - Python HTTP Requests for Humans.

How to Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request and bug the maintainer until it gets merged and published.

License

This project is licensed under the GNU General Public License v3.0 - see LICENSE for more details.

Disclaimer

This project including this git repository, is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Megaport, or any of its subsidiaries or its affiliates.

Please refrain from contacting Megaport regarding any issues or support of this project. Instead feel free to submit an issue via this git repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

megaLib-1.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file megaLib-1.0.tar.gz.

File metadata

  • Download URL: megaLib-1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for megaLib-1.0.tar.gz
Algorithm Hash digest
SHA256 148d30eb4de587081c1951d0f37d9c0dbee7f991fb96f84e9d233fe4ddb49931
MD5 0ad2e85754f04e1ca6ff952ca26291ab
BLAKE2b-256 e5f040ae7914b7da1dd6448f0e70231df586e1de29b701cdfef457eb8de1f2bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page