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
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
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
Built Distribution
File details
Details for the file pointofpresence-0.0.0.tar.gz
.
File metadata
- Download URL: pointofpresence-0.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 366ec467accdd7eefe5832e22b53d0f7622784f7c14c7c9c8c236dbd77955150 |
|
MD5 | 26ea1882ac5d2e1e0a079d9680a1d934 |
|
BLAKE2b-256 | b3e13ed358f208d19c97bb122406b6a4a639e535e87d280ff3c8ebedf2ac0559 |
File details
Details for the file pointofpresence-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: pointofpresence-0.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9023d28c619f40f353642a79792bbbdf3d51be10fc86fe47792b5e431205208 |
|
MD5 | de7495c53a28300c4b71c843e2de8eb4 |
|
BLAKE2b-256 | 5d086ca587cab00a69f3723a851f80f6ac0982f638a84c44d3b1802224a87e60 |