Skip to main content

API Client library for the Past to Future project.

Project description

p2f-client-py

Python client library for the Past to Future projects Portal. Past to Future is an EU Horizon funded project.

Installation

pip install p2f-client-py

Usage

Create a client

from p2f_client import P2F_Client

p2f_api_url = "{fill in API URL here}"
port = 443

client = P2F_Client(hostname=p2f_api_url, https=True, email="your@email.dm")

# request a token
client.request_token()

# Open your local file and update the configuration with your new p2f token. 
client.set_token()

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

p2f_client_py-0.0.17.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

p2f_client_py-0.0.17-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file p2f_client_py-0.0.17.tar.gz.

File metadata

  • Download URL: p2f_client_py-0.0.17.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for p2f_client_py-0.0.17.tar.gz
Algorithm Hash digest
SHA256 77808d44d0d5ac86f7496e3bc6d30e2569f7dacee7df18730b9b1667bf91e614
MD5 58e8d83cabf2c82b92beb556d5629717
BLAKE2b-256 7a7e3c70e10fb00949ae792de8e33eef07eadbb27738ce64dcd62a9f0d8c9827

See more details on using hashes here.

Provenance

The following attestation bundles were made for p2f_client_py-0.0.17.tar.gz:

Publisher: pypi-publish.yml on Past-to-Future-EU-Horizon/p2f-client-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file p2f_client_py-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: p2f_client_py-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for p2f_client_py-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 60bd054281ae23e6409d209530632caff2d33e7ac3e7130169c43b5ab2ceb026
MD5 c79079e372a793cf4198bf065c5e0e2a
BLAKE2b-256 05feee49350837f4a59574419f4d9e66238766a2598a40129d629317f7cbcda3

See more details on using hashes here.

Provenance

The following attestation bundles were made for p2f_client_py-0.0.17-py3-none-any.whl:

Publisher: pypi-publish.yml on Past-to-Future-EU-Horizon/p2f-client-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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