Skip to main content

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.

Source Distribution

Built Distribution

File details

Details for the file dynamic_pytables_where_condition-1.1.1.tar.gz.

File metadata

File hashes

Hashes for dynamic_pytables_where_condition-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b6a13d52d6e0d9255cbb71a11bf0a213444aa987fe54456849874a84be387b6a
MD5 eeeae5b981dc8343aa2d686c0a576382
BLAKE2b-256 f75248e28519fdb8e21aa5fb1ffa9537f1b4ff7a5c0cf4495f97ee1fe47d4d6e

See more details on using hashes here.

File details

Details for the file dynamic_pytables_where_condition-1.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for dynamic_pytables_where_condition-1.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5802ba765a292659539fcf43aafaef1a1658ba9b44fea30ae9d7f7dc1ece2cb6
MD5 3a2885ce163734d9bb3cc61669d315d2
BLAKE2b-256 7ba0480ca489450c3df2ab98735161ff5aaec01b08e5b99e6a30b9eb52c2103b

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