# Path: papaye/models.py
# SW_VERSION = 8
# STATUS = status_type(*range(0, len(status_type._fields)))
# def get_manager(config):
# def get_connection(settings):
# def chunk(iterable, step):
#     def _p_resolveConflict(self, old_state, stored_state, new_state):
#     def __repr__(self):
#     def __init__(self, *args, **kwargs):
#     def __getattr__(self, attribute):
#     def clone(cls, model_obj):
#     def __init__(self, name, *args, **kwargs):
#     def __name__(self):
#     def __parent__(self):
#     def subobjects(self):
#     def get(self, key, default=None):
#     def child(self, subobject):
#     def __contains__(self, obj_or_name):
#     def __iter__(self):
#     def __len__(self):
#     def __delitem__(self, key):
#     def keys(self):
#     def format_key(self, key):
#     def __init__(self, name):
#     def __parent__(self):
#     def __acl__(self):
#     def __iter__(self):
#     def __getitem__(self, name_or_index):
#     def __setitem__(self, key, package):
#     def __init__(self, name, root=None, **kwargs):
#     def format_key(self, key):
#     def __getitem__(self, release_name_or_index):
#     def __setitem__(self, key, value):
#     def get_last_remote_version(cls, proxy, package_name):
#     def repository_is_up_to_date(self, last_remote_release):
#     def by_name(cls, name, request):
#     def get_last_release(self):
#     def metadata(self):
#     def __json__(self, request):
#     def __init__(self, version, metadata={},
#                  deserialize_metadata=True, package=None, **kwargs):
#     def __getitem__(self, version_or_index):
#     def __setitem__(self, key, value):
#     def by_packagename(cls, package_name, request):
#     def by_releasename(cls, package_name, release, request):
#     def __json__(self, request):
#     def __init__(self, filename, content, md5_digest=None,
#                  status=None, release=None, **kwargs):
#     def __name__(self):
#     def __parent__(self):
#     def _compute_release_file_directory(self):
#     def get_content_type(self, content):
#     def _packages_directory(self):
#     def set_content(self, content):
#     def path(self):
#     def set_path(self, path):
#     def full_path(self):
#     def clone(cls, model_obj):
#     def by_releasefilename(cls, package, release, releasefile, request):
#     def format_key(self, key):
#     def __init__(self, username, password, **kwargs):
#     def hash_password(self, password):
#     def password_verify(self, clear_password):
#     def __repr__(self):
#     def by_username(cls, username, request):
#     def __acl__(self):
#     def __acl__(self):
# class MyOOBTree(OOBTree):
# class Model(Persistent):
# class ClonableModelMixin(object):
# class SubscriptableMixin(object):
# class Root(ClonableModelMixin, SubscriptableBaseModel, Model):
# class Package(SubscriptableMixin, ClonableModelMixin, Model):
# class Release(SubscriptableMixin, ClonableModelMixin, Model):
# class ReleaseFile(ClonableModelMixin, Model):
# class User(Model):
# class RestrictedContext(object):
# class Application(object):


import factory
from papaye import models



class RootFactory(factory.Factory):
    name = factory.Sequence(lambda n: 'Root{}'.format(n))

    class Meta:

# Path: papaye/models.py
# SW_VERSION = 8
# STATUS = status_type(*range(0, len(status_type._fields)))
# def get_manager(config):
# def get_connection(settings):
# def chunk(iterable, step):
#     def _p_resolveConflict(self, old_state, stored_state, new_state):
#     def __repr__(self):
#     def __init__(self, *args, **kwargs):
#     def __getattr__(self, attribute):
#     def clone(cls, model_obj):
#     def __init__(self, name, *args, **kwargs):
#     def __name__(self):
#     def __parent__(self):
#     def subobjects(self):
#     def get(self, key, default=None):
#     def child(self, subobject):
#     def __contains__(self, obj_or_name):
#     def __iter__(self):
#     def __len__(self):
#     def __delitem__(self, key):
#     def keys(self):
#     def format_key(self, key):
#     def __init__(self, name):
#     def __parent__(self):
#     def __acl__(self):
#     def __iter__(self):
#     def __getitem__(self, name_or_index):
#     def __setitem__(self, key, package):
#     def __init__(self, name, root=None, **kwargs):
#     def format_key(self, key):
#     def __getitem__(self, release_name_or_index):
#     def __setitem__(self, key, value):
#     def get_last_remote_version(cls, proxy, package_name):
#     def repository_is_up_to_date(self, last_remote_release):
#     def by_name(cls, name, request):
#     def get_last_release(self):
#     def metadata(self):
#     def __json__(self, request):
#     def __init__(self, version, metadata={},
#                  deserialize_metadata=True, package=None, **kwargs):
#     def __getitem__(self, version_or_index):
#     def __setitem__(self, key, value):
#     def by_packagename(cls, package_name, request):
#     def by_releasename(cls, package_name, release, request):
#     def __json__(self, request):
#     def __init__(self, filename, content, md5_digest=None,
#                  status=None, release=None, **kwargs):
#     def __name__(self):
#     def __parent__(self):
#     def _compute_release_file_directory(self):
#     def get_content_type(self, content):
#     def _packages_directory(self):
#     def set_content(self, content):
#     def path(self):
#     def set_path(self, path):
#     def full_path(self):
#     def clone(cls, model_obj):
#     def by_releasefilename(cls, package, release, releasefile, request):
#     def format_key(self, key):
#     def __init__(self, username, password, **kwargs):
#     def hash_password(self, password):
#     def password_verify(self, clear_password):
#     def __repr__(self):
#     def by_username(cls, username, request):
#     def __acl__(self):
#     def __acl__(self):
# class MyOOBTree(OOBTree):
# class Model(Persistent):
# class ClonableModelMixin(object):
# class SubscriptableMixin(object):
# class Root(ClonableModelMixin, SubscriptableBaseModel, Model):
# class Package(SubscriptableMixin, ClonableModelMixin, Model):
# class Release(SubscriptableMixin, ClonableModelMixin, Model):
# class ReleaseFile(ClonableModelMixin, Model):
# class User(Model):
# class RestrictedContext(object):
# class Application(object):


# Path: papaye/factories/models.py
import factory
from papaye import models




class RootFactory(factory.Factory):
    name = factory.Sequence(lambda n: 'Root{}'.format(n))

    class Meta:

        model = models.Root