Skip to main content

Build Status Coverage PyPI Version NPM Version License Binder

An ipywidgets wrapper of regular-table for Jupyter.

Examples

Two Billion Rows

Notebook

Click Events

Notebook

Edit Events

Notebook

Styling

Notebook

Pandas Data Model

For interactive/streaming sorting/pivoting/aggregation, take a look at Perspective, Streaming pivot visualization via WebAssembly, which also leverages regular-table.

Notebook

Series

DataFrame

DataFrame - Row Pivots

DataFrame - Column Pivots

DataFrame - Pivot Table

Installation

You can install using pip:

pip install ipyregulartable

Or if you use jupyterlab:

pip install ipyregulartable
jupyter labextension install @jupyter-widgets/jupyterlab-manager

If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:

jupyter nbextension enable --py [--sys-prefix|--user|--system] ipyregulartable

Data Model

It is very easy to construct a custom data model. Just implement the abstract methods on the base DataModel class.

class DataModel(with_metaclass(ABCMeta)):
    @abstractmethod
    def editable(self, x, y):
        '''Given an (x,y) coordinate, return if its editable or not'''

    @abstractmethod
    def rows(self):
        '''return total number of rows'''

    @abstractmethod
    def columns(self):
        '''return total number of columns'''

    @abstractmethod
    def dataslice(self, x0, y0, x1, y1):
        '''get slice of data from (x0, y0) to (x1, y1) inclusive'''

Any DataModel object can be provided as the argument to RegularTableWidget. Note that regular-table may make probing calls of the form (0, 0, 0, 0) to assess data limits.

Development

See CONTRIBUTING.md for guidelines.

License

This software is licensed under the Apache 2.0 license. See the LICENSE and AUTHORS files for details.

Metadata

Release files for ipyregulartable 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipyregulartable 0.2.1
File Size Uploaded Provenance Actions
ipyregulartable-0.2.1.tar.gz 1.5 MB Without provenance Details for ipyregulartable-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ipyregulartable 0.2.1
File Interpreter ABI Platform Actions
ipyregulartable-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for ipyregulartable-0.2.1-py2.py3-none-any.whl

Total release size: 4.3 MB

Release files / ipyregulartable-0.2.1.tar.gz

Download URL ipyregulartable-0.2.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
27a074a386139316c89ad1969f8225ca298688837182ddccb93498805ca5bb15
BLAKE2b-256 checksum
How to use checksums
14f02b8f34a5a4e822eaad7f37db3d517f775e5479ecdbdc050104852ec39a9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.12

Release files / ipyregulartable-0.2.1-py2.py3-none-any.whl

Download URL ipyregulartable-0.2.1-py2.py3-none-any.whl
Size 2.7 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
02cb047219da5d7a974a56a1f8539538e305b6f34ccabfd7f9707b62cd331eb3
BLAKE2b-256 checksum
How to use checksums
d7b57955c2e5f3efec359690cb2160fec2aa9af94ce5f5f2160098e7bb6cd2ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.12

Security for ipyregulartable 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page