Skip to main content

First ideas on modify the GIMP Python interpreter to be more interactive.

As for now, code from two sources has been grabbed:

Update (28/03/21):

  • Huge refactor in original source codes.

  • A namespace python package structure has been implemented, adapted to GIMPs needs.

  • Logic from pure GTK3 is being split from GIMPs logic, then "apps" should have an isolated layer which runs outside GIMP.

  • Running 4 different Python Console approaches only changing a flag, to explore them:

  • The main problem integrating IPython is that the current approach (by importing it and call IPython.embed()) yields to a problem with the parsing of the inputs. For example:

In [1]: import os
  File "<ipython-input-1-5c84a8230b9f>", line 1
    invalid syntax (<string>, line 1)
            ^
SyntaxError: invalid syntax


In [2]: a = 10
  File "<ipython-input-2-5c84a8230b9f>", line 1
    invalid syntax (<string>, line 1)
            ^
SyntaxError: invalid syntax


In [3]: hola
  File "<ipython-input-3-74399d33e912>", line 1
    name 'hola' is not defined
         ^
SyntaxError: invalid syntax

Metadata

Release files for gimp-console 0.2.0

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

Source distribution (sdist)

Source distribution for gimp-console 0.2.0
File Size Uploaded
gimp-console-0.2.0.tar.gz 16.5 kB Details

Release files / gimp-console-0.2.0.tar.gz

Download URL gimp-console-0.2.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2e64a051f9d93311ab343a0105b15575e6cca76b2d4f5a0a6963087d5422560c
BLAKE2b-256 checksum
How to use checksums
73c54daf25275089558bea54493798a99ac813d51608fca7a2252cfd12ba5ba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

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