GreParl
A simple web-app-based Search Engine built on top of the Greek Parliament Proceedings
Name
grep + Greek Parliament
Install - GreParl Package
- Run (ideally in a fresh venv)
pip install greparl - Download the required data files and, if needed, decompress them in the desired directory (see below)
Install - Data File Dependencies
The required data files that are not shipped along with the package include the Search Engine's indices, the parliament proceedings' file and some other tasty stuff.
- The raw proceedings can be downloaded here: speeches.csv. The extracted file should be renamed to
speeches.csv - The Search Engine's core can be downloaded here: information-retrieval.tar.gz
Those files should be decompressed in the same directory from which the user will run the GreParl.
Alternatively, all required files (apart from speeches.csv) can be auto-generated.
Run
- Activate venv
- Run
greparlorpython -m greparland wait for signs of life.. - The default browser should open up automatically, but if not, browse to "http://127.0.0.1:5000/" manually
Features
Search
You can either search for a specific speech, or preview a random one (totally original..).
Results
You can preview the speeches in Results page. No pagination is available at time.
Deep Search
You can perform a deeper search which will return speeches that are similar not identical to query.
Speech View
You can read a specific speech and/or its metadata. Also, in Speech page, a shortcut is provided for highlighting the current speech.
Highlights
You can find the most important keywords of a specific speech or set of speeches.
Speech sets can be grouped by parties or parliament members and can be limited using date ranges.
Similarities
You can compare parliament members to find out who tend to speak about the same topics the most.
Προβλέψεις
You can predict the party that is likely to have said an arbitrary phrase of choice.
Important Notes
The author of this package is not the creator of Search Engine's core. All credits should go to Theodoros Grammenos' work. This project is just a graphical wrapper, trying to make life easier :D
Also, note that this projects ships a modified version of alup's greek_stemmer, which is originally distributed under MIT License.
Metadata
Release files for GreParl 0.3
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 |
|---|---|---|---|---|
| GreParl-0.3.tar.gz | 38.0 kB | Without provenance | Details for GreParl-0.3.tar.gz |
Release files / GreParl-0.3.tar.gz
| Download URL | GreParl-0.3.tar.gz |
|---|---|
| Size | 38.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b418b141db9503d1814abbfd5dc7e259d4c6d8a8d855302db45bcfd830859df4
|
|
BLAKE2b-256 checksum How to use checksums |
721fc9fa17313354ce1677a01647dcee760dd0405c64cbd6f58c7db0f1147754
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
|
Security for GreParl 0.3
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.