pynotes-cli 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: pynotes-cli
3
+ Version: 0.1.2
4
+ Summary: A terminal Markdown personal journal and notes tool.
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: typer>=0.9.0
8
+ Requires-Dist: rich>=13.0.0
9
+ Requires-Dist: questionary>=2.0.0
10
+
11
+ # Pynotes
12
+
13
+ Pynotes is a lightning-fast terminal-based Markdown personal journal and notes tool. It allows you to seamlessly create, read, list, and filter your notes directly from the command line, while storing everything locally in a lightweight SQLite database.
14
+
15
+ ## What it Does
16
+
17
+ - **Create & Edit**: Interactively create notes with titles, tags, and Markdown content. Edit existing notes smoothly.
18
+ - **List & Filter**: View all your notes in a beautifully formatted table or filter them down by specific tags.
19
+ - **View Notes**: Render your notes with full Markdown syntax highlighting right in your terminal.
20
+ - **Local Storage**: Keeps all your data secure and accessible on your local machine (`~/.pynotes.db`).
21
+
22
+ ## Project Structure
23
+
24
+ ```text
25
+ pynotes/
26
+ ├── pyproject.toml # Project metadata and dependencies configuration
27
+ ├── README.md # Project documentation and instructions
28
+ └── pynotes/ # Main application package
29
+ ├── __init__.py # Marks the directory as a Python package
30
+ ├── main.py # Entry point defining the CLI commands using Typer
31
+ ├── db.py # Handles SQLite database connection and queries
32
+ ├── ui.py # Manages terminal output rendering using Rich
33
+ └── prompts.py # Handles interactive user inputs using Questionary
34
+ ```
35
+
36
+ ## Tech Stack
37
+
38
+ - **[Python 3.10+](https://www.python.org/)**
39
+ - **[Typer](https://typer.tiangolo.com/)**: For building the powerful command-line interface.
40
+ - **[Rich](https://rich.readthedocs.io/)**: For beautiful terminal formatting, tables, and Markdown rendering.
41
+ - **[Questionary](https://questionary.readthedocs.io/)**: For interactive and user-friendly CLI prompts.
42
+ - **[SQLite3](https://docs.python.org/3/library/sqlite3.html)**: For local database storage (built-in).
43
+
44
+ ## Instructions to Run
45
+
46
+ ### 1. Installation
47
+
48
+ **From PyPI (Recommended)**
49
+ You can install `pynotes` directly from PyPI:
50
+ ```bash
51
+ pip install pynotes-cli
52
+ ```
53
+
54
+ **From Source (For Developers)**
55
+ If you want to modify the code, install it in editable mode:
56
+ ```bash
57
+ # Clone the repository and navigate to the directory
58
+ git clone https://github.com/senku1505/pynotes.git
59
+ cd pynotes
60
+
61
+ # Install the package and its dependencies
62
+ pip install -e .
63
+ ```
64
+
65
+ ### 2. Usage
66
+
67
+ Once installed, the `pynotes` command will be globally available in your terminal environment.
68
+
69
+ **Initialize the Database:**
70
+ Initialize your local database at `~/.pynotes.db`.
71
+ ```bash
72
+ pynotes init
73
+ ```
74
+
75
+ **Create a New Note:**
76
+ ```bash
77
+ pynotes new
78
+ ```
79
+ Follow the interactive prompts to add your title, tags, and Markdown content. Press `Alt+Enter` (or `Esc` then `Enter` on Mac) to save the content.
80
+
81
+ **List All Notes:**
82
+ ```bash
83
+ pynotes list
84
+ ```
85
+
86
+ **Filter Notes by Tag:**
87
+ ```bash
88
+ pynotes list --tag <your-tag>
89
+ ```
90
+
91
+ **View a Specific Note:**
92
+ View the full rendered Markdown of a note by providing its ID.
93
+ ```bash
94
+ pynotes view <note_id>
95
+ ```
96
+
97
+ **Edit a Note:**
98
+ Edit the title, tags, or content of an existing note.
99
+ ```bash
100
+ pynotes edit <note_id>
101
+ ```
@@ -35,11 +35,18 @@ pynotes/
35
35
 
36
36
  ### 1. Installation
37
37
 
38
- It is recommended to install `pynotes` in editable mode so that you can easily access the CLI from anywhere in your terminal.
38
+ **From PyPI (Recommended)**
39
+ You can install `pynotes` directly from PyPI:
40
+ ```bash
41
+ pip install pynotes-cli
42
+ ```
39
43
 
44
+ **From Source (For Developers)**
45
+ If you want to modify the code, install it in editable mode:
40
46
  ```bash
41
47
  # Clone the repository and navigate to the directory
42
- cd path/to/pynotes
48
+ git clone https://github.com/senku1505/pynotes.git
49
+ cd pynotes
43
50
 
44
51
  # Install the package and its dependencies
45
52
  pip install -e .
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: pynotes-cli
3
+ Version: 0.1.2
4
+ Summary: A terminal Markdown personal journal and notes tool.
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: typer>=0.9.0
8
+ Requires-Dist: rich>=13.0.0
9
+ Requires-Dist: questionary>=2.0.0
10
+
11
+ # Pynotes
12
+
13
+ Pynotes is a lightning-fast terminal-based Markdown personal journal and notes tool. It allows you to seamlessly create, read, list, and filter your notes directly from the command line, while storing everything locally in a lightweight SQLite database.
14
+
15
+ ## What it Does
16
+
17
+ - **Create & Edit**: Interactively create notes with titles, tags, and Markdown content. Edit existing notes smoothly.
18
+ - **List & Filter**: View all your notes in a beautifully formatted table or filter them down by specific tags.
19
+ - **View Notes**: Render your notes with full Markdown syntax highlighting right in your terminal.
20
+ - **Local Storage**: Keeps all your data secure and accessible on your local machine (`~/.pynotes.db`).
21
+
22
+ ## Project Structure
23
+
24
+ ```text
25
+ pynotes/
26
+ ├── pyproject.toml # Project metadata and dependencies configuration
27
+ ├── README.md # Project documentation and instructions
28
+ └── pynotes/ # Main application package
29
+ ├── __init__.py # Marks the directory as a Python package
30
+ ├── main.py # Entry point defining the CLI commands using Typer
31
+ ├── db.py # Handles SQLite database connection and queries
32
+ ├── ui.py # Manages terminal output rendering using Rich
33
+ └── prompts.py # Handles interactive user inputs using Questionary
34
+ ```
35
+
36
+ ## Tech Stack
37
+
38
+ - **[Python 3.10+](https://www.python.org/)**
39
+ - **[Typer](https://typer.tiangolo.com/)**: For building the powerful command-line interface.
40
+ - **[Rich](https://rich.readthedocs.io/)**: For beautiful terminal formatting, tables, and Markdown rendering.
41
+ - **[Questionary](https://questionary.readthedocs.io/)**: For interactive and user-friendly CLI prompts.
42
+ - **[SQLite3](https://docs.python.org/3/library/sqlite3.html)**: For local database storage (built-in).
43
+
44
+ ## Instructions to Run
45
+
46
+ ### 1. Installation
47
+
48
+ **From PyPI (Recommended)**
49
+ You can install `pynotes` directly from PyPI:
50
+ ```bash
51
+ pip install pynotes-cli
52
+ ```
53
+
54
+ **From Source (For Developers)**
55
+ If you want to modify the code, install it in editable mode:
56
+ ```bash
57
+ # Clone the repository and navigate to the directory
58
+ git clone https://github.com/senku1505/pynotes.git
59
+ cd pynotes
60
+
61
+ # Install the package and its dependencies
62
+ pip install -e .
63
+ ```
64
+
65
+ ### 2. Usage
66
+
67
+ Once installed, the `pynotes` command will be globally available in your terminal environment.
68
+
69
+ **Initialize the Database:**
70
+ Initialize your local database at `~/.pynotes.db`.
71
+ ```bash
72
+ pynotes init
73
+ ```
74
+
75
+ **Create a New Note:**
76
+ ```bash
77
+ pynotes new
78
+ ```
79
+ Follow the interactive prompts to add your title, tags, and Markdown content. Press `Alt+Enter` (or `Esc` then `Enter` on Mac) to save the content.
80
+
81
+ **List All Notes:**
82
+ ```bash
83
+ pynotes list
84
+ ```
85
+
86
+ **Filter Notes by Tag:**
87
+ ```bash
88
+ pynotes list --tag <your-tag>
89
+ ```
90
+
91
+ **View a Specific Note:**
92
+ View the full rendered Markdown of a note by providing its ID.
93
+ ```bash
94
+ pynotes view <note_id>
95
+ ```
96
+
97
+ **Edit a Note:**
98
+ Edit the title, tags, or content of an existing note.
99
+ ```bash
100
+ pynotes edit <note_id>
101
+ ```
@@ -1,7 +1,8 @@
1
1
  [project]
2
2
  name = "pynotes-cli"
3
- version = "0.1.0"
3
+ version = "0.1.2"
4
4
  description = "A terminal Markdown personal journal and notes tool."
5
+ readme = "README.md"
5
6
  requires-python = ">=3.9"
6
7
  dependencies = [
7
8
  "typer>=0.9.0",
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pynotes-cli
3
- Version: 0.1.0
4
- Summary: A terminal Markdown personal journal and notes tool.
5
- Requires-Python: >=3.9
6
- Requires-Dist: typer>=0.9.0
7
- Requires-Dist: rich>=13.0.0
8
- Requires-Dist: questionary>=2.0.0
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pynotes-cli
3
- Version: 0.1.0
4
- Summary: A terminal Markdown personal journal and notes tool.
5
- Requires-Python: >=3.9
6
- Requires-Dist: typer>=0.9.0
7
- Requires-Dist: rich>=13.0.0
8
- Requires-Dist: questionary>=2.0.0
File without changes
File without changes
File without changes
File without changes