diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..f8311cf3f19735ab169f04deffdd6601a8356870
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@
+# Ignore IDE and backup files.
+*~
+.#*
+
+# Ignore Python artefacts.
+.eggs/
+.pytest_cache/
+__pycache__/
+*.egg-info/
+*.pyc
+
+# Ignore project temporary directory.
+tmp/