A template-based metadata extractor.
Project description
Introduction
=====
**nsi.metadataextractor** is a metadata extractor for academic (Portuguese-BR) documents like:
```
Course Conclusion (ABNT format)
Event Article
Periodic Article
Supported extention: .pdf
```
Setup
=====
pip install nsi.metadataextractor
Example
=====
**Python**
from nsi.metadataextractor.extractors import tcc, event, periodic
path = "/home/stuff/tccdocument.pdf"
tccextractor = tcc.TccExtractor(path)
eventextractor = event.EventExtractor(path)
periodicextractor = periodic.PeriodicExtractor(path)
tccextractor.all_metadata()
eventextractor.all_metadata()
periodicextractor.all_metadata()
**Bash**
>>> extract_metadata /home/stuff/tccdocument.pdf -t tcc
>>> extract_metadata /home/stuff/eventdocument.pdf -t event
>>> extract_metadata /home/stuff/periodicdocument.pdf -t periodic
=====
**nsi.metadataextractor** is a metadata extractor for academic (Portuguese-BR) documents like:
```
Course Conclusion (ABNT format)
Event Article
Periodic Article
Supported extention: .pdf
```
Setup
=====
pip install nsi.metadataextractor
Example
=====
**Python**
from nsi.metadataextractor.extractors import tcc, event, periodic
path = "/home/stuff/tccdocument.pdf"
tccextractor = tcc.TccExtractor(path)
eventextractor = event.EventExtractor(path)
periodicextractor = periodic.PeriodicExtractor(path)
tccextractor.all_metadata()
eventextractor.all_metadata()
periodicextractor.all_metadata()
**Bash**
>>> extract_metadata /home/stuff/tccdocument.pdf -t tcc
>>> extract_metadata /home/stuff/eventdocument.pdf -t event
>>> extract_metadata /home/stuff/periodicdocument.pdf -t periodic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nsi.metadataextractor-1.2.tar.gz
(31.9 kB
view details)
File details
Details for the file nsi.metadataextractor-1.2.tar.gz
.
File metadata
- Download URL: nsi.metadataextractor-1.2.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ebcb63632268e853265b29754d7549ac385b60b46a3fce981e1ebdca453cf0 |
|
MD5 | e3ff7bf68921a574530708407b3ac371 |
|
BLAKE2b-256 | 652796452ff7ca8a8caf37f85f5622691a8a617b9a8a418f16a779834d718649 |