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
credigraph-0.4.1.tar.gz 8.9 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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