Skip to main content

A simplistic, versatile companion to browse, navigate and visualize your text-based Zettelkasten.

Project description

nik

PyPi AGPL License

General Information

nik is a simplistic, versatile implementation of the Zettelkasten note-taking method roughly based on the original Zettelkasten introduced by German sociologist and philosopher Niklas Luhmann. It is based on plain-text markup files and intends to not get into your way whenever possible. Think of it more like a useful companion that helps you to browse, navigate and visualize your text-based Zettelkasten.

Features

  • Plain-text markup files (Markdown, Org-mode, AsciiDoc)
  • HTML based web view of your Zettelkasten (using static site generator)
  • LaTeX support for web view (using MathJax)
  • GraphML export of your Zettelkasten

Installation

You can install nik from The Python Package Index (PyPI). To do this, run the following command:

  • pip install nik

Usage (CLI)

Initialize a directory as your Zettelkasten with nik init <PATH>. Following on you can either provide the path to the Zettelkasten directly (-d option) or use the environment variable ZETTELKASTEN_PATH to point to your Zettelkasten. To show some basic information about your Zettelkasten run nik status. You can always run nik --help to ask for help.

Usage (Python)

Did you know that nik is both a command-line tool and a Python library? This is how it works:

from nik import Zettelkasten

path = '~/Zettelkasten'
z = Zettelkasten(path)

# Let's perform a rescan of the Zettelkasten directory
z.scan()

# Print all files in the index
print(z.index.files)

Development

  • Create and activate virtual environment: e.g. mkvirtualenv -p /usr/bin/python nik
  • Install: pip install -e .
  • Run: python -m nik

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

nik-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

nik-0.1.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file nik-0.1.0.tar.gz.

File metadata

  • Download URL: nik-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for nik-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b127cfb1d20398ef92fd850bcdf726723ddbd09b5dcc233edf7ef60e080c1987
MD5 27476493b07c35ae3c30a5d8a5d146aa
BLAKE2b-256 a568148ac1603ed4092a221e39f25d96e32aa5fa045daaa826bbeba983b0fd28

See more details on using hashes here.

Provenance

File details

Details for the file nik-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nik-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for nik-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a31a3d7197290a4159bbed03ab5fa520c565649ff464e699faf360b546c25bbf
MD5 59b695c46f0bfe057497199e94d90b03
BLAKE2b-256 e6a15cd0dbfe4b68a89e60e1a27b29c88317e3f05129f1906beec1ebd77263cb

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page