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.15.tar.gz (9.1 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.15-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p2f_client_py-0.0.15.tar.gz
  • Upload date:
  • Size: 9.1 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.15.tar.gz
Algorithm Hash digest
SHA256 4133aa64306d944a684690705e804b76a7667fc78f3cd4daa49bb506a9555ffb
MD5 ec2f21152e61a1d1825a9a9868f22567
BLAKE2b-256 e924bbf370adb2b9e57a79c9a9d19e9ff1c5b0b8888aa2aedf386e637a202307

See more details on using hashes here.

Provenance

The following attestation bundles were made for p2f_client_py-0.0.15.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.15-py3-none-any.whl.

File metadata

  • Download URL: p2f_client_py-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 13.8 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.15-py3-none-any.whl
Algorithm Hash digest
SHA256 7998bfdb3b69a6feaa6735b543a2c4b878232fc1e607eb1234934a6a49aa0196
MD5 87ee69ccf9f2e848e398f65d72c42ce6
BLAKE2b-256 b09259633841603030938f587e99a3ec0bf0dae2347597258534596e3b033947

See more details on using hashes here.

Provenance

The following attestation bundles were made for p2f_client_py-0.0.15-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