Skip to main content

A simple CLI tool for managing notes

Project description

Notes CLI

A simple and intuitive command-line tool for managing your notes efficiently. Built with Python and designed for ease of use.

✨ Features

  • 📝 Create and manage notes from the command line
  • 🔍 Search and organize your notes
  • 💾 Persistent storage of your notes
  • 🎨 Beautiful terminal interface with Rich formatting
  • ⚡ Fast and lightweight

🚀 Quick Start (No Installation Required!)

You can run this tool directly without installing it using pipx:

pipx run ankita-notes-cli

This will download and run the latest version of the CLI tool without cluttering your system with permanent installations.

Example Usage

# Run the CLI
pipx run ankita-notes-cli

# Add a new note
pipx run ankita-notes-cli add --title "Remember to buy groceries"

# List all notes
pipx run ankita-notes-cli list

# Search notes by id
pipx run ankita-notes-cli get-one-note 1

📦 Alternative Installation Methods

Using pipx (Recommended)

If you want to install it permanently:

pipx install ankita-notes-cli
ankita-notes-cli --help

Using pip

pip install ankita-notes-cli
ankita-notes-cli --help

🛠️ Usage

ankita-notes-cli [COMMAND] [OPTIONS]

Available Commands

Command Description Example
add Add a new note ankita-notes-cli add "My note content"
list List all notes ankita-notes-cli list
get-one-note Search notes by id ankita-notes-cli get-one-note 1
delete Delete a note ankita-notes-cli delete 1
edit Edit an existing note ankita-notes-cli edit 1
help Show help information ankita-notes-cli --help

Examples

# Add a note
ankita-notes-cli add "Meeting with team at 3 PM"

# List all notes with formatting
ankita-notes-cli list

# Search for notes containing "meeting"
ankita-notes-cli get-one-note 1

# Delete note with ID 1
ankita-notes-cli delete 1

🔧 Requirements

  • Python 3.6 or higher
  • No additional dependencies needed when using pipx run

🏗️ Development

Local Development Setup

  1. Clone the repository:
git clone https://github.com/ankita311/notes-cli.git
cd notes-cli
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install in development mode:
pip install -e .
  1. Run the CLI:
ankita-notes-cli --help

Testing with pipx

To test your local changes with pipx:

pipx run /path/to/your/notes-cli

📝 Dependencies

This project uses the following libraries:

  • FastAPI (0.115.12) - For potential web interface features
  • httpx (0.28.1) - For HTTP requests
  • Pydantic (2.11.4) - For data validation
  • Rich (14.0.0) - For beautiful terminal output
  • Typer (0.15.4) - For building the CLI interface

🤝 Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

Development Guidelines

  • Follow PEP 8 style guidelines
  • Add tests for new features
  • Update documentation as needed
  • Ensure all tests pass before submitting

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🐛 Bug Reports & Feature Requests

If you encounter any bugs or have feature requests, please create an issue on GitHub.

📧 Contact

Ankita - ankita.av.934@gmail.com

Project Link: https://github.com/ankita311/notes-cli

🙏 Acknowledgments

  • Thanks to the Python community for the amazing libraries
  • Built with ❤️ using Python, Typer, and Rich

⭐ If you find this tool useful, please consider giving it a star on GitHub!

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

ankita_notes_cli-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

ankita_notes_cli-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file ankita_notes_cli-0.1.1.tar.gz.

File metadata

  • Download URL: ankita_notes_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for ankita_notes_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 403a971c4735aed82f1f92decb5430a2e8bbb682865c72a02a4ae5fd0aafbf0e
MD5 eee0db920491b34ea51f00fe3c3243a8
BLAKE2b-256 a0b91eb22c799672f9c19b2ca5666d498551fa7fb26f25992f7d4bcb19583ef1

See more details on using hashes here.

File details

Details for the file ankita_notes_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ankita_notes_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c9fbe74c0d16deaa0a1471ac38d4dd7d2d380801af8f22df52128945948f9f2
MD5 07be6597762b87f2d6403f9df82d3768
BLAKE2b-256 85611759d5f9c14d748e0bae8ca4c990d291b8ac9e0f161f063009051c61ee07

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