geoso
A Python package for collecting and spatio-temporal analysis of social media contents
- GitHub repo: https://github.com/MahdiFarnaghi/geoso
- PyPI: https://pypi.org/project/geoso/
- Documentation: https://MahdiFarnaghi.github.io/geoso
- Free software: MIT license
Introduction
geoso is a Python library, being developed to facilitate collection, cleansing, and spatial and spatio-temporal analysis of social media data.
The vision is that the library provided the possibility to download geo-tagged social media content into a database, e.g., PostgreSQL, preprocess the stored data, retrieve, and analyse the data.
Features
- Twitter
- Download tweets from Twitter Streaming API and save them into either a database or JSON Lines text files.
- Import tweets that were from JSON Lines text files into the database.
- Export tweets to CSV file.
- Clean tweets text in the database.
- Retrieve tweets from the database as pandas DataFrame.
Under development features
- Twitter
- Clean tweets text in the database.
- Detect tweets that were published by bots.
Scientific publications
If you are using this library, the following scientific publications could be of your interest.
-
Farnaghi, M., Ghaemi, Z., & Mansourian, A. (2020). Dynamic Spatio-Temporal Tweet Mining for Event Detection: A Case Study of Hurricane Florence. International Journal of Disaster Risk Science, 11, 378-393.
-
Ostermann, F. O. (2021). Linking geosocial sensing with the socio-demographic fabric of smart cities. ISPRS international journal of geo-information, 10(2), 1-22. [52].
-
Zahra, K., Imran, M., Ostermann, F. O. (2020). Automatic identification of eyewitness messages on twitter during disasters. Information processing & management 57 (1), 102107
-
Ghaemi, Z. & Farnaghi, M. 2019. A Varied Density-based Clustering Approach for Event Detection from Heterogeneous Twitter Data. ISPRS International Journal of Geo-Information, 8 (2).
Credits
- spaCy is used for cleaning texts.
- Tweepy is used to develop Twitter data retrieval functionalities.
- This package was created with Cookiecutter and the giswqs/pypackage project template and instructions from Python Packages book.
Metadata
Release files for geoso 0.0.11
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 |
|---|---|---|---|---|
| geoso-0.0.11.tar.gz | 23.1 kB | Without provenance | Details for geoso-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geoso-0.0.11-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for geoso-0.0.11-py2.py3-none-any.whl |
Total release size: 46.9 kB
Release files / geoso-0.0.11.tar.gz
| Download URL | geoso-0.0.11.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47ea470ccb8c2921abe8122b35543b41fe70e53084f54c95309e262ddc0dae12
|
|
BLAKE2b-256 checksum How to use checksums |
ba208d8d3e06423c2e63a2ea932a5fa847d10746bbe78b216c15c3f338c1a0df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / geoso-0.0.11-py2.py3-none-any.whl
| Download URL | geoso-0.0.11-py2.py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
813e0158eb04cd0ee1a93f10c11475fe2f295c947e964363cb892f6c07b31c08
|
|
BLAKE2b-256 checksum How to use checksums |
925b4e65d3f231d103573079b9132104b865dbf1b5949840321fb1f0d47f2aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for geoso 0.0.11
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.