Skip to main content

Fakers for Pynamo models, based on the very helpful pydantic-factories.

Project description

Usage

from pynamodb import Model
from pynamodb_factories import PynamoModelFactory

class SomePynamoModel(Model):
    ...
    pass

class SomeModelFactory(PynamoModelFactory):
    __model__ = SomePynamoModel
    pass

fake_model = SomeModelFactory.build()

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

pynamodb-factories-0.1.3.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

pynamodb_factories-0.1.3-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

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