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

Uploaded Source

Built Distributions

populous-0.2.1-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for populous-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ac224ba5cf6ebe1d74f2e68a7b154c0d1e8eb527188f30addcd0b5fff2cd27b1
MD5 f44236b4d720505a3a1cba85cf6075a9
BLAKE2b-256 71fe00f696c68a346c22cfb1dc74c96d7a41150d1f7f8248f0d1096481c76e7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9713cc9cb9d83868288e4e59ee945d79e3f8fca90f35af0b804efb0fa0387aa3
MD5 363cf5ae1f733dc90bbd1bf7a9dcfcdf
BLAKE2b-256 13d07aa26aad84c87283df9865d7f7aef3390ec1110dfa983ed59866b5b43bce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 babb235814409ee7e90825176f0dc291a04c9460a3d29986ec5c0c630c3674f5
MD5 1238d33c8fb572c9c816a7bab9d9bb6c
BLAKE2b-256 f224f4a84ebab9a458f3eb0b5039c8ea39c5132ec21e7e3a12efe3ba910e24f8

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