Skip to main content

Archetypes field for Python input

Project description

PythonField Readme

An Archetype field that stores Python scripts.

Usage

  1. Install as usual in your Products directory.

  2. Add this line to your custom Archetype to import the field:

    from Products.PythonField import PythonField
  3. In your schema, add PythonField like this:

    BaseSchema + Schema(( ...
        PythonField('myField'),
        ...
    ))

Further Information

Visit http://plone.org/products/scriptablefields for documenttion, bug-reports, etc.

Credits

Thanks to Sidnei da Silva for the TALESField product, which served as the base for this.

Copyright

Copyright (C) 2005-2007 BlueDynamics Alliance, Klein & Partner KEG, Innsbruck, Austria

Installation

PythonField may be installed as either an egg or as a traditional Zope product.

Via Buildout

Just add Products.PythonField to the “eggs” list for the buildout or zope2instance parts:

eggs =

… Products.PythonField …

Via easy_setup

Just use the copy of easy_setup for the Python that you’re using to run Zope.

Traditional Zope Product Installation

Copy or symbolically link the Products.PythonField/Products/PythonField to be Products/PythonField in your Zope instance’s Products directory.

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

Products.PythonField-1.1.3.zip (20.1 kB view details)

Uploaded Source

File details

Details for the file Products.PythonField-1.1.3.zip.

File metadata

File hashes

Hashes for Products.PythonField-1.1.3.zip
Algorithm Hash digest
SHA256 3d47567de55ed573c888826706965e4648045f479ed3f15449cdd53323003772
MD5 c90d743964328796bca95058fd86d8cf
BLAKE2b-256 5a4f98bc3ec2192413f746ec9e57f85cb1282497a98da3f2669e8cbfbc741ca7

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