location-history-total
Given a Takeout of Google Location History, generate a CSV of work history.
Requires Python 3.6+.
Example usage
-
Create a document with your points of interest:
# Format is lat, long, radius # '#' can be used to comment a line out 38.8100121,-104.6792472, 0.04 39.1355552,-121.3484781, 0.1Google Maps will be handy for determining the latitude and longitude of places.
-
Use Google Takeout to export your location history.
- Current link is https://takeout.google.com/settings/takeout?hl=en
- Support link is https://support.google.com/accounts/answer/3024190?hl=en
-
(Optional) Determine the time period(s) you're intested in and get the Unix timestamps of the start and stop dates.
-
Run the script. Assuming your POIs are in
area.txt, your location history is athistory.json, and a date range of 1 Oct 2018-1 Mar 2019:# Dump information to screen location-history-total history.json --area=area.txt --time=1538373600,1551423600 # Or to a CSV location-history-total history.json --area=area.txt --time=1538373600,1551423600 --output=results.csv
Metadata
Release files for location-history-total 0.1.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 | Actions |
|---|---|---|---|---|
| location-history-total-0.1.2.tar.gz | 4.9 kB | Without provenance | Details for location-history-total-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| location_history_total-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for location_history_total-0.1.2-py3-none-any.whl |
Total release size: 15.9 kB
Release files / location-history-total-0.1.2.tar.gz
| Download URL | location-history-total-0.1.2.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0531e577c66f72cad016461cb29c871efbed3124dce2735c6b7d683e432d9b41
|
|
BLAKE2b-256 checksum How to use checksums |
a38ac11aa252d40b62b00947e0a4d79ddf377663d6816b343227fd6caf61dee7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.10 CPython/3.6.7 Linux/4.15.0-43-generic
|
Release files / location_history_total-0.1.2-py3-none-any.whl
| Download URL | location_history_total-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b90faad498303fd8ae0e9c34d2dea10fe42809e8e7ebbd19b8bb45a02391504c
|
|
BLAKE2b-256 checksum How to use checksums |
3dbdaab79879ee33a4f6d87a7e597ff5384b5497698570df73563083c8e0f9f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.10 CPython/3.6.7 Linux/4.15.0-43-generic
|
Security for location-history-total 0.1.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.