
Security News
NVD Quietly Sweeps 100K+ CVEs Into a “Deferred” Black Hole
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
batch-ingestion-client-py
Advanced tools
This is a Python client library for the BatchIngestion MediaWiki extension, which provides an API to ingest many entities at once. This library allows you to easily ingest entities in bulk, either by parsing them from JSON or by creating them using Python objects.
You can install this library using pip:
pip install batch-ingestion-client-py==1.0.4
from batch_ingestion_client_py import (
BatchIngestor,
Entity,
ValueInLanguage,
)
ingestor = BatchIngestor(
base_url="https://your-wiki.com",
username="your-username",
password="your-password",
)
example1 = ingestor.ingest([
Entity.parse({
"type": "item",
"labels": {
"en": {
"language": "en",
"value": "Hello, world!",
},
},
})
])
print(example1)
example2 = ingestor.ingest([
Entity(
type="item",
labels={
"en": ValueInLanguage(
language="en",
value="Hello, world!",
),
},
),
])
print(example2)
If you'd like to contribute to this library, please feel free to submit a pull request.
FAQs
A client for the BatchIngestion mediawiki API
We found that batch-ingestion-client-py demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD now marks all pre-2018 CVEs as "Deferred," signaling it will no longer enrich older vulnerabilities, further eroding trust in its data.
Research
Security News
Lazarus-linked threat actors expand their npm malware campaign with new RAT loaders, hex obfuscation, and over 5,600 downloads across 11 packages.
Security News
Safari 18.4 adds support for Iterator Helpers and two other TC39 JavaScript features, bringing full cross-browser coverage to key parts of the ECMAScript spec.