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.11

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.11
File Size Uploaded Provenance Actions
easypaint-1.0.11.tar.gz 33.3 kB Without provenance Details for easypaint-1.0.11.tar.gz

Built distribution (wheel)

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

Total release size: 70.8 kB

Release files / easypaint-1.0.11.tar.gz

Download URL easypaint-1.0.11.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
67289d5ad5145a2e257accbf23dba151e4404a8343adc75759664b586f010839
BLAKE2b-256 checksum
How to use checksums
5b2501db4ebb10e7e02b1c2cf622920c484897517062bcc358d172e01c8ad801
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.11-py3-none-any.whl

Download URL easypaint-1.0.11-py3-none-any.whl
Size 37.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
245b59fcd8979cf56849e5467d34014f130d39e5f4989e0f82c0a95aa7fa6b77
BLAKE2b-256 checksum
How to use checksums
f2e903e629101b161a5aac7d0ce8e4fc7949a2d90ef3a856957802413fc22dba
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.11

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