<commit_before>"""A package (for Nevow) for defining the schema, validation and rendering of
HTML forms.
"""

from nevow import static

from forms.types import *
from forms.validation import *
from forms.widget import *
from forms.form import Form, ResourceMixin, renderForm
from forms import iforms

def widgetFactory(widgetClass, *a, **k):
    def _(original):
        return widgetClass(original, *a, **k)
    return _
    
import os.path
defaultCSS = static.File(os.path.join(os.path.split(__file__)[0], 'forms.css'))

# Register standard adapters<commit_msg>Add version info on the package<commit_after>"""A package (for Nevow) for defining the schema, validation and rendering of
HTML forms.
"""


version_info = (0, 1, 0)
version = '.'.join([str(i) for i in version_info])


from nevow import static

from forms.types import *
from forms.validation import *
from forms.widget import *
from forms.form import Form, ResourceMixin, renderForm
from forms import iforms

def widgetFactory(widgetClass, *a, **k):
    def _(original):
        return widgetClass(original, *a, **k)
    return _
    
import os.path
defaultCSS = static.File(os.path.join(os.path.split(__file__)[0], 'forms.css'))

# Register standard adapters
{'fraction_non_alphanumeric': 0.11120196238757155, 'fraction_numerical': 0.004088307440719542, 'mean_word_length': 4.538461538461538, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2081905', 'n_tokens_mistral': 374, 'n_tokens_neox': 365, 'n_words': 126}