Skip to main content

Biblioteca de dibujo para Python 3 (requiere python-tk)

Project description

EasyPaint

Biblioteca de dibujo para Python 3.12 o superior.

Instalación

El paquete publicado se instala con pip:

pip install easypaint

Si estás trabajando desde este repositorio, puedes instalarlo en modo editable:

pip install -e .

Requiere que la biblioteca tkinter esté instalada:

  • En MS Windows se incluye con la instalación de Python.
  • En Ubuntu hay que instalar el paquete python3-tk.

Uso rápido

La librería expone una clase base EasyPaint para crear ventanas con un lienzo coordenado. Se usa heredando la clase y definiendo el método main():

from easypaint import EasyPaint


class Demo(EasyPaint):
    def main(self) -> None:
        self.easypaint_configure(size=(400, 300), coordinates=(0, 0, 399, 299))
        self.create_text(200, 150, "Hola EasyPaint", 16, justify="center")


Demo().run()

Si prefieres probar la biblioteca sin escribir código propio, puedes lanzar cualquiera de las demos del directorio src/easypaint/demos/.

Notas técnicas

  • El proyecto declara compatibilidad con Python 3.12 o superior.
  • El paquete publicado en pip es easypaint.
  • La implementación depende de tkinter, así que en sistemas Unix puede ser necesario instalar el paquete del sistema.
  • Hay un informe técnico con bugs conocidos, limitaciones y mejoras sugeridas en ANALISIS.md.

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

easypaint-1.0.9.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

easypaint-1.0.9-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file easypaint-1.0.9.tar.gz.

File metadata

  • Download URL: easypaint-1.0.9.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for easypaint-1.0.9.tar.gz
Algorithm Hash digest
SHA256 07f121b2b2dd34d54d89a5b754dce6ef5d19e618de6539325de0a7dbf30f73cc
MD5 d38bf173b7b85e70f012a65466b65175
BLAKE2b-256 7f212f3e56e8d308b39b1257d93a4e225f2b89503dff14e67164b21e31100f15

See more details on using hashes here.

File details

Details for the file easypaint-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: easypaint-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for easypaint-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bd507df06c6d66f77da6062f9110b3687ebe5a9e1e194bf069d958ee9d5d91fd
MD5 e37ee72a76708521e4db4b2d784b7391
BLAKE2b-256 1ef0426b378e49ab5d2b42ccadec344b12bf19703c9cf662fc549633eff8d0e7

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