{ "info": { "author": "Andrey Orlov", "author_email": "dbdt@dreambot.ru", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "The ng.schema product\n=====================\n\n\nThe ng.schema is zope3 product developed to provide some interface (schema)\nfields and widget. Current field and widget list are:\n\ninterfaceswitcher\n-----------------\nField can be used to dynamic switch subinterfaces of\nsome interface;\n\nSample of use ::\n \n from ng.schema.interfaceswitcher.interfacechoicefield import InterfaceChoice\n from ng.schema.interfaceswitcher.interfacesetfield import InterfaceSet\n\n class IA(Interface) :\n pass\n \n class IA1(IA) :\n pass\n \n class IA2(IA) :\n pass\n \n class IOb(Interface) :\n \n ifc = InterfaceChoice(\n title=u'Interface of IA',\n interface = IA,\n )\n\n ifs = InterfaceSet(\n title=u'Interface of IA',\n interface = IA,\n with_title=True\n )\n\nregexp\n------\nProduct can be used to check input text line with some set of\nregexp and customize text line with some rewrite rules before set.\n \nSample of use ::\n \n from ng.schema.regexp.regexpfield import Regexp \n class IOb(Interface) :\n title = Regexp(title = u'Title',\n description = u'Title',\n default = u'',\n required = True,\n regexp = (\n (False, u\"^.*/.*$\", u\"Title do not content symbol '/'\"),\n ),\n rewrite = (\n (u\"^\\s*(?P\\w+)\\s*-\\s*(?P[0-9]+)\\s*$\", u\"%(name)s-%(number)s\"),\n (u\"^\\s*(?P[^\\s])\\s*$\", u\"%(name)s\"),\n )\n )\n\nfloatdayttime\n-------------\nThe field allow present attribute containing float number as \ntime string in \"HH:MM:SS\" format.\n\nSample of use::\n\n from ng.schema.floatdaytime.floatdaytime import FloatDayTime\n class IOb(Interface) :\n time = FloatDayTime(\n title = u\"Time\",\n description = u\"Time of day\",\n required = False,\n min=u'00:00',\n max=u'24:00',\n default=u'00:00'\n )\n\nprincipalidwidget\n-----------------\nThe widget allow automaticaly assign text field by user Id. The field display as not-editable field\nwith current user name as vaue. User name and id gets from request attributes.\n\nSample of use::\n\n \n\t \n \n \ndropdowndatewidget\n------------------\nThe widget allow input date by means of select value from three dropdown list for\nday, mounth and year.\n\nSample of use::\n\n \n \n \n\n\n* Thu Feb 12 2009 Andrey Orlov 0.0.6\n- Widget multiselectwidget added;\n\n* Thu Oct 23 2008 Andrey Orlov 0.0.5\n- FloatDayTime enhanced\n- InterfaceVocabulary use docstring as title now\n- FloatDayTime field substantively rewrited, max, min, default values support added;\n- Interface switcher fields changed: them display doc-string as title now.\n\n* Mon Oct 20 2008 Andrey Orlov 0.0.4\n- DropdownDate widget added;\n- PrincipalId widget added;\n\n* Sun Jan 11 2008 Andrey Orlov 0.0.3\n- FloatDayTime field added\n- InterfaceSet field added\n- Initial interface of vocabulary changed\n\n* Wed Nov 7 2007 Andrey Orlov 0.0.2\n- first official release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.dreambot.ru/dreambotzope3releases/ng.schema", "keywords": null, "license": "GPL v2.1", "maintainer": null, "maintainer_email": null, "name": "ng.schema", "package_url": "https://pypi.org/project/ng.schema/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ng.schema/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.dreambot.ru/dreambotzope3releases/ng.schema" }, "release_url": "https://pypi.org/project/ng.schema/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "Multipurpose widgets and fields for interfaces schema", "version": "0.0.6" }, "last_serial": 795386, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "2b132560ecb59f43028d0c58da433e34", "sha256": "04c4c33c94774de39ad6ee5d8b605f9e498bdf070ba2e457f586f7170c8927fa" }, "downloads": -1, "filename": "ng.schema-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2b132560ecb59f43028d0c58da433e34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5220, "upload_time": "2008-01-13T08:33:20", "url": "https://files.pythonhosted.org/packages/26/09/643904ddfbd8967ed7dab30bd5d074aed9ddb009e0dcf361a788b4e194a3/ng.schema-0.0.3.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "eb63e4a59be08aa9c9baaa3ce70bd957", "sha256": "a0aa44efb37bbd1f431ec10b4afbba032d1ba12118588967764e2bb532c79955" }, "downloads": -1, "filename": "ng.schema-0.0.5.tar.gz", "has_sig": false, "md5_digest": "eb63e4a59be08aa9c9baaa3ce70bd957", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8712, "upload_time": "2008-10-23T09:22:13", "url": "https://files.pythonhosted.org/packages/37/1a/9fc79f948f5eabb0c66e90c7b87a69edb6c38e47132c3e08a72f137a6254/ng.schema-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "6023047ad97cb38e4b0445d9b72b49e3", "sha256": "a5f84b83c6be0f94bfcbbae01370971cc6b4830716a39b1cd361616b2fce4438" }, "downloads": -1, "filename": "ng.schema-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6023047ad97cb38e4b0445d9b72b49e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12960, "upload_time": "2009-02-12T13:19:33", "url": "https://files.pythonhosted.org/packages/b5/42/2bbb416b5fa135533845b55dee8e1b16b1b08c97324409a2710ff4b86700/ng.schema-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6023047ad97cb38e4b0445d9b72b49e3", "sha256": "a5f84b83c6be0f94bfcbbae01370971cc6b4830716a39b1cd361616b2fce4438" }, "downloads": -1, "filename": "ng.schema-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6023047ad97cb38e4b0445d9b72b49e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12960, "upload_time": "2009-02-12T13:19:33", "url": "https://files.pythonhosted.org/packages/b5/42/2bbb416b5fa135533845b55dee8e1b16b1b08c97324409a2710ff4b86700/ng.schema-0.0.6.tar.gz" } ] }