Skip to main content

DARARD.FR COMMON API PACK

This package is used by the APIs deployed on dadard.fr.

It calls the Main API to check the subscriptions and the profiles’ key.

Install it this way : pip install dadard-apis-common-pack

You can import the package in your code this way :

from CommonPack import CommonCaller

profile_key = 'some_private_key'

# check if the key is associated to a valid user
CommonCaller.check_profile_key(profile_key)

# check if the api given has been subscribed by this key
CommonCaller.check_is_subscribed(profile_key, api_name)

# check if the api given has not been subscribed by this key
CommonCaller.check_is_not_subscribed(profile_key, api_name)

Metadata

Release files for dadard-apis-common-pack 1.18

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

Source distribution (sdist)

Source distribution for dadard-apis-common-pack 1.18
File Size Uploaded Provenance Actions
dadard_apis_common_pack-1.18.tar.gz 2.4 kB Without provenance Details for dadard_apis_common_pack-1.18.tar.gz

Release files / dadard_apis_common_pack-1.18.tar.gz

Download URL dadard_apis_common_pack-1.18.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0fa7b8b1138f6c84424e75089fcdb1bf15c9e6922d49f594ab580058d6407e2c
BLAKE2b-256 checksum
How to use checksums
4fe9c5a15a0b1140ef3b14f678e417ab864b859ffa3e3084da11e903390a3f9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.8.0

Security for dadard-apis-common-pack 1.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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