Skip to main content

Populate your database with god-like powers

Project description

Populous is a tool for fast and rich data generation. From a description of your schema say how many objects you want, what they should look like, and populous will create them for you!

Current state

The project is in a very early stage and proof-of-concept state. Please be patient, but don’t hesitate to share your thoughts and desires with us in the issues.

Documentation

Sorry, but the documentation is not ready yet :( .

However, if you are very eager to try it, here is what you can do:

  • Install populous: pip install populous

  • Have a PostgreSQL database at hand

  • Find some blueprints (YAML files describing what you want to generate) or create some. This is the tricky part, but you can find some examples in the demo/blueprints/ directory.

  • Launch populous with those blueprints: populous run postgres demo/blueprints/*.yml (you can pass your postgres instance either via PG* environment variables or via arguments)

  • Gaze at your freshly generated data via psql or any other tool!

Troubleshooting

OSX compilation problems

There’s currently no pre-compiled package for the peloton_bloomfilters library, which is a current requirement for populous. To correctly install it in your environment, you’re going to:

  • install gcc (via homebrew, for example),

  • install the package using the following flags ARCHFLAGS="-arch x86_64" CC=/usr/bin/gcc.

For example, to install locally:

ARCHFLAGS="-arch x86_64" CC=/usr/bin/gcc pip install peloton_bloomfilters

Or if you want to run the test suite via tox:

ARCHFLAGS="-arch x86_64" CC=/usr/bin/gcc tox

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

populous-0.4.1.tar.gz (22.3 kB view details)

Uploaded Source

Built Distributions

populous-0.4.1-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

populous-0.4.1-py2-none-any.whl (31.7 kB view details)

Uploaded Python 2

File details

Details for the file populous-0.4.1.tar.gz.

File metadata

  • Download URL: populous-0.4.1.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for populous-0.4.1.tar.gz
Algorithm Hash digest
SHA256 22d35b9344b814fe87e31b7405fe32c96aa7703459d0eef276f4fddc3061def4
MD5 cccfbddf5762f94d45b8f450b0222c70
BLAKE2b-256 8a733779fa653068785b9e1555b0802ddba13182df4757af56a0e7a34af966fe

See more details on using hashes here.

File details

Details for the file populous-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for populous-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f27e74b024aed12f1a649f847521fe377de076a02388269c826f68e5401edff
MD5 a1101e8a5c993fa69a7c6ca9f92a02d1
BLAKE2b-256 004475299cb9213c745548ea2f5c46b27822ce1c6c12691d85528ed232e7ec81

See more details on using hashes here.

File details

Details for the file populous-0.4.1-py2-none-any.whl.

File metadata

File hashes

Hashes for populous-0.4.1-py2-none-any.whl
Algorithm Hash digest
SHA256 a98f88ec4ad780acc9175ebe271ffce1654077489a6e8fa69db0cf0aa8e4c467
MD5 513186cf23841ed2e620cfd81b930c7b
BLAKE2b-256 e69ca5b6dafcb545f7766c51ec95bdfeb7a9cf5e8d70caf875b0f38ab0cea512

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