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.
Metadata
Release files for megaLib 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| megaLib-1.1.tar.gz | 6.7 kB | Without provenance | Details for megaLib-1.1.tar.gz |
Release files / megaLib-1.1.tar.gz
| Download URL | megaLib-1.1.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adc9cac65be1ef376a8e40405edd84d1fba4b052339f0f41e2cb981216115edd
|
|
BLAKE2b-256 checksum How to use checksums |
4f1d7a0196ac0a55b35afaf3fe05bd57c559fbc7e46b79cc411020c492d2627e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for megaLib 1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.