py-research#
About this project#
This repository is a collection of Python utilities to help you analyze & visualize data, automate workflows and manage knowledge while working in an interdisciplinary R&D project. More precisely, it serves these main puposes:
Extend existing, well-established packages (e.g. pandas, numpy sqlalchemy, structlog, …) with small helper functions and abstractions to provide lacking functionality or make them easier to use & automate.
Enforce best practices on scientific code to make it more reliable, quick to deploy, and easy to monitor.
Provide a framework for knowledge and information management backed by different data sources and databases, to which analysis / dataviz functions can tie in seamlessly.
Current status#
This project is actively maintained, but still under construction. The modules in their current form are working and continuously tested, but documentation is still minimal and many components of the framework are not yet implemented. Release versioning follows the Semver Spec, so breaking changes in existing API will only happen with major version upgrades, of which there are expected to be a few before the framework is complete.
Furthermore, some of the current functionality may be outsourced into a separate repo and package with these upgrades.
How to install#
py-research
is available as a Python package on PyPI:
pip install py-research
Alternatively, you can install it directly from git via:
pip install git+https://github.com/cloudlane-one/py-research.git
Contents#
- API References
- src
- py_research package
- Subpackages
- py_research.db package
- py_research.plots package
- py_research.reflect package
- Submodules
- py_research.caching module
- py_research.colors module
- py_research.data module
- py_research.enums module
- py_research.files module
- py_research.geo module
- py_research.hashing module
- py_research.intl module
DtUnit
Format
Format.decimal_notation
Format.decimal_digits
Format.decimal_min_digits
Format.decimal_max_digits
Format.decimal_group_separator
Format.datetime_auto_format
Format.datetime_format
Format.timedelta_auto_format
Format.timedelta_resolution
Format.country_format
Format.fallback_to_translation
Format.na_representation
Format.merge()
Format.spec()
Format.auto_digits()
Args
Template
Overrides
Localization
Localization.loc
Localization.overrides
Localization.show_raw
Localization.locale
Localization.override_dict
Localization.get_overrides()
Localization.activate()
Localization.deactivate()
Localization.term()
Localization.text()
Localization.label()
Localization.value()
Localization.formatter()
Localization.format_spec()
get_localization()
iter_locales()
default_file_path
load_from_file()
- py_research.ranking module
- py_research.sql module
- py_research.stats module
- py_research.tables module
TableStyle
TableColors
ResultTable
ResultTable.df
ResultTable.styles
ResultTable.labels
ResultTable.widths
ResultTable.title
ResultTable.max_row_cutoff
ResultTable.font_size
ResultTable.default_style
ResultTable.column_flatten_format
ResultTable.show_index
ResultTable.table_colors
ResultTable.table_css
ResultTable.index_label
ResultTable.html_description()
ResultTable.to_styled_df()
ResultTable.to_html()
to_html()
html_to_pdf()
html_to_image()
- py_research.telemetry module
- py_research.time module
- Subpackages
- py_research package
- src