Skip to main content

CrediNet

CrediNet Logo

Graph and Machine Learning-based domain credibility assessments on the web.

PyPI Downloads Paper Hugging Face License: CC BY 4.0

For more details, refer to the full documentation:

Docs


Install

pip install credigraph

Quick Start

from credigraph import query, query_batch

# Single domain
result = query("apnews.com")
print(result["credible"])

# Multiple domains
results = query_batch(["apnews.com", "cnn.com", "reuters.com"])
for result in results:
    print(result["credible"])

Input Normalization

The client handles various input formats:

query("example.com")
query("www.example.com")
query("https://example.com/article?x=1")
query("EXAMPLE.COM") 
# will all resolve to example.com

Response Format

For one domain's credibility score, use the query() endpoint:

{
    "domain": "apnews.com",
    "credible": true
}

For a list of domains, use the query_batch() batch endpoint:

[
    {"domain": "apnews.com", "credible": true},
    {"domain": "cnn.com", "credible": true},
    {"domain": "example.com", "credible": false}
]

Refer to the full documentation for more details.

Versioning

The CrediGraph API follows semantic versioning:

import credigraph
print(credigraph.__version__)  # 0.4.0

Refer to the full versioning documentation for more details.

API Contract

Refer to the full config documentation for more details.

Support

Metadata

Release files for credigraph 0.4.1

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

Source distribution (sdist)

Source distribution for credigraph 0.4.1
File Size Uploaded Provenance Actions
credigraph-0.4.1.tar.gz 8.9 kB Without provenance Details for credigraph-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for credigraph 0.4.1
File Interpreter ABI Platform Actions
credigraph-0.4.1-py3-none-any.whl Python 3 none any Details for credigraph-0.4.1-py3-none-any.whl

Total release size: 15.9 kB

Release files / credigraph-0.4.1.tar.gz

Download URL credigraph-0.4.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ab2d8558496ae45af55e6f4f0265fc12af45278462d37074d508930e9f1b4444
BLAKE2b-256 checksum
How to use checksums
069e6db405bc5cafb9827f570ffb3033055a92b12c6c6c534ae7432e806bb7c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / credigraph-0.4.1-py3-none-any.whl

Download URL credigraph-0.4.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53d5e2935a637fa8130f2b9cd82ad21f23380195e9e8dae493330773765d061e
BLAKE2b-256 checksum
How to use checksums
3e3f2d156e4fd0e24488fc4ad7fa50206c962b18ca01fe6b5b263456594750db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for credigraph 0.4.1

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