semvec/pypi-packages huggingface dataset:
sl-document-processor 0.0.10.0
Package to process documents of any format
Requires Python: >=3.11,<3.12

# Data Processor

## Description


## Installation

```bash
pip install sl-document-processor
```

## Data Processing is a multi-step process

A brief overview of the steps involved in data processing:

1. Fetching Information
   1. Scrape data from a website
   2. Fetch data from an API
   3. Fetch data from a database
2. Clean
3. Transform
4. Index
5. Search / Analyze
6. Visualize
7. Store

This packag aims to be a one-stop-shop for all your data processing needs. It provides a simple interface to perform all the above steps and more.

## Documentation

The documentation for this package is hosted [here](https://data-pipleine.vercel.app/).
golftracker 2.0
Use open cv to detect critical elements in a golf swing.

# Table of Contents
1. [Introduction](#INTRODUCTION) Purpose of the package.
2. [Installation](docs/source/installation.md) If you wish to use the package.
3. [Development](docs/source/development.md) If you wish to change the source code and enhance the package.

## Introduction
-------------------
The package provides various scripts to process a golf swing video and export the information to another package "GolfCoach" for analysis. The output feedback can then be used to improve the swing.

The package uses Google media pipe for detecting the golfer. It then detects the club head in the video and the golf poses to detect the start and finish of the golf swing. This information in written out to a json file that can be analyzed by a separate packge "GolfCoach" for analysis. 

This is shown below ![Flowchart](docs/source/images/golftracker.png)


Some sample vides for down the line, right hand golfer is available on [GoogleDrive](https://drive.google.com/drive/folders/1TDUnGjP1wh1gZeN1EZdJOO4AeYuMLnkO?usp=sharing)

Each video example has 3 files.

* Video file

* Pickle database that is the result of running the scripts below.

* Json file for exporting to GolfCoach packge

The general sequence of steps for a video say "0001.mov"

### Create Swing Database
This step runs google media pipe and stores all the landmarks. It will also try to detect the golf poses and club head position. Current version usually fails on this and requires hand labellling.
```
create_swing_db 00001.mov
```

### Hand Label GolfPoses
Run the script below to label the golf poses. The golf pose consist of 
* Start Pose: 
* Top Pose: Indicates that the backswing is now complete.
* Finish Pose: Indicates that the swing is complete.

```
label_golf_poses 00001.pkl
```

### Hand Label Club Head Position
Label the club head in some of the frames. The script will then use a linear approx to fill the position in the remaining frames.

```
label_club_head 00001.pkl
```

### Export To Json
Export the information to a json file for analysis by the GolfCoach package.

```
dump_swing_db 00001.pkl
```

## Status
WIP: Detailed src documentation of this package is on [ReadTheDocs](https://golftracker.readthedocs.io/en/latest/)


## Status
The current steps are listed here [GolfSwingCapture](docs/source/golfswing_capture.md)
Initial thoughts on swing analysis are here [GolfSwingAnalysis](docs/source/golfswing_analysis.md)
django-cookie-consent-pax 0.2.6rc4
Django cookie consent application

Django cookie consent
=====================

[![Build Status](https://travis-ci.com/bmihelac/django-cookie-consent.svg?branch=master)](https://travis-ci.com/bmihelac/django-cookie-consent)
![PyPI - License](https://img.shields.io/pypi/l/django-cookie-consent)
[![PyPI](https://img.shields.io/pypi/v/django-cookie-consent)](https://pypi.python.org/pypi/django-cookie-consent)
![PyPI](https://img.shields.io/pypi/pyversions/django-cookie-consent)
![PyPI](https://img.shields.io/pypi/djversions/django-cookie-consent)


django-cookie-consent is a reusable application for managing various
cookies and visitors consent for their use in Django project.

support ranges from django 1.9 to 3.0 and python 2.7 to 3.7

Features:

* cookies and cookie groups are stored in models for easy management
  through Django admin interface

* support for both opt-in and opt-out cookie consent schemes

* removing declined cookies (or non accepted when opt-in scheme is used)

* logging user actions when they accept and decline various cookies

* easy adding new cookies and seamlessly re-asking for consent for new cookies

Documentation
-------------

https://django-cookie-consent.readthedocs.org/en/latest/


Configuration
-------------

1. Add ``cookie_consent`` to your ``INSTALLED_APPS``.

2. Add ``django.template.context_processors.request``
   to ``TEMPLATE_CONTEXT_PROCESSORS`` if it is not already added.

3. Include django-cookie-consent urls in ``urls.py``::

    url(r'^cookies/', include('cookie_consent.urls'))

4. Run ``migrate`` django management command.


Example app
-----------

::

    cd tests && ./manage.py runserver

Username and password for admin are 'administrator', 'password'.