Skip to main content

Invest PIR API Client

CircleCI codecov PyPI

Client for the PIR service (yet to be deployed)

Example

from pir_client.client import PIRAPIClient

client = PIRAPIClient(
    base_url=settings.PIR_API_URL,
    api_key=settings.PIR_API_KEY
)

# Creates report and sends email
client.create_report({
    'name': 'test',
    'sector': 'tech',
    'market': 'usa',
    'company': 'Acme',
    'email': 'foo@acme.com'
})

Install

pip install invest-pir-api-client

Metadata

Release files for pir-client 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pir-client 1.2.1
File Interpreter ABI Platform
pir_client-1.2.1-py3-none-any.whl Python 3 none any Details

Release files / pir_client-1.2.1-py3-none-any.whl

Download URL pir_client-1.2.1-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11faa4ca71d2fd0ffabaa026079c25d68fb4db9ea8023860a74dbf71dfcd3fee
BLAKE2b-256 checksum
How to use checksums
d8a69ca70149cdfda5704d7e9c73b81001c6f51f07ec20579fa91913dc29f96c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.9

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.2.0

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page