Skip to main content

A simple, command line, note taking utility.

Project description

Synopsis

Mimir is a simple, command line based note taking application. Designed with git syntax and usage in mind, its aim is to provide quick, concise notes, that can be easily included in the project/directory where they are created.

Code Example

Mimir can be initialized within any directory. Each mimir instance keep track of its own notes.

Initialize mimir within a directory:

mimir init

This will create a new directory, .mimir, and a config file, .mimir/.mimir-config

Delete mimir from a directory:

mimir delete

This deletes the mimir present in the working directory. It will also delete any config files and all notes.

To create a new note, simply:

mimir This is my brand new note!

Or, to add a new note with tags:

mimir This is a note with a @tag

The note will be added to .mimir/mimir_notes.txt

To show notes:

mimir -s 1
mimir -s 2

Will show the last one and two notes, respectively.

mimir @tag1
mimir @tag1 @tag2

If only tags are provided to mimir, it will assume you want to search by tags, rather than create a new note

Notes can also be searched via date fences:

mimir --since 2010 --until october
mimir --since june
mimir --until 2015

Date fences can be mixed with tags and the -s option for more fine grained searching.

To edit notes:

mimir edit

This will open the mimir notes file in your specified editor (this must be set in .mimir-config)

Finally, you can also view the status of your mimir, view a count of all tags present, or delete it entirely:

mimir status
mimir tags
mimir delete

Installation

Install via pip:

pip install mimirnotes

Tests

Mimir uses Pytest for testing.

From the root project directory, simply run pytest

License

Copyright (c) 2016 Jeremy Cerise

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

MimirNotes-0.5.0.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file MimirNotes-0.5.0.tar.gz.

File metadata

  • Download URL: MimirNotes-0.5.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for MimirNotes-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b6fc86892f372f114e17c6dffde15990295ee9ad69e6d401a7f7fd7f2f6e115f
MD5 e882848fbcc843e054cb6dd0c01e3347
BLAKE2b-256 2b14eeaf6213acae2daa034a52d481b600572483ff6e03746ea998a2311b78f1

See more details on using hashes here.

Supported by

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