Skip to main content

Auto fetch Meta data Entries

This repository is intended as a starting point for fetching metadata from online sites.

It is to be integrated into the ColLi backend for the collaborative Literature management.

Install

The following packages have to be installed:

python3 BeautifulSoup4 URLlib python bibtexparser

to install under Ubuntu:

apt install python3 python3-bs4 python3-urllib3 python3-bibtexparser

Alternatively, just install python3 and do the rest via pip from the project directory:

pip install -r requirements.txt

Adding more sites.

If there is no parser for a specific site, it can be created in the sites folder.

Naming convention is, that the file name and the class name inside this file must be the domain name without any subdomains or top-level domains. So for https://dl.acm.org/ it is just acm

An example is provided in sites/example.py

Every class must be a subclass of landingPage and can implement one of the following functions:

    def getBibTeX(self, link, soup):
        return None

    def getDict(self, link, soup):
        return None

Parameters are in both cases the URL of the landing page of the DOI resolver and the page as a parsed beautifulsoup object.

They are seperated by their return value.

getBibTeX must return a valid BibTeX entry or None. getDict must return a python Dictionary with the field names according to the Dublin Core Standard.

Metadata

Release files for metadata-expander 0.2.4

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

Source distribution (sdist)

Source distribution for metadata-expander 0.2.4
File Size Uploaded Provenance Actions
metadata_expander-0.2.4.tar.gz 11.8 kB Without provenance Details for metadata_expander-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for metadata-expander 0.2.4
File Interpreter ABI Platform Actions
metadata_expander-0.2.4-py3-none-any.whl Python 3 none any Details for metadata_expander-0.2.4-py3-none-any.whl

Total release size: 24.6 kB

Release files / metadata_expander-0.2.4.tar.gz

Download URL metadata_expander-0.2.4.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
26da1ef4887534f656f730f38587f475dab7e630808c028baa09ad46c44568cb
BLAKE2b-256 checksum
How to use checksums
18eb0ab0ddefac43bc3ae8e849520f650968e710b8a174fb45d5dd94b473bbe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / metadata_expander-0.2.4-py3-none-any.whl

Download URL metadata_expander-0.2.4-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dee2cb1705ce39c978243cb98f14c7c961e890ea109018201b93f59b760a8e0
BLAKE2b-256 checksum
How to use checksums
f5772a101c3bea4197b65ab0ad1a3297e6a00252d9ec5239b6114f6f4f8b15ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Security for metadata-expander 0.2.4

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