semvec/pypi-packages huggingface dataset:
micropython-microbit-stubs-en 0.0.1b2
BBC micro:bit MicroPython type stubs (language: en)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language en.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-zh-tw 0.0.1b2
BBC micro:bit MicroPython type stubs (language: zh-tw)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language zh-tw.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-pl 0.0.1b2
BBC micro:bit MicroPython type stubs (language: pl)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language pl.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-nl 0.0.1b2
BBC micro:bit MicroPython type stubs (language: nl)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language nl.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-ca 0.0.1b2
BBC micro:bit MicroPython type stubs (language: ca)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language ca.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-de 0.0.1b2
BBC micro:bit MicroPython type stubs (language: de)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language de.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-lol 0.0.1b2
BBC micro:bit MicroPython type stubs (language: lol)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language lol.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-es-es 0.0.1b2
BBC micro:bit MicroPython type stubs (language: es-es)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language es-es.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-ko 0.0.1b2
BBC micro:bit MicroPython type stubs (language: ko)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language ko.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-ja 0.0.1b2
BBC micro:bit MicroPython type stubs (language: ja)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language ja.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-fr 0.0.1b2
BBC micro:bit MicroPython type stubs (language: fr)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language fr.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
micropython-microbit-stubs-zh-cn 0.0.1b2
BBC micro:bit MicroPython type stubs (language: zh-cn)

# BBC micro:bit MicroPython typing stubs

This package contains Python stub files for 
[MicroPython for micro:bit V2](https://github.com/microbit-foundation/micropython-microbit-v2).

The docstrings are given in language zh-cn.

As the package contains stdlib stubs, the _typeshed path_ of the program analyzer (e.g. MyPy or Pyright) 
needs to be configured accordingly.
django-simple-analytics 1.2.0
A simple django packages to track requests on the site
Requires Python: >=3.9
Keywords: django, analytics

# Django Simple Analytics

![PyPI](https://img.shields.io/pypi/v/django-simple-analytics?style=for-the-badge)
[![](https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge)](https://github.com/psf/black)
![PyPI - License](https://img.shields.io/pypi/l/django-simple-analytics?style=for-the-badge)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-analytics?style=for-the-badge)

Simple analytics is a very simple package to track requests done to the website and store them in database.

## Installation

From PYPi using `pip`:

```
pip install django-simple-analytics
```

## Usage

In order to install the package add the following line to `INSTALLED_APPS`

```python
INSTALLED_APPS = [
    ...
    "simple_analytics",
]
```

This will make the model available for you to call and query. To enable the middleware, add this at the bottom of the middleware list:

```python
MIDDLEWARE = [
    ...
    "simple_analytics.middleware.page_counts",
]
```

Then, you need to run migrations, finally:

```console
./manage.py migrate
```

To actually create the table in the database.

Now every request done to the django website will be recorded in the database with the following fields:

- Date: The date pf the request.
- Page: The path of the request.
- Method: The verb used to request the page.
- Whether the page exists or not.
- Origin: If the header exists in the requst, where the request originated.
- User: The user who performed the request. If the user is not authenticated, it will show as AnonymousUser.
- view_count: The number of requests to that page, per date and per method used.

## Licence

This package is distributed under [MIT Licence](./LICENCE).
django-extra-validators 0.1.2
Reusable Django validators (e.g. Dutch postal code, IBAN number, emoji filter, etc.)
Requires Python: >=3.11

# django-extra-validators

A collection of extra validators for Django, including a strict `HTTPS URL` validator that checks:

- The URL starts with `https://`
- The target is reachable (HTTP 200 OK)
- The URL does **not** redirect (optional, strict mode)
- IBAN validator
- Email address validator with domain and MX record checks

## Work in Progress

This package is a **work in progress**. I'm actively expanding it with validators commonly needed in real-world Django projects (e.g., URL shorteners, financial forms, address validation).

📬 **Suggestions and contributions are welcome!**  
If you have ideas for useful validators, feel free to open an issue or submit a PR.


## Features

- ✅ Enforce secure (`https://`) links
- ✅ Check URL reachability
- ✅ Prevent redirects for link integrity (e.g., in URL shorteners)
- ✅ Designed for use with Django models and forms
- ✅ Fully tested with `pytest` and `unittest.mock`

## Installation

```bash
pip install django-extra-validators
```

## Usage

### In a Django model

```python
from django.db import models
from django_extra_validators import validate_https_url

class Link(models.Model):
    url = models.URLField(validators=[validate_https_url])
```


### In a Django form
```python
from django import forms
from django_extra_validators import validate_https_url

class LinkForm(forms.Form):
    url = forms.URLField(validators=[validate_https_url])
```
resonfit 0.2.0
A modular tool for fitting superconducting resonator data
Requires Python: >=3.8

# ResonFit

A modular Python package for analyzing and fitting superconducting resonator S21 data.

## Overview

ResonFit provides a comprehensive and extensible framework for analyzing S21 transmission data from superconducting microwave resonators. It is designed to be modular and flexible, allowing users to customize their analysis pipeline while providing sensible defaults based on established methods.

The package is currently under active development. See our [Development Plan](DEVELOPMENT_PLAN.md) for the current implementation status and future plans.

## Features (Planned)

- 📊 **Data Preprocessing**
  - Cable delay correction
  - Amplitude and phase normalization
  - Background removal

- 🔍 **Fitting Methods**
  - DCM (Diameter Correction Method)
  - Inverse S21 Method
  - CPZM (Closest Pole and Zero Method)

- 🧩 **Flexible Pipeline**
  - Combine different preprocessing and fitting methods
  - Customize each step of the analysis process

- 📈 **Visualization Tools**
  - Complex plane plots
  - Amplitude and phase plots
  - Residual analysis

## Installation (Coming Soon)

```bash
pip install resonfit
```

## Quick Example (Preview)

```python
from resonfit import ResonatorPipeline
from resonfit.preprocessing import CableDelayCorrector, AmplitudePhaseNormalizer
from resonfit.fitting.methods import DCMFitter
import numpy as np

# Load data
freqs = np.linspace(5e9, 6e9, 1001)
s21 = your_data_loading_function()

# Create pipeline
pipeline = ResonatorPipeline()
pipeline.add_preprocessor(CableDelayCorrector())
pipeline.add_preprocessor(AmplitudePhaseNormalizer())
pipeline.set_fitter(DCMFitter(use_weights=True))

# Run fitting
results = pipeline.run(freqs, s21, plot=True)

# Print results
print(f"Resonance frequency: {results['fr']/1e9:.6f} GHz")
print(f"Quality factors: Qi={results['Qi']:.0f}, Qc={results['Qc_mag']:.0f}, Ql={results['Ql']:.0f}")
```

## Development Status

ResonFit is currently in the early development stage. You can track our progress in the [Development Plan](DEVELOPMENT_PLAN.md).

## Contributing

Contributions are welcome! If you'd like to help with the development of ResonFit, please check our [Development Plan](DEVELOPMENT_PLAN.md) for areas that need attention.

## License

This project will be licensed under the MIT License (to be added).