evekeys: Isolate keywords from an event-based and custom-grouped textual corpus
By Chris Lindgren chris.a.lindgren@gmail.com
Distributed under the BSD 3-clause license. See LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause for details.
Documentation: https://evekeys.readthedocs.io/en/latest/
Overview
A set of functions that uses scikit-learn to conduct a TF-IDF analysis to isolate keywords from event-based documents. It answers the following questions:
- What keywords represent a particular period of content?
- What keywords represent a particular group of content from a particular period?
It assumes you have:
- imported your corpus as a pandas DataFrame,
- included metadata information, such as a list of dates and list of groups to reorganize your corpus, and
- pre-processed your documents.
It functions only with Python 3.x and is not backwards-compatible.
Warning: evekeys performs little to no custom error-handling, so make sure your inputs are formatted properly. If you have questions, please let me know via email.
System requirements
- pandas
- sklearn
- tqdm
Installation
pip install evekeys
Known Issues or Limitations
- Please contact me if you discover any issues.
Example notebooks
- Coming soon.
Distribution update terminal commands
# Create new distribution of code for archiving sudo python setup.py sdist bdist_wheel # Distribute to Python Package Index python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
Metadata
Release files for evekeys 0.0.2
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 | |
|---|---|---|---|---|
| evekeys-0.0.2.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| evekeys-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / evekeys-0.0.2.tar.gz
| Download URL | evekeys-0.0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29ba57a6de1f235b1c9142c60b3468451ea6408da4eb43b53568e832db890b82
|
|
BLAKE2b-256 checksum How to use checksums |
81589b8db48b1bde8c4b2645dc2fce71009c36ec2ead6e57a417fa40f464508c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / evekeys-0.0.2-py3-none-any.whl
| Download URL | evekeys-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd3244c88b5d1ee01c694c611a4ae0357d14d5760e96bbbfb9a7301e451dacb3
|
|
BLAKE2b-256 checksum How to use checksums |
4c83fb74e688efd15b7bfcc2f2fb8d3e054b954d852ff257d0a428c3d05ecf4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for evekeys 0.0.2
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.