Metadata-Version: 2.4
Name: p2f-client-py
Version: 0.0.14
Summary: API Client library for the Past to Future project.
Author-email: Garrett Speed <g.t.speed@uu.nl>
Project-URL: Homepage, https://github.com/Past-to-Future-EU-Horizon/p2f-client-py
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: furl>=2.1.4
Requires-Dist: p2f-pydantic
Requires-Dist: pandas>=2.3.3
Requires-Dist: pyjwt>=2.10.1
Requires-Dist: python-dotenv>=1.1.0
Requires-Dist: requests>=2.32.3

# 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()
