megaLib is a Python wrapper for the Megaport RESTful API
Project description
megaLib
megaLib is a Python wrapper for the Megaport RESTful API.
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:
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:
See the Requests documentation for alternative installation methods.
Install megaLib using pip:
Alternatively, install megaLib by cloning this git repository to a local directory, verifying the requirements are met and executing setup.py:
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
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file megaLib-1.1.tar.gz
.
File metadata
- Download URL: megaLib-1.1.tar.gz
- Upload date:
- Size: 6.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | adc9cac65be1ef376a8e40405edd84d1fba4b052339f0f41e2cb981216115edd |
|
MD5 | 73b7251966d672c7b2e67266132ac5f5 |
|
BLAKE2b-256 | 4f1d7a0196ac0a55b35afaf3fe05bd57c559fbc7e46b79cc411020c492d2627e |