semvec/pypi-packages huggingface dataset:
jotform-extended 0.1.4
A Python API wrapper for Jotform, with additional endpoints.
Requires Python: >=3.8
Keywords: Jotform, API, wrapper, forms, integration


# Unofficial Jotform API Extended Python Client

This is an unofficial API wrapper for Jotform in Python that includes additional endpoints and documentation.

## Information
The official documentation can be found here: [Jotform API Documentation](https://api.jotform.com/docs)

Additional documentation for the different endpoints are included in the docstrings of each function.

API coverage:

| Endpoints | [Jotform API](https://github.com/jotform/jotform-api-python/) | Extended |
|---|---|---|
| User | ✔️ | ✔️ |
| Form | ✔️ | ✔️ |
| Form Questions | ✔️ | ✔️ |
| Form Properties | ✔️ | ✔️ |
| Form Submissions | ✔️ | ✔️ |
| Form Webhooks | ✔️ | ✔️ |
| Form Reports | ✔️ | ✔️ |
| Submission | ✔️ | ✔️ |
| Report | ✔️ | ✔️ |
| Folder | ✔️ | ✔️ |
| System | ✔️ | ✔️ |
| Teams | ❌ | ✔️ |
| Apps | ❌ | ✔️ |
| Form Archive | ❌ | ✔️ |
| Submission Threads | ❌ | ✔️ |
| Start Workflow | ❌ | ✔️ |
| PDFs | ❌ | ✔️ |
| AI Agents | ❌ | ✔️ |
| SMTP | ❌ | ✔️ |

## Installing
You can install the extended client using:

      $ pip install jotform-extended

## Authentication
The Jotform API requires a Jotform API key. If you don't have one, you can follow [this guide](https://www.jotform.com/help/253-how-to-create-a-jotform-api-key/) to create one.

## Usage examples
Get user details:
```python
from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"

jf = JotformExtendedClient(api_key=jotform_api_key)
user_details = jf.get_user()
print(user_details)
```
Get form details:
```python
from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"
form_id = "your_form_id"

jf = JotformExtendedClient(api_key=jotform_api_key)
form_details = jf.get_form(form_id=form_id)
print(form_details)
```
Create a form:
```python
from jotformextended import JotformExtendedClient

jotform_api_key = "your_api_key"
form_details = {
    "properties[title]": "Form Title",
    "questions[0][type]": "control_head",
    "questions[0][text]": "Form Header",
    "questions[0][order]": "1",
    "questions[1][type]": "control_textbox",
    "questions[1][text]": "Text Box Label",
    "questions[1][order]": "2",
    "questions[1][required]": "Yes",
    "questions[1][readonly]": "No",
    "emails[0][type]": "notification",
    "emails[0][name]": "Notification 1",
    "emails[0][from]": "default",
    "emails[0][to]": "example@example.com",
    "emails[0][subject]": "New Submission Received",
}

jf = JotformExtendedClient(api_key=jotform_api_key)
response = jf.create_form(form=form_details)
print(f"Form ID: {response['content']['id']}")
print(f"Form URL: {response['content']['url']}")
```
django-sightline 0.1.0
Smart, privacy-friendly site analytics for Django. Track visits, popular pages, referrers, and more — directly from the admin dashboard.
Requires Python: >=3.7

# django-sightline 🕵️‍♂️

**Smart, privacy-friendly site analytics for Django.** Track visits, popular pages, referrers, and more — directly from the admin dashboard.

## Features ✨

- 🔒 **Privacy-Focused**: Designed with user privacy in mind.
- 🛠️ **Admin Dashboard Integration** : View analytics directly within Django's admin interface.
- 📈 **Page Tracking**: Monitor page visits and identify popular content.
- 🔗 **Referrer Tracking**: Understand where your traffic is coming from.
- 🎨 **Customizable**: Easily extend and modify to fit your project's needs.

## 🚀 Next Steps

- 🔗 Add a referral system  
- ⚡ Reduce logging load in `VisitLog`  
- 🔍 Add filters in the admin panel  
- 📚 Implement documentation 


## Installation ⚙️

1. Install the package via pip:

   ```bash
   pip install django-sightline
   ```


2. Add `'sightline'` to your `INSTALLED_APPS` in `settings.py`:

   ```python
   INSTALLED_APPS = [
       ...
       'sightline',
       ...
   ]
   ```


3. Run migrations to set up the necessary database tables:

   ```bash
   python manage.py migrate sightline
   ```


4. Include the middlewares you need in your `MIDDLEWARE` settings:

   ```python
   MIDDLEWARE = [
       ...
       'sightline.middleware.VisitLogMiddleware',
       ...
   ]
   ```


5. Optionally, configure the `SIGHTLINE_SETTINGS` dicts to customize your tracking experience:

   ```python
   SIGHTLINE_SETTINGS = {
        "visit": {
            "enabled": True,
            "exclude_path": r"^/admin/",
            "interval_capturing": 5 # Seconds
        },
        "geoip": {
            "enabled": False,
            "marker_interval": 10 # days
        }
   }
   ```

![dashboard](dashboard.png)


## Usage 📝

Once installed, django-sightline automatically tracks page visits and referrers. You can view the analytics data in the Django admin interface under the "Sightline" section.

To customize the behavior, you can extend the provided models and middleware. For example, to track additional data or modify the tracking logic, customize your Admin Model with `BaseLogAdmin` and override the methods and criteria for metrics generation.

## Contributing 🤝

Contributions are welcome! To contribute:

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add new feature'`).
5. Push to the branch (`git push origin feature-branch`).
6. Create a new Pull Request.

## License 🔑

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
devscasino 0.1.1
A simple GUI-based casino slot machine library
Requires Python: >=3.6

Basic README file for PyPI and users:


# DevsCasino

A simple Python GUI casino slot machine library using Tkinter.

## Installation

pip install devscasino


## Usage

import devscasino

devscasino.play()



## Description

This library provides a simple casino slot machine game with a graphical interface built on Tkinter. Place your bets and try your luck!

---

Feel free to contribute or raise issues on GitHub!
pygafro-assets 1.0.0
Optional asset files for pygafro
Requires Python: >=3.8

<!--
 SPDX-FileCopyrightText: Copyright © 2025 Idiap Research Institute <contact@idiap.ch>

 SPDX-FileContributor: Philip Abbet <philip.abbet@idiap.ch>

 SPDX-License-Identifier: MPL-2.0
-->


# Assets package for pygafro (Geometric Algebra For RObotics in Python)

Contains mesh and texture files for the robots available in [pygafro](https://github.com/idiap/pygafro/).

**This package is optional and isn't needed if you don't want to display the robots!**
Note that *pygafro* doesn't provide any rendering functions, it only indicates which mesh file
to use for each link.

## Installation using pip

	pip install pygafro-assets

## Background

You can find the accompanying article [here](http://arxiv.org/abs/2212.07237) and more information on our [website](https://geometric-algebra.tobiloew.ch/).

## How to cite

If you use *gafro* in your research, please cite:

	@article{loewGeometricAlgebraOptimal2023,
	  title = {Geometric {{Algebra}} for {{Optimal Control}} with {{Applications}} in {{Manipulation Tasks}}},
	  author = {L\"ow, Tobias and Calinon, Sylvain},
	  date = {2023},
	  journal = {IEEE Transactions on Robotics},
	  doi = {10.1109/TRO.2023.3277282}
	}
json2pytype 0.1.1
A tool to generate Python classes with type hints from JSON files
Requires Python: >=3.9

# JSON to Python Class Generator

A tool that converts JSON files into Python classes with type hints, making it easier to work with structured JSON data in Python.

## Features

- Converts JSON structures to Python classes with proper type annotations
- Handles nested objects and arrays
- Maintains proper naming conventions (camelCase to snake_case, etc.)
- Generates `__init__` method for object initialization
- Includes `__call__` method to convert back to dictionary

## Installation

### From Source
# Clone the repository
```bash
git clone https://github.com/yourusername/json2pyclass.git
cd json2pyclass
```
# Install with pip
pip install .

# For development (includes testing dependencies)
pip install ".[dev]"
## Usage

### Command Line Interface
# Basic usage
json2pyclass input.json -o output.py

# If output path is not specified, it will use input filename with .py extension
json2pyclass data.json
### As a Library
from json2pyclass import generate_type_declare_file

# Generate Python classes from JSON file
generate_type_declare_file("input.json", "output.py")
## Example

For a JSON file like this:
{
  "userName": "john_doe",
  "age": 30,
  "isActive": true,
  "address": {
    "street": "123 Main St",
    "city": "Anytown"
  },
  "hobbies": ["reading", "hiking"]
}
The tool will generate a Python file with classes:
from typing import List, Dict, Any, Optional

class Address:
    street: str
    city: str

    def __init__(self, data: dict):
        self.street = data.get('street')
        self.city = data.get('city')
        pass

    def __call__(self) -> dict:
        result = {}
        result['street'] = self.street
        result['city'] = self.city
        return result

class User:
    user_name: str
    age: int
    is_active: bool
    address: Address
    hobbies: List[str]

    def __init__(self, data: dict):
        self.user_name = data.get('userName')
        self.age = data.get('age')
        self.is_active = data.get('isActive')
        self.address = Address(data.get('address', {}))
        self.hobbies = data.get('hobbies', [])
        pass

    def __call__(self) -> dict:
        result = {}
        result['userName'] = self.user_name
        result['age'] = self.age
        result['isActive'] = self.is_active
        result['address'] = self.address() if self.address else None
        result['hobbies'] = self.hobbies
        return result
## Testing

Run the test suite with:
pytest
## License

This project is licensed under the MIT License - see the LICENSE file for details.