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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for populous-0.4.0.tar.gz
Algorithm Hash digest
SHA256 dc9f779e267612dd58b95eefd7aa73dc6f3533f087771ea11167b79aa2456807
MD5 45b199343e3fc27c6a8b8820948e6a09
BLAKE2b-256 dd4982e4654754b5d3260bf96835b25d4f4a94b9224ea207a76bd62b96ae8ea3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 caf51589f7b736ae092befe50b77c8cfa4845666fe92cee68344ec81dc01c2ce
MD5 6f37e9d2684752175ab5fa885d44f343
BLAKE2b-256 224164c5f44bcfd16bfabe534870087e0653220a3db070a9a85be40885282469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6972de52dda9327c615818710c52d3e81f5789287ee119f9d1c1933887914106
MD5 a2829d03bda938ff698e1a57828470cc
BLAKE2b-256 540360c45a49915082bb1239be8c2c36cdec8de8cadc91d6866375b4d7f137dd

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