Skip to content

Infrastructure for conversions of Sage number types for external Cython/Python packages (fpylll, pypolymake, ...) #21725

@mkoeppe

Description

@mkoeppe

There is a current trend to develop Cython libraries as separate packages, rather than as part of Sage.

Many of these libraries take numbers of various kinds as input or produce them as output.

It would be nice if these Cython libraries could do conversions from/to Sage number types. Otherwise, on the Sage side we would have to provide a separate wrapper around the Cython wrapper.

Currently, this leads to

We need to develop shared infrastructure (a new lightweight library, which does NOT depend on sagelib) for this.

CC: @malb @jdemeyer @videlec @infinity0 @mezzarobba @sagetrac-tmonteil @dimpase @slel @defeo @w-bruns

Component: interfaces

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/21725

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions