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.8.tar.gz (32.9 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.8-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easypaint-1.0.8.tar.gz
  • Upload date:
  • Size: 32.9 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.8.tar.gz
Algorithm Hash digest
SHA256 a2e984607e7485e6e439b274db385ec5a9200519bb4177f33febf8d033f1be1c
MD5 fd628749bcd9e117422b506d6bdb4be1
BLAKE2b-256 0f776ff55bf40b9f44db119a416837a6d5d7da9fe24a35f8f2c2fddf64eff730

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easypaint-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 37.2 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ec631e3ce6b801a4061bc1ff942c87794eeca06f85025024328d1fd508ae5d4e
MD5 619346ddc36e0530621aa83d416bb31d
BLAKE2b-256 e5076d374c0c7e23ed1cc62e0371669ac0eb57ffdac87a3c4dbe2521c7eefbed

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