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.16.tar.gz (11.7 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.16-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: p2f_client_py-0.0.16.tar.gz
  • Upload date:
  • Size: 11.7 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.16.tar.gz
Algorithm Hash digest
SHA256 40e966c30c68719c5532ff5f78f7a5f1f869be41fc0a965a16c8768d9a6a7cee
MD5 a0f9311f1d56eba5b5429315d9cb5336
BLAKE2b-256 add07cf6a9a8986a64968a69c5fb7d8fd676118501b261b5d4527ad54ef6f473

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: p2f_client_py-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 165bf4476d56fb99f3808dea89e301301a2cb60ca9d399654bb12e453d8cab93
MD5 79a903425c2e91b33c5abea4e8388d0e
BLAKE2b-256 0dd8f8bf319880782bfaf6d0d536c77d996637cda751e06c66165d501077461e

See more details on using hashes here.

Provenance

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