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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for populous-0.3.0.tar.gz
Algorithm Hash digest
SHA256 07959e45003d0cc767997293b4d3167434b727ed6fec8d5352a6fee871670ce6
MD5 789e60a1441d976b877947d45b320c21
BLAKE2b-256 aef7d37cea7bdffa0f665d1fc8127e19111776aec9b4ff2b3bc06fe0a75d5e5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f6973ba92a46e16a9bb0d9393877942994a7c393c62f74efbae64706dac66b6
MD5 5cdb1c08d9033d98b20956fb0cca7db5
BLAKE2b-256 0d11e5c474d17be8f0e1563914736d7cecc9d61b7060257351f925b87e64141a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for populous-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 a79fe13235b104c533e6d9f85601c98057a38f112994f44335c23477b4778510
MD5 d7576a54ed04750a76226f560aae9cec
BLAKE2b-256 7fc76e484267e1ef30f8a46cb6c3297d80e771fd423a62db504df4b8d975a0f5

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