Tools for converting Evernote content to SQLite
Project description
evernote-to-sqlite
Tools for converting Evernote content to SQLite. See Building an Evernote to SQLite exporter for background on this project.
Installation
Install this tool using pip
:
$ pip install evernote-to-sqlite
Usage
Currently the only available command is evernote-to-sqlite enex
, which converts Evernote's ENEX export files into a SQLite database.
You can create an ENEX export in the Evernote desktop application by selecting some notes (or all of your notes) and using the File -> Export Notes...
menu option.
You can convert that file to SQLite like so:
$ evernote-to-sqlite enex evernote.db MyNotes.enex
This will display a progress bar and create a SQLite database file called evernote.db
.
Limitations
Unfortunately the ENEX export format does not include a unique identifier for each note. This means you cannot use this tool to re-import notes after they have been updated - you should consider this tool to be a one-time transformation of an ENEX file into an equivalent SQLite database.
ENEX exports also do not include details of which notebook a note belongs to.
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd evernote-to-sqlite
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for evernote_to_sqlite-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 279745a8c09b3d77340a9d98a3be13c25cb256bdd41f0b315746bcf449abc4d4 |
|
MD5 | c4e1e9985ecf8d59b80552dceb40689f |
|
BLAKE2b-256 | 3e50f9365a4f96c215172f7590a69ca87ff2c6b665b25294f096ce3cd67a2da0 |