Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python library that dynamically constructs a PyTables where condition from the supplied keyword arguments.

Project description

About

Python library that dynamically constructs a PyTables where condition from the supplied keyword arguments.

This work is a part of the investigation within the research project [ON174027], supported by the Ministry for Science and Technology, Republic of Serbia. This support is gratefully acknowledged.

References

[ON174027]“Computational Mechanics in Structural Engineering”

Installation

To install dynamic_pytables_where_condition run:

$ pip install dynamic_pytables_where_condition

Usage examples

Quick start:

>>> from dynamic_pytables_where_condition import construct_where_condition

>>> construct_where_condition()
''

>>> construct_where_condition(t_b_min=4.0, t_b_max=8.0, a_min=2000.0)
'(a >= 2000.0) & (t_b <= 8.0) & (t_b >= 4.0)'

>>> construct_where_condition(t_b_fix=4.0, t_b_max=None, a_min=None)
'(t_b == 4.0)'

Please see the fsm_modal_analysis source code for more examples.

Contribute

If you find any bugs, or wish to propose new features please let us know.

If you’d like to contribute, simply fork the repository, commit your changes and send a pull request. Make sure you add yourself to AUTHORS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dynamic_pytables_where_condition, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size dynamic_pytables_where_condition-1.1.1-py2-none-any.whl (4.4 kB) File type Wheel Python version 2.7 Upload date Hashes View hashes
Filename, size dynamic_pytables_where_condition-1.1.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page