SciELO Publishing Schema XML document front matter metadata reader/sanitizer
Project description
Clea
This project is an XML front matter metadata reader for documents that almost follows the SciELO Publishing Schema, extracting and sanitizing the values regarding the affiliations.
Installation
Installation with minimal requirements, intended for use within Python, as an imported package:
pip install scielo-clea
Installation for use as a server:
pip install scielo-clea[server]
Running
You can run the development server using the flask CLI. For example, for listening at 8080 from every host:
FLASK_APP=clea.server flask run -h 0.0.0.0 -p 8080
In a production server with 4 worker processes for handling requests, you can, for example:
- Install gunicorn (it's not a dependency)
- Run
gunicorn -b 0.0.0.0:8080 -w 4 clea.server:app
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
File details
Details for the file scielo-clea-0.1.1.tar.gz
.
File metadata
- Download URL: scielo-clea-0.1.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ba5e47fdc07ed45a3cda3cb1987e44af586d3775dc0a4b16237e0dcc5e87d8 |
|
MD5 | 60a6f1a9161b213d03084fc09b5aa199 |
|
BLAKE2b-256 | c41721fb4b41b4998f42fcce8b28e0147139212d6577ef23ff742a76e83efe59 |