Skip to main content

An addon for Plone that allow you debug your code using the icecream package

Project description

image Coveralls image Latest Version Egg Status image License

collective.icecream

An addon for Plone that does allow you to use the icecream package

Installation

Install collective.icecream by adding it to your buildout, e.g.:

[instance]
eggs +=
    collective.icecream

and then running bin/buildout.

When you start your instance in foreground mode you will see:

[ale@flo collective.icecream]$ ./bin/instance fg
...
ic| 'Icecream installed'
2023-11-24 16:45:13,799 INFO    [Zope:42][MainThread] Ready to handle requests

Then you can use the ic function everywhere in your code without importing it.

You can also use it in your page templates:

<?python from icecream import ic; ic("This was placed in a template") ?>

TODO: it is planned to not have to import ic from icecream in the templates.

Authors

The Syslab.com Team.

Contributors

Put your name here, you deserve it!

Contribute

Support

If you are having issues, please let us know in the issue tracker.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.0a1 (2023-11-24)

  • Initial release. [ale-rt]

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

collective.icecream-1.0.0a1.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file collective.icecream-1.0.0a1.tar.gz.

File metadata

  • Download URL: collective.icecream-1.0.0a1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for collective.icecream-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 d1a7503b2b69423ebf66d280be83d9e5bf73fce33f8ca376a4acc23cec5ed4ff
MD5 bcd55df85722227439a6b7be017c6761
BLAKE2b-256 ddae0a0cf9b64615ebd81271b5c4ddb62a8f17ba3f01c71699b4703ee69f9d28

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page