Skip to main content

Package to create dummy datasets for analysis tasks

Project description

Blob Dataset Creator

Publish to PyPI Lint with PyLint Test with Pytest

Blobs are little monsters that you can use to demonstrate data analysis procedures. They have a size, a weight, a color and a cuteness level. As you can see, a blob dataset contains all types of variables that you can find in the wild (nominal, ordinal and metric).

Generator Output

This generator creates a population of blobs. It delivers (a) an Excel data frame with every blob's properties, (b) a population plot that visualizes all blobs for presentation purposes and (c) a set of visualizations of the population data.

Dataframe

The population plot displays all blobs with color and size. In addition to that, it shows blob names. There are three different kinds of base images that can be used to visualize blobs.

Blob population

The visualization plot inklude a histogram of blob size and blob weights, as well as a bar chart with cuteness level counts and a scatter plot of size and weight.

Blob population analysis

Use the Generator

Blob populations can either have large (12) or small (1) variability, determined by the population's scatter index. Moreover, they can consist of a large number of monsters or can also be small, determined by the population's n.

You can generate a new population by calling:

from blob_creator.core import BlobFactory

# This instantiates a new blob factory
blob_factory = BlobFactory(n=20, scatter=12, kind="monster")

# This will create the blobs
blob_factory.create_blobs()

# This will export your dataset and your population plot to disk
blob_factory.export_data()

# Upload the csv file of the popoulation to share
# it with your students
blob_factory.upload_dataset()

# Finally, the output directory can be cleaned-up
blob_factory.delete_individual_pngs()

Package Installation

This package can be installed using Python's package index. Use the following command to do this:

pip install blob-creator

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

blob_creator-3.2.5.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

blob_creator-3.2.5-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file blob_creator-3.2.5.tar.gz.

File metadata

  • Download URL: blob_creator-3.2.5.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for blob_creator-3.2.5.tar.gz
Algorithm Hash digest
SHA256 971567cebbc482f2fa492008dd59ec02bf68045df0650729389a7d2e89d99fd4
MD5 4418273b3e34429a3796789e35819558
BLAKE2b-256 a26f1c2583275095ea6c4192ea6958afed6d88586e3b334184a1ef4491832dbe

See more details on using hashes here.

File details

Details for the file blob_creator-3.2.5-py3-none-any.whl.

File metadata

  • Download URL: blob_creator-3.2.5-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for blob_creator-3.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4b7858b47d49e4cb6a79b137bf60994967004100d8fd5e7f4e02a108b8a8e9e3
MD5 a5e835eea0b681f46beeb57c69159697
BLAKE2b-256 fe11a651c1ffa56dec1773ad4ede0502cc494e8a9b2d43f777b4dd82c43e5e90

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