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.2.2.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

populous-0.2.2-py2-none-any.whl (31.6 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for populous-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ca012ffa78adcab40fcc9b42e7853b9ed6e00b7ca12540e4cc08fc439896d858
MD5 a389279f78e0a05e9c07df766d2320e0
BLAKE2b-256 1174307f5561c783eb532ade2f46dd0d7cb07087fdbe1065fbc45b17ad8f1e70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.2.2-py2-none-any.whl
Algorithm Hash digest
SHA256 3bec9ec49253381ed377d87d5085d7c51ef5cb66a530b88157d89af69aaa14fa
MD5 a2942c1fac74b008de5bc277a3e1f97f
BLAKE2b-256 18eb3ff6108ea91fd5231c6de73030f339a31b8862b1500f352127d014613a10

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