Skip to content

Are methods from calcium available in python-flint 0.5.x? #126

Open
@kiryph

Description

@kiryph

I have used Calcium 0.4 and its python interface pycalcium/pyca.

Now it does not work anymore since macOS homebrew updated my Flint installation from 2.x to 3.x to which it was linked.

Since the documentation of Flint 3 says Arb and Calcium are merged into Flint, maybe the Python wrapper for Calcium has been merged into python-flint.

I have installed the current release of python-flint to pypi and try to see if I can access methods from Calcium

pipenv install python-flint
Creating a virtualenv for this project...
...
❯ pipenv shell
Launching subshell in virtual environment...

❯ python
Python 3.9.4 (default, May  1 2021, 16:18:37)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import flint
>>> flint.__version__
'0.6.0'
>>> flint.
flint.Context(             flint.coerce_fmpz_mpolys(  flint.fmpz_mod(            flint.nmod(
flint.DomainError(         flint.ctx                  flint.fmpz_mod_ctx(        flint.nmod_mat(
flint.acb(                 flint.dirichlet_char(      flint.fmpz_mod_mat(        flint.nmod_poly(
flint.acb_mat(             flint.dirichlet_group(     flint.fmpz_mod_poly(       flint.nmod_series(
flint.acb_poly(            flint.flint_base           flint.fmpz_mod_poly_ctx(   flint.pyflint
flint.acb_series(          flint.fmpq(                flint.fmpz_mpoly(          flint.showgood(
flint.arb(                 flint.fmpq_mat(            flint.fmpz_mpoly_ctx(      flint.types
flint.arb_mat(             flint.fmpq_poly(           flint.fmpz_poly(           flint.utils
flint.arb_poly(            flint.fmpq_series(         flint.fmpz_series(
flint.arb_series(          flint.fmpz(                flint.functions
flint.arf(                 flint.fmpz_mat(            flint.good(

But I am struggling to check this.

The documentation of python-flint does not seem to be updated since the merge of Arb and Calcium into Flint:

https://fredrikj.net/python-flint/ (says version 0.3.0 from 2018)

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