Skip to content

GraphQL support / accessor plugin system #29076

Open
@maartenbreddels

Description

@maartenbreddels

I recently added graphql support in vaex (another dataframe library), and just added support for pandas as well: vaexio/vaex#446

However, this is only available after importing vaex.graphql, e.g.:
image

In vaex, I use a plugin system using the entry point system, e.g:

entry_points={
        'vaex.dataframe.accessor': ['graphql = vaex.graphql:DataFrameAccessorGraphQL'],
    },

Is this maybe something pandas can do as well? That would mean that simply installing vaex.graphql would enable this.

Note: in vaex I lazily import the modules, so if df.graphql never gets accessed, vaex.graphql will never be imported.

Metadata

Metadata

Labels

EnhancementIO DataIO issues that don't fit into a more specific label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions