CrediNet
Graph and Machine Learning-based domain credibility assessments on the web.
For more details, refer to the full documentation:
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
- OpenAPI spec: openapi.yaml
- Developing guide (versioning, testing): credigraph/README.md
Refer to the full config documentation for more details.
Support
- Issues: GitHub Issues
- Documentation: read the official CrediGraph documentation or the repo's README (client usage) + credigraph/README.md (developer workflow)
- Further issues: contact the developers.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| credigraph-0.4.1.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|