semvec/pypi-packages huggingface dataset:
pymagba 0.1.0
Performant magnetic computation powered by Rust
Requires Python: <3.13,>=3.10

PyMagba
=======

This is the first release of PyMagba. It is still in the infancy stage but all the calculations should be correct.
The code has not been cleaned yet, and the documentations are incomplete. Stay tuned. See you on PyMagba 0.2.0!
haptic-harness-generator 0.0.42
Software to easily generate parameterized tiles for haptic harnesses
Requires Python: >=3.8

# Haptic Harness Toolkit Generator

A software to easily generate parameterized tiles for haptic harnesses
<p align="center">
 <img src = "https://github.com/HaRVI-Lab/haptic-harness/raw/main/images/hexagonExploded.jpg" alt = "Exploded view of hexagonal tile" width="30%">
 <img src = "https://github.com/HaRVI-Lab/haptic-harness/raw/main/images/flatView.jpg" alt = "Flat view of tile" width="30%">
 <img src = "https://github.com/HaRVI-Lab/haptic-harness/raw/main/images/squareExploded.jpg" alt = "Exploded view of square tile" width="30%">
</p>

## Description

-   This software allows researchers to create an easy haptic harness by generating a tile solution
-   Researchers can change harness parameters to meet their needs

## Getting Started

Setting up a new Conda environment through the ternminal with the correct dependencies:

1. Create a new conda environment with Python 3.9 using: `conda create -n hapticHarnessGenerator python=3.9 vtkbool vtk -c conda-forge`
> [!WARNING]  
> vtkbool through conda-forge is only availabe on win64, linux64, and osx64. Please see: https://github.com/zippy84/vtkbool  
> Therefore, please select the correct platform for the conda environment like this example for mac: `conda create -n hapticHarnessGenerator python=3.9 vtkbool vtk -c conda-forge --platform osx-64`
2. Run: `conda activate hapticHarnessGenerator`
3. Install the haptic harness generator with: `pip install haptic_harness_generator`
4. Run the program from your cli with: 
   -   `run-haptic-harness --export-dir [your absolute path]`
   -   Ex. (for Windows) `run-haptic-harness --export-dir C:\Users\Me\Downloads` 


## Software Operation

1. Change parameters in the "Generate Tiles" tab
2. In the "Generaet Tiles" tab, click "Generate Parts" to generate the .dxf and .stl files
3. Generated files can be found in the "exports" directory
<p align= "center">
    <img src = "https://github.com/HaRVI-Lab/haptic-harness/raw/main/images/hapticsNew.jpg" alt = "Diagram view" width="76%">
</p>


## Hardware Operation
### Materials
- Tyvek: will be cut for the tiles
- EVA foam: will be cut for the liner
- Hardboard (or comparable material): will be cut for the magnet ring
- Hard 3D printable material (ex. PLA): will be print for peripheral items
### Tile Assembly
-   After files are generated, they will be exported as:
    -   .dxf files to be cut on a laser cutter (.dxf files can be converetd online or in software like Adobe Illustrator)
    -   .stl files to be 3D-printed
-   A tile is constructed by supergluing the cut parts as shown below: 
<p align="center">
    <img src = "https://github.com/HaRVI-Lab/haptic-harness/raw/main/images/diagramOne.jpg" alt = "Diagram view" width="50%">
</p>

## Dependencies:

-   Pyvista
-   vtkbool
-   ezdxf
-   Numpy
-   PyQT5
-   pyvistaqt
soigia 0.1.1
soigia python client for the official soigia API base on Django
Requires Python: >=3.8

# soigia-sdk

## install

```bash
pip install soigia -U
```

## Django

```bash
django-admin startproject web .
```

```python
# web/settings.py

INSTALLED_APPS = [
    # another apps
    "soigia",
    "apps.leetcode", # myapps
]
```

## manage.py
```python

# ...s

if __name__ == "__main__":
    if len(sys.argv) == 1 or sys.argv[1] == "soigia":
        from soigia.main import apps_commandline
        soigia_main_commandline(sys.argv)
    elif sys.argv[1] == "apps":
        from apps.main import apps_commandline
        apps_commandline(sys.argv)
    else:
        main()
```

## commandline
```bash
python manage.py makemigrations
python manage.py migrate
python manage.py soigia <command> <data>
python manage.py apps
```
dynamodb-orm 0.2.0
A simple ORM-like interface for DynamoDB using Pydantic models
Requires Python: >=3.8
Keywords: aws, dynamodb, orm, pydantic

# Python DynamoDB ORM

A lightweight and type-safe wrapper for AWS DynamoDB with Pydantic integration.

## Features

- Type-safe DynamoDB operations using Pydantic models
- Support for CRUD operations (Create, Read, Update, Delete)
- Query filtering and conditional operations
- Clean and intuitive API design
- Comprehensive error handling

## Installation

```bash
git clone https://github.com/leehjhjhj/dynamodb-model
```

```bash
uv sync
```

## Quick Start

```python
from pydantic import BaseModel, Field
from datetime import datetime
from typing import Optional

# Define your model
class UserModel(BaseModel):
    user_id: str = Field(alias='partition_key')
    email: str = Field(alias='sort_key')
    name: str
    age: int
    created_at: datetime = Field(default_factory=datetime.now)
    updated_at: Optional[datetime] = None

# Initialize DynamoDB wrapper
user_db = DynamoDBModel[UserModel](
    table_name='users',
    model_class=UserModel
)

# Create a new user
new_user = UserModel(
    user_id="user123",
    email="user@example.com",
    name="John Doe",
    age=30
)
user_db.put(new_user)

# Get user
user = user_db.get("user123", "user@example.com")

# Query users
users = user_db.query(
    partition_key="user123",
    sort_key_condition={
        "operator": "begins_with",
        "value": "user"
    }
)
```

## Requirements

- Python 3.7+
- boto3
- pydantic

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
fink-tns 0.14
Push Fink candidates to TNS.

[![pypi](https://img.shields.io/pypi/v/fink-tns.svg)](https://pypi.python.org/pypi/fink-tns)
# Fink TNS

This repository hosts scripts to define a TNS bot to push early SN candidates from Fink. Usage:

```bash
$ python submit_from_api.py -h
usage: submit_from_api.py [-h] [-objectId OBJECTID] [-remarks REMARKS] [-reporter REPORTER] [-attype ATTYPE] [-outpath OUTPATH]

Submit a ZTF object from the Fink database to TNS

optional arguments:
  -h, --help          show this help message and exit
  -objectId OBJECTID  ZTF objectId
  -remarks REMARKS    Message to be displayed in the `Remarks` section on TNS
  -reporter REPORTER  Message to be displayed on the `Reporter/s` section on TNS
  -attype ATTYPE      AT type.
  -outpath OUTPATH    Path where credentials are stored.
```

You need credentials to submit objects.