Skip to main content

markoff-graph

Small Python package for finite-field Markoff-type graphs over prime fields:

x^2 + y^2 + z^2 = x*y*z + A*x + B*y + C*z + D  mod p

Install

python -m pip install markoff-graph

Optional features:

python -m pip install "markoff-graph[nx]"    # NetworkX export
python -m pip install "markoff-graph[eig]"   # SciPy eigenpairs
python -m pip install "markoff-graph[all]"   # all optional features

Usage

from markoff_graph import MarkoffGraph

G = MarkoffGraph(4, 4, -2, -4, 31)

print(G.roots())                 # root triple -> component size
print(len(G.component((0, 0, 19))))
print(list(G.nodes())[:5])

NetworkX export

from markoff_graph import MarkoffGraph
from markoff_graph.nx_export import to_multigraph

G = MarkoffGraph(4, 4, -2, -4, 31)
H = to_multigraph(G)

Eigenpair for a component

from markoff_graph import MarkoffGraph

G = MarkoffGraph(2, 1, 0, -5, 41)
value, vector = G.eig((0, 0, 6))

print(value)          # second adjacency eigenvalue
print(vector[(0, 0, 6)])

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

markoff_graph-0.0.6-cp314-cp314-win_amd64.whl (70.2 kB view details)

Uploaded CPython 3.14Windows x86-64

markoff_graph-0.0.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp314-cp314-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

markoff_graph-0.0.6-cp313-cp313-win_amd64.whl (68.4 kB view details)

Uploaded CPython 3.13Windows x86-64

markoff_graph-0.0.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp313-cp313-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

markoff_graph-0.0.6-cp312-cp312-win_amd64.whl (68.4 kB view details)

Uploaded CPython 3.12Windows x86-64

markoff_graph-0.0.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp312-cp312-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

markoff_graph-0.0.6-cp311-cp311-win_amd64.whl (68.4 kB view details)

Uploaded CPython 3.11Windows x86-64

markoff_graph-0.0.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp311-cp311-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

markoff_graph-0.0.6-cp310-cp310-win_amd64.whl (68.4 kB view details)

Uploaded CPython 3.10Windows x86-64

markoff_graph-0.0.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp310-cp310-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

markoff_graph-0.0.6-cp39-cp39-win_amd64.whl (68.4 kB view details)

Uploaded CPython 3.9Windows x86-64

markoff_graph-0.0.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (19.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

markoff_graph-0.0.6-cp39-cp39-macosx_11_0_arm64.whl (19.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file markoff_graph-0.0.6-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ccae01efa79215fed1bdb9a3c647da5af678df6938b4eba7627a4ab158a58a2d
MD5 ecb27e5b7cfa62f3b566bf1916f901c4
BLAKE2b-256 6cd97f717ba4953511ed14261ea2f09b0cc8e31a049767badbeb38d1a3c4a5bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 8acf987aedca51d52c14e39ec4789b4dbd130314b56e33485073b01a7441e4bb
MD5 b26e23e5b09525921ba7af1f32f95206
BLAKE2b-256 949e7e4b59437aab4bd8cd3b03cdfbc60fdcc7b8faa38be0e7de657be59fdcec

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 18151865b5ed9d47660944287271a13e0a2172ce4daafbb00c883e11f2d305dc
MD5 db662b4de76c28f181d22ce32a96aabd
BLAKE2b-256 2d93b63b9572ae17690bbeac347cd727a0476c02a4fe444975804703af54cf12

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 91119ebc63e66365593885cb82a9b65553098bba8db01615e81ba672d6274174
MD5 70ebbd4f6d77b2ab544574d4ff471136
BLAKE2b-256 2d5152d29b37f8d29353854d361fe064bc593c5fd340cd7ff56c7d3d2c7dd6cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 f87fc30a8dc87b880353179554cf4ed95e131609104c80648bda0f975cffe087
MD5 371e118818a22f5ad3dfcedc27dfe244
BLAKE2b-256 ad10fd67eebf283967ee2faa0be1efa848fbe6cc78232a3cefda7305170d1724

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88df97562df1c1d397aca0359dc25911954e60247197e0f008ceb69a531e8079
MD5 8f710af67c43ba5587253ae9992a985d
BLAKE2b-256 b595bb72b155ade17098da3d817383fa4e9919b93fdc798f9bfe1e413829da81

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 82901cb9380a3004cf3a6d1a79321d436eb4c6eb3f737c90bcc13b961453aea5
MD5 25c345a7066650320bb667ff95979ea3
BLAKE2b-256 d94cfc2b1fb7ff6bf148e20a279983bdd31f12246e7cbfbb489ab92e357742cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 109f93734353b638dd5b2b75b9a59664c4cf7e2ed36af7dcbbffc7c426fecdbc
MD5 4fc03b43a30f9d0cd00ef0fedc61bedd
BLAKE2b-256 e54f037ee09bb421367e8db9ddac58009206b6c83925ea4b11b26d1e3c717445

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28fae618152f80c1838b332ac51e3edc81667e444a65ae3dd7e398286a3cb093
MD5 6d4b1a013fe3b4f24efd20ffb02305c4
BLAKE2b-256 33075e9e41f0d97a960b2398afc4a292b4c2f676af37e05e6fbb85c2b7e8e82f

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 67afc00af9e906e0eb2a89f554471d4de7ca66d2d546bc62fc421c9537e81f53
MD5 349e8eb3d749a58394a96822a261c94f
BLAKE2b-256 b42e44112d3be4252c3246e832db20ba60113f7edaa90b8fa86afa035e34c481

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 1b4aaba23ba619492c2ec0aec1d1edf400d97c6a1e2a6e1d3183ba17c99aa94f
MD5 c8d61cf4eb46420198e6fccf9e535e3e
BLAKE2b-256 e9cf9b78a17364533c8830d59416ee569f6b0021fa5e9f0f8cbec56c4a387956

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a7ae5e1dde98fd0fd7a81d868fdaf7a468c98d37e7281dfa166f9474f871b3e
MD5 915d9a8154baafb2fd4e83e4c58d3360
BLAKE2b-256 cbab50889e778451591dad0dd3e88fc0ffa1bf72197a54d0dde54f10d2bd82dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 91cf3c6015162c5a8fca30fba51db93561322c9946ed4144a59860277c8cb760
MD5 d85798d8b8240af66bf498c21653a6d0
BLAKE2b-256 dd9374528115ad6315e67ff27e117cfeddb0bf9ef2e1a247f725f6783b5608fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 fcbe1153ed7774ebe9170bad1ec79fe9e3b7d0a4dec83454e4546612432dba45
MD5 4f9ff4afb9f2831e11fb86c2db28bea8
BLAKE2b-256 8c0011b55c955dbb5091e9c34076a435b92340594f5e995e56459eec8c788439

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c110095a2263c3feaf39e4301906b2c2b068b69288b88a1770a2bd7885b1c545
MD5 9ce7be5bf4748f633d0d24be1a8f21b8
BLAKE2b-256 1946352055ac20fbc0e6765a2cbecffbbaa38efebccba8a96f0ea80f01c9e8dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4abd50d746aa4c6e80703e5aa7b224c3567ec59e15cdff184585d1a9fcca3490
MD5 9b494cc61d7b793ea51a2011d2f187a6
BLAKE2b-256 f42e6e994fc890e88f210c9090e622d9e307114646a30755ea4db4a08319188c

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp39-cp39-win_amd64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 6499f5d9854fefbdfc85c0d44ddc29a88d180059ed62b7cc60affadd25ca78ea
MD5 3855b6d26aa6bbc674dccb8a370bb8de
BLAKE2b-256 fa2d37d69c0add64cf41aa15f6380c3d6b6c9c3e79077f9cf413d3f43bb38813

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp39-cp39-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file markoff_graph-0.0.6-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for markoff_graph-0.0.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fa9f489bbefb8afbd42c989522316ff8f9a3b025bda3a639bc747298448fe85
MD5 49a98329bd9c20a1cc7b71ae7ab4f7d2
BLAKE2b-256 2e83f5e6568781222641f27d3b58eba5e2025188b199f22bac1031094d64be1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for markoff_graph-0.0.6-cp39-cp39-macosx_11_0_arm64.whl:

Publisher: publish.yml on yberman/markoff-graph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page