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
Metadata
Release files for populous 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| populous-0.6.0.tar.gz | 24.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| populous-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.2 kB
Release files / populous-0.6.0.tar.gz
| Download URL | populous-0.6.0.tar.gz |
|---|---|
| Size | 24.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5b81d2982277fbe3d0e5285849b96dcf419ec665b740c8eb1e1c4722c643d78
|
|
BLAKE2b-256 checksum How to use checksums |
6ef75bfc5f2632a5ccebe530deb4adaf13df7b8067cb613fc609a6e62c7691f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.1
|
Release files / populous-0.6.0-py3-none-any.whl
| Download URL | populous-0.6.0-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db37d4a71041383f4aaa01d1960606706c12cee1ca2d77f3afcd65eced15c93c
|
|
BLAKE2b-256 checksum How to use checksums |
841d87e087d3660dc0dd684e0813e0169c94a76cbd39089952e6b69a0bdcd5a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.1
|