Metadata-Version: 2.1
Name: cow-api
Version: 0.1.1
Summary: Cow API using FastAPI
Home-page: https://github.com/falkolav/cow_api
Author: Falko L
Author-email: falkolavitt@gmail.com
Classifier: Development Status :: 1 - Planning
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown

# Cow Assignment

### Description

This is a simple cow API that allows you to create, read, update, and delete cows using a RESTful API built with FastAPI.

### Features

1. Fetch all cows or a single cow based on its ID.
2. Create a new cow.
3. Update the details of an existing cow.
4. Delete a cow based on its ID.
5. Filter cows based on their attributes.

### Installation

Install the package using pip:

`pip install cow_api`

Alternatively, you can clone the repository and install the requirements using pip:

`pip install -r requirements.txt`

### Usage

After installation, you can run the application using uvicorn:

`uvicorn cow_api.main:app --reload`
Then navigate to http://localhost:8000/docs in your web browser to access the API.

### Testing

Tests are located in the tests directory. To run tests, navigate to the root directory of the application and execute the following command:

`pytest`
