Skip to main content

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

  • La biblioteca funciona en 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.

Metadata

Release files for easypaint 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for easypaint 1.0.10
File Size Uploaded Provenance Actions
easypaint-1.0.10.tar.gz 33.4 kB Without provenance Details for easypaint-1.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for easypaint 1.0.10
File Interpreter ABI Platform Actions
easypaint-1.0.10-py3-none-any.whl Python 3 none any Details for easypaint-1.0.10-py3-none-any.whl

Total release size: 70.8 kB

Release files / easypaint-1.0.10.tar.gz

Download URL easypaint-1.0.10.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c567f5b8159aae398d01dc71104d4af97237b25f3f4026941f7f6ff721792f4a
BLAKE2b-256 checksum
How to use checksums
6d12822f83ffe6d896cbe311454146d00adc2e44f1e4e5e6a4aaab553e754f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / easypaint-1.0.10-py3-none-any.whl

Download URL easypaint-1.0.10-py3-none-any.whl
Size 37.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94c1c83851dfc253f163cb84e360e7ceac4548e85c329f412cfa1d927c868945
BLAKE2b-256 checksum
How to use checksums
3fab4347db6e1cbaee46f3778800c84182e7b37f51e17ded41e1e5908f175157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for easypaint 1.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page