Skip to main content

A package for generating random filters

Project description

Random filters: Python packaging for generate random filters to use in your project

Installation

pip install random-filters

Usage

import random_filters as rf

# checkbox
rf.checkbox()

# combobox
rf.combobox_hierarchy({"Estado": ["SP", "SP", "SP", "SC", "SC", "SC"],
                       "Cidade": ["São Paulo", "Itatiba", "Campinas", "Chapecó", "Xaxim", "Xanxerê"]})

# date
rf.date('2019-01-01', '2019-12-31')

# date_partition
rf.date_partition(2)

# store
rf.store(2)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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

random_filters-1.6.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

random_filters-1.6.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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