Skip to main content

zindi-package

Description

A user-friendly Python client for interacting with the Zindi platform.

Installation

pip install -U zindi

Quick start

from zindi.user import Zindian

# interactive mode (prints formatted tables/messages)
user = Zindian(username="your_username")

# or tool/MCP-friendly mode (returns typed models)
# user = Zindian(username="your_username", return_models=True, to_print=False)

Usage

You can also check the Colab notebook.

# 1) Select challenge
selection = user.select_a_challenge(challenge_id="digicow-farmer-training-adoption-challenge")

# 2) Inspect challenge/rank
current = user.which_challenge
rank = user.my_rank

# 3) Leaderboard and submission board
leaderboard = user.leaderboard(per_page=50)
board = user.submission_board(per_page=50)

# 4) Download dataset and submit file
files = user.download_dataset(destination="./dataset")
submission = user.submit(
	filepaths=["./dataset/SampleSubmission.csv"],
	comments=["initial submission"],
)

# 5) Team actions
team = user.create_team(team_name="New Team")

Typed model outputs (recommended for integrations)

user = Zindian(username="your_username", return_models=True, to_print=False)

selection = user.select_a_challenge(query="DigiCow")
print(selection)             # ChallengeSelectionResult(...)

leaderboard = user.leaderboard(per_page=10)
print(leaderboard)           # LeaderboardResult(rank=..., total_rows=...)

submissions = user.submission_board(per_page=20)
print(submissions)           # SubmissionBoardResult(total_rows=...)

payload = leaderboard.to_dict()   # JSON-serializable dictionary

Contributors

Metadata

Release files for zindi 0.0.4

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

Source distribution (sdist)

Source distribution for zindi 0.0.4
File Size Uploaded
zindi-0.0.4.tar.gz 177.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zindi 0.0.4
File Interpreter ABI Platform
zindi-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 193.8 kB

Release files / zindi-0.0.4.tar.gz

Download URL zindi-0.0.4.tar.gz
Size 177.9 kB
Tags Source
SHA-256 checksum
How to use checksums
48dbd80320eb1071f0682bf926ef6c400f542bdf61606cd115024561f9fc631a
BLAKE2b-256 checksum
How to use checksums
9177e41ff45a8c8cf5208ff7b895e2f1e1b8b813a18108037e0084b74d4dce8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 11, 2026.

Transparency log

Release files / zindi-0.0.4-py3-none-any.whl

Download URL zindi-0.0.4-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da001c654a94844caa52ffa365218b772221ac0c1b3356932ae692959cd0fe45
BLAKE2b-256 checksum
How to use checksums
60a8e2ed15426e35701da109c36eac674b2569730d822a0dc750121f9cb9c087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

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