Skip to main content

No project description provided

Project description

Smart Notes Vault Python Library

The main purpose of this library is to provide Python utilities for working with Smart Notes Vault files, enabling automation scripts to interact with them.

Table of Contents

Introduction

Smart Notes Vault is a note-manipulation library helps with automatization, like utilizes metadata and tags to organize and manage notes efficiently. This Python library aims to facilitate seamless integration with the Smart Notes Vault files and enable developers to build automation scripts for various tasks, making note management a breeze.

Features

  • Easy manipulation of metadata in the Smart Notes Vault file header.
  • Convenient handling of note tags for categorization and organization.
  • (Add more features if applicable)

Installation

You can install the Smart Notes Vault Python library using pip:

pip install smart-notes-vault

Usage

Include code examples or detailed instructions on how to use your library.

# %% imports
import snv

# %% Open vault
vault = snv.open_vault("./../Honza")
vault

# %% Test find all
all_notes = vault.find_note_by_path("/*")
len(all_notes)

# %% Find all notes with Honza tag
notes_with_tag_Honza = []
for note in all_notes:
    try:
        if note.header:
            tags = note.header.tags()
            if "Honza" in tags:
                notes_with_tag_Honza.append(note)
    except:
        if __debug__:
            print(f"Skip note {note!r}")
        
len(notes_with_tag_Honza)

# %% Remove tag
modify_notes = []
for note in notes_with_tag_Honza:
    new_note = note.header.remove_tag("Honza")
    modify_notes.append(new_note)
    
len(modify_notes)

# %% Save results
for note in modify_notes:
    vault.save_note(note)
  1. Contribution Guidelines: Encourage contributions and provide guidelines for potential contributors.

Contribution

Contributions to the Smart Notes Vault Python library are welcome! If you find any bugs, have feature requests, or want to make improvements, please follow the steps below:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes and commit them
  4. Push the changes to your forked repository
  5. Create a pull request to the main repository

We appreciate your help in making this library even better!

License

This project is licensed under the MIT License.

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

smart_notes_vault-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smart_notes_vault-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file smart_notes_vault-1.0.0.tar.gz.

File metadata

  • Download URL: smart_notes_vault-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.7.4 CPython/3.10.12

File hashes

Hashes for smart_notes_vault-1.0.0.tar.gz
Algorithm Hash digest
SHA256 741a44d5f82aac48442c7689441260a95651ba9202a797a1e131d37780472d4b
MD5 9580bdafd5a861bc5082bcc681e4c24f
BLAKE2b-256 79a488942dca495e20cf81c04e91d2d2e1aba9aa192932995cd6108a63373ce7

See more details on using hashes here.

File details

Details for the file smart_notes_vault-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for smart_notes_vault-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9932b41b95c08bc694356d2f143c4550196c2159e28aff829926b3f6df91adf8
MD5 ccd2332715f76923740f9739ef1c080c
BLAKE2b-256 ee8ff1bfdaf44c432f9ea62b50650482fb86a64aca37e3d8a7b51d113ba780e3

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