A Python client library for interacting with the specific API.
Project description
Point Of Presence Python Client Library
A Python client library for interacting with a specific POP API. This library provides easy-to-use methods for performing GET, POST, PUT, PATCH and DELETE requests, with built-in authentication support.
Table of Contents
Installation
Ensure you have Python 3.6 or higher installed. It's recommended to use a virtual environment.
Option 1: Install from GitHub
-
Clone the repository:
git clone https://github.com/sci-ndp/pop-py.git cd pop-py
-
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate
-
Install the package in editable mode:
pip install -e .
-
Install development dependencies (optional, for testing):
pip install -r requirements.txt
Option 2: Install via pip
Once the package is published on PyPI, you can install it directly using pip:
pip install pointofpresence
Tutorial
For a step-by-step guide on how to use the pointofpresence library, check out our comprehensive tutorial: 10 Minutes for a Point of Presence.
Running Tests
To run the tests, navigate to the project root and execute:
pytest
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/new-feature) - Make your changes and commit (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Reques
License
This project is licensed under the MIT License. See the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pointofpresence-0.4.0.tar.gz.
File metadata
- Download URL: pointofpresence-0.4.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672e8f23c19ede8e49850e3611c4805127c620f9ab9301559248cb9b8757ba12
|
|
| MD5 |
8f5880b6f8dfbd14c1712395c624591d
|
|
| BLAKE2b-256 |
e9581bfc527de060613c7ff22434dda1705b87bb3896a17942859b1b3ee3a67a
|
File details
Details for the file pointofpresence-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pointofpresence-0.4.0-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45461bcfcf04bfedecd7666cb8a61a3ef324e9e84d1f8e7f8883381dc6dee92c
|
|
| MD5 |
4279971ab5825e8926e6189da49cccd2
|
|
| BLAKE2b-256 |
fbbad92a0e8b43273208284f410c44ed1ae0a43bbe703ab9f1d00cfb12e9e590
|