Skip to main content

A Python library for animal data analysis

Project description

ZooPy: A Python Library for Animal Data Analysis

python pandas matplotlib torch

Overview

ZooPy is a simple Python library with a concise API designed for analyzing and processing biological data related to animals. It provides tools for working with datasets, performing image recognition etc.

Data

The data was collected from Wikipedia and contains the languages:

  • 🇷🇺 Russian

Library Structure

Installation

To install ZooPy, run:

pip install zoopy

Usage

Getting started:

from zoopy import animal

cat = animal.Animal('кошка', 'ru')
cat.display()


ZooPy has interfaces for several pre-trained models, for example, ImageNet

import cv2

img = cv2.imread('img/duck.jpg')
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)

cv2.imshow(img)
from zoopy import models

model = models.ImageClassification()
print(model.predict(img))

Output: albatross

Create different graphics

from zoopy import animal, viz

turtle = animal.Animal('черепаха', 'ru')
viz.plot_classification(turtle)

For more information see docs.

Dependencies

  • pandas>=2.2.0
  • matplotlib>=3.9.0
  • tqdm>=4.66.0
  • Levenshtein>=0.26.0
  • numpy>=1.26.4
  • torch>=2.4.0
  • torchvision>=0.19.0

Contact

Contact me by Mail or Telegram.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

See the CONTRIBUTING file if you want to help the project.

Project details


Download files

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

Source Distribution

zoopy-0.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

zoopy-0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file zoopy-0.0.tar.gz.

File metadata

  • Download URL: zoopy-0.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for zoopy-0.0.tar.gz
Algorithm Hash digest
SHA256 7d0ee19307385c6b4c8cd81b1cc34814713305c44d8b5fb4220edbe25bbb1978
MD5 eb51c68a8fd57fe57c5d8dae390e8520
BLAKE2b-256 100fe1d37ea96915a7e19b2e5a9869b5a3ee69c754b2661eb7d103d2783eb138

See more details on using hashes here.

File details

Details for the file zoopy-0.0-py3-none-any.whl.

File metadata

  • Download URL: zoopy-0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for zoopy-0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f45b0a14b5395cbf97cd678efa5d3b27fb75d504c5d37d60b93732cdee7491c2
MD5 1ce9ad0df626f08792331e578158d1bc
BLAKE2b-256 04a9d0d8ff95e5fb6f72ab2492ea70ed985c29a2f71db8e8838c2376dfe66a45

See more details on using hashes here.

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