Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kklemon authored Oct 29, 2024
1 parent 0f02017 commit d058a39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,13 @@ The main page of the documentation will be located at `docs/_build/index.html`.

### Working with PenAI

While Penpot is implemented in Closure and uses several custom data formants and representations, most AI and data science libraries are targetted for Python. To allow fast and easy exploration of AI use cases in Python, we implemented a Python binding for the most important Penpot data formats and several helper classes and functions to manipulate and render objects from within Python. These features include:
While Penpot is implemented in Clojure and uses several custom data formants and representations, most AI and data science libraries are targetted for Python. To allow fast and easy exploration of AI use cases in Python, we implemented a custom Python binding for the most important Penpot data formats and several helper classes and functions to manipulate and render objects from within Python code. These features include:

* Loading Penpot projects and representing Penpot data objects down to the level of shape elements
* Deriving bounding boxes for arbitrary shape elements within a Penpot page
* Rendering Penpot objects (pages or single shape elements) into raster graphics

A few examples on how to work with the `penai` package are provided in the `docs/02_notebooks/01_working_with_penai.ipynb` notebook.
A few examples on how to work with the `penai` package are provided in the [docs/02_notebooks/01_working_with_penai.ipynb](docs/02_notebooks/01_working_with_penai.ipynb) notebook.

## Troubleshooting

Expand All @@ -244,4 +244,4 @@ To fix this problem, use the following instructions. While Ubuntu-specific, they
* `pyenv install 3.11.10` (will compile and install 3.11.10)
* `pyenv local 3.11.10` (run within the penai repository; will set the local Python version)

Now proceed with the normal installation and usage instructions as provided above.
Now proceed with the normal installation and usage instructions as provided above.

0 comments on commit d058a39

Please sign in to comment.