Skip to main content

evernote-to-sqlite

PyPI Changelog Tests License

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.

This used to be able to export everything in one go, but it looks like more recent Evernote versions only allow exporting up to fifty notes at a time, or let you export an entire notebook by right-clicking on the notebook and selecting "Export notebook...".

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

Metadata

Release files for evernote-to-sqlite 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evernote-to-sqlite 0.3.2
File Size Uploaded
evernote-to-sqlite-0.3.2.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evernote-to-sqlite 0.3.2
File Interpreter ABI Platform
evernote_to_sqlite-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / evernote-to-sqlite-0.3.2.tar.gz

Download URL evernote-to-sqlite-0.3.2.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6480bfe89fafcebddeee96597f8672958256b18a1ed24766ebcec7a9b783765a
BLAKE2b-256 checksum
How to use checksums
7d528c20054670d1d79ce7ff2ebfa4a1d7619ae82686b30a8903f2ed762ef618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release files / evernote_to_sqlite-0.3.2-py3-none-any.whl

Download URL evernote_to_sqlite-0.3.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5de8f7ff660d31446f43ea1772e284fdf16dc414c6388875074fc939f0aad85d
BLAKE2b-256 checksum
How to use checksums
ad26903651a7589c1ddfbcc4cf0b299e4396cbbd99c021617a531a54729bc0ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page