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

Uploaded Source

Built Distribution

populous-0.5.0-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: populous-0.5.0.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for populous-0.5.0.tar.gz
Algorithm Hash digest
SHA256 46c012e3cf905d956a87dd08215b6b6edae19972afe8ba5dae04fb61ed4f0556
MD5 f625768471e2985c5315869292747dab
BLAKE2b-256 94d0b4a7ecbbaa7cc5da735b86266721c5494e1321a9d4c46456d0a7756eccea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: populous-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for populous-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 413747db85d5e73f64838d42d3b60d93d9ffb3e2503ec3b965dd402d52f91f7d
MD5 779e38e917e0bbf82c4d559614c0f470
BLAKE2b-256 bcd868804899b7b460bde9d4dbfebb5f78ec0ae20d2eb59de2b85336efd3ec6b

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