lauteur ====== Tools for ascribing authorship - to the
chagrin of
`Barthes <http://en.wikipedia.org/wiki/Death_of_the_Author>`__
Install
pip install lauteur
Test
Requires nose
nosetests
Usage
lauteur has two methods: from_string and from_html
from_string is mostly used in RSS Feed parsing where authors are sometimes embedded as bylines:
import lauteur
string = 'By: Brian Abelson ,and Michael H. Keller & Dr. Stijn Debrouwere IV'
authors = lauteur.from_string(string)
print authors
# ['Brian Abelson', 'Michael H Keller', 'DR Stijn Debrouwere IV']
from_html searches through common meta tags for authors.
import lauteur
import requests
r = requests.get('http://www.nytimes.com/2013/12/20/books/michiko-kakutanis-10-favorite-books-of-2013.html')
authors = lauteur.from_html(r.content)
print authors
# ['Michiko Kakutani']
Todo:
[ ] Find more meta tags.
[ ] Improve name formatting algorithm.
Metadata
Release files for lauteur 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lauteur-0.0.6.tar.gz | 3.8 kB | Without provenance | Details for lauteur-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lauteur-0.0.6.macosx-10.9-intel.exe | Details for lauteur-0.0.6.macosx-10.9-intel.exe |
Total release size: 71.6 kB
Release files / lauteur-0.0.6.tar.gz
| Download URL | lauteur-0.0.6.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f63304e2a955828b0cbb750cb3974c6097fddd64bdb610a3834258b983766b65
|
|
BLAKE2b-256 checksum How to use checksums |
8663170dc4813813ef40661f8f892ccc046e0efd7071464ce7de4fb204d141be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / lauteur-0.0.6.macosx-10.9-intel.exe
| Download URL | lauteur-0.0.6.macosx-10.9-intel.exe |
|---|---|
| Size | 67.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a79243f3de2954ba47a80ce8de460549ac5824f5813d2d3d42c0aeb40433dd91
|
|
BLAKE2b-256 checksum How to use checksums |
aee3064ee465f88e6f686a1992de4de98cf19f944e5c1e86b6b966db5eb85aca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for lauteur 0.0.6
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.