Skip to main content

Handnotes to markdown in seconds

Project description

Handmark

Handmark is a Python CLI tool that converts handwritten notes from images into Markdown files. It uses AI to process the images and extract the text.

Features

  • Converts images of handwritten notes to Markdown.
  • Simple CLI interface.
  • Uses Azure AI for image processing.

Installation

pip install .

Usage

To use Handmark, run the following command in your terminal:

handmark <image_path>

Replace <image_path> with the path to the image file you want to convert. The output will be saved as response.md in the current directory.

You can also configure the GitHub token using the conf subcommand:

handmark conf

This will prompt you to enter your GitHub token, which will be stored for future use.

Example

Input image (samples/prova.jpeg):

Handwritten notes example

Output (prova-response.md):

# Primeiro Exercício Escolar - 2025.1

```text
Leia atentamente todas as questões antes de começar a prova. As respostas obtidas somente terão validade se respondidas nas folhas entregues. Os cálculos podem ser escritos a lápis e em qualquer ordem. Evite usar material eletrônico durante a prova, não sendo permitido o uso de calculadora programável para validá-lo. Não é permitido o uso de celular em sala.

---

1. (2 pontos) Determine a equação do plano tangente à função f(x,y) = √(20 - x² - 7y²) em (2,1). Em seguida, calcule um valor aproximado para f(1.9, 1.1).

2. (2 pontos) Determine a derivada direcional de f(x,y) = (xy)^(1/2) em P(2,2), na direção de Q(5,4).

3. (2 pontos) Determine e classifique os extremos de f(x,y) = x⁴ + y⁴ - 4xy + 2.

4. (2 pontos) Usando integrais duplas, calcule o volume acima de onde z = 0 e abaixo da superfície z = x² + y² + 2.

5. (2 pontos) Sabendo que E é o volume do sólido delimitado pelo cilindro parabólico z = x² + y² e pelo plano z = 1, apresente um esboço deste volume e calcule o valor de E.
∫∫ x² e^z dV.

Link to prova-response.md

Development

This project uses uv for package management.

Setup

  1. Clone the repository:

    git clone https://github.com/your-username/handmark.git
    cd handmark
    
  2. Install dependencies:

    uv pip install -e .
    

    or

    pip install -e .
    

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

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

handmark-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

handmark-0.2.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file handmark-0.2.0.tar.gz.

File metadata

  • Download URL: handmark-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for handmark-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4245dd5f8bb975140d0942306546c16c7d8374c6f50eed18c5160d60afa49fdd
MD5 8bfdfc58fd506f9cb47d973cec886932
BLAKE2b-256 fe01e3b25221b0a155292b31d0be75ce2c01104c644e8eea7f80e34bbd32b7e7

See more details on using hashes here.

File details

Details for the file handmark-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: handmark-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for handmark-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47e585ffd24467dd72dd3bf8ef918f839d25f7a7e0fb41706be6c3ab9ba982de
MD5 dc91aebc0b0f84aa5779281a8a116482
BLAKE2b-256 3f81032a6fefe094575881644859c6eb351e8a7d524fca3d29b1f7e780b18982

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