Skip to main content

A Python client library for interacting with the specific API.

Project description

Contributor Covenant

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

  1. Clone the repository:

    git clone https://github.com/sci-ndp/pop-py.git
    cd pop-py
    
  2. Create and activate a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate
    
  3. Install the package in editable mode:

    pip install -e .
    
  4. 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:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/new-feature)
  3. Make your changes and commit (git commit -m 'Add new feature')
  4. Push to the branch (git push origin feature/new-feature)
  5. 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

pointofpresence-0.5.2.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pointofpresence-0.5.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file pointofpresence-0.5.2.tar.gz.

File metadata

  • Download URL: pointofpresence-0.5.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pointofpresence-0.5.2.tar.gz
Algorithm Hash digest
SHA256 d858e45b514e62e76c93d1c219f1e8e9199e5774d13973fbd84b869dd4488cf8
MD5 729588b384631f31f92f82fe2c49148e
BLAKE2b-256 3922c7fcea721cb88f2bc7fc431338adeec74aba474ba8bba94978c2cabb259f

See more details on using hashes here.

File details

Details for the file pointofpresence-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pointofpresence-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93db9e39338e7950e7683f2e1fda4dbe4c7ec39df9c89c1dd2c9c0b74031c732
MD5 255ec3edb9122a5c885d5ce18e34ba86
BLAKE2b-256 99b1b264dd7e24e01fbc9fd91e0a6ae5e82788e760497ebedf7e4b86f58ac0a9

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