google-takeout-to-sqlite
Save data from google-takeout to a SQLite database.
How to install
$ pip install google-takeout-to-sqlite
Request your Google data from https://takeout.google.com/ - wait for the email and download the zip file.
This tool only supports a subset of the available options. More will be added over time.
My Activity
You can request the "My Activity" export and then import it with the following command:
$ google-takeout-to-sqlite my-activity takeout.db ~/Downloads/takeout-20190530.zip
This will create a database file called takeout.db if one does not already exist.
Location History
Your location history records latitude, longitude and timestame for where Google has tracked your location. You can import it using this command:
$ google-takeout-to-sqlite location-history takeout.db ~/Downloads/takeout-20190530.zip
Browsing your data with Datasette
Once you have imported Google data into a SQLite database file you can browse your data using Datasette. Install Datasette like so:
$ pip install datasette
Now browse your data by running this and then visiting http://localhost:8001/
$ datasette takeout.db
Install the datasette-cluster-map plugin to see your location history on a map:
$ pip install datasette-cluster-map
Metadata
Release files for google-takeout-to-sqlite 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| google_takeout_to_sqlite-0.2-py3-none-any.whl | Python 3 | none | any | Details for google_takeout_to_sqlite-0.2-py3-none-any.whl |
Release files / google_takeout_to_sqlite-0.2-py3-none-any.whl
| Download URL | google_takeout_to_sqlite-0.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0634a68aeee33e839b4c23446ed2954d9e9795364e23c2a61c6e2aff4030f28
|
|
BLAKE2b-256 checksum How to use checksums |
61bdc76a0fc13144b8ad492ffebe63f9a67226a8d54997d677b524a5165858d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9
|
Security for google-takeout-to-sqlite 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.