semvec/pypi-packages huggingface dataset:
aavsoquery 1.0.2
A Python module for fetching and plotting astronomical data of stars from AAVSO

# AAVSO Query

This Python package `aavsoquery` allows fetching and visualising astronomical observational data from the AAVSO (American Association of Variable Star Observers) database. It provides tools to retrieve data, plot light curves, and optionally fit models to the observed data.

## Features

- **Data Fetching**: Fetch observational data for a specific star including visual observations.
- **Light Curve Plotting**: Plot light curves with customizable time intervals.
- **Model Fitting**: Optional fitting of Gaussian models to the light curve data.

## Installation

You can install `aavsoquery` via pip:

```bash
pip install aavsoquery
```
## Usage

Here is an example of how to use `aavsoquery`:

```python
from aavsoquery import AAVSODataFetcher, Plotter

fetcher = AAVSODataFetcher(
    star_name='T CrB',
    obs_types='vis',
    num_results=100,
    pages=1
)  # query by star's name (Example: T CrB), ability to fetch by a particular observer by obscode = 'Observer's code'

julian_dates, magnitudes = fetcher.fetch_and_parse_data(
    include_uncertain=True)  # you can exclude uncertain values that begins with <

if len(julian_dates) > 0 and len(magnitudes) > 0:  # if data fetched then plot it
    plotter = Plotter(julian_dates, magnitudes)
    plotter.plot_light_curve(interval_hours=1,
                             fit_model=True)  # ability to fit a simple gaussian model, also defaults to mean hourly data if more datapoints present
else:
    print("No data available to plot.")
```
## Dependencies

- requests
- beautifulsoup4
- numpy
- matplotlib
- lmfit
uk-national-health-service-number 0.1.3
Generate valid UK NHS number for testing
Requires Python: >=3.8

# uk_national_health_service_number

![PyPI](https://img.shields.io/pypi/v/uk_national_health_service_number)
![Python](https://img.shields.io/pypi/pyversions/uk_national_health_service_number)

A Python package to **generate valid UK NHS numbers** using the official modulus-11 checksum algorithm.

---

## ✨ Features

- ✅ Generate one or more valid NHS numbers
- 📦 Easy-to-use Python API
- 🔢 Optionally use from the command line (`nhs-gen`)
- 🧪 Includes unit tests

---

## 🚀 Installation

Install from [PyPI](https://pypi.org/project/uk-national-health-service-number/):

```bash
pip install uk_national_health_service_number

---
## 🧪 Usage

### ▶️ In Python

Generate NHS numbers programmatically:

```python
from uk_national_health_service_number import NHSNumberGenerator

# Generate 3 NHS numbers
gen = NHSNumberGenerator(num_records=3)
numbers = gen.generate_uk_national_health_service_number()

for number in numbers:
    print(number)
tiktok-hashtag-collector 0.1.2
A package to collect TikTok posts by hashtag
Requires Python: >=3.6

# TikTok Hashtag Collector

A Python package to collect TikTok posts by hashtag using the RapidAPI TikTok API.

## Installation

```bash
pip install tiktok-hashtag-collector
```

## Usage

```python
from tiktok_hashtag_collector import TiktokHashtagCollector

# Initialize the collector with your RapidAPI key
collector = TiktokHashtagCollector(
    api_key="YOUR_RAPIDAPI_KEY",  # Required: Your RapidAPI key
    country_code="US",            # Optional: Default is "US"
    max_post_by_hashtag=100,      # Optional: Default is 100
    max_hashtag_post_retry=3,     # Optional: Default is 3
    max_profile_retry=3           # Optional: Default is 3
)

# Collect posts for a hashtag
df = collector.collect_posts_by_hashtag("python")

# The DataFrame will contain the following columns:
# - search_method
# - input_kw_hst
# - post_id
# - post_link
# - caption
# - hashtag
# - hashtags
# - created_date
# - num_view
# - num_like
# - num_comment
# - num_share
# - target_country
# - user_id
# - username
# - bio
# - full_name
# - display_url
# - taken_at_timestamp
```

## Requirements

- Python 3.6+
- requests
- pandas
- boto3

## License

This project is licensed under the MIT License - see the LICENSE file for details.
oops-all-itertools 3.3.3
itertools and more-itertools all in one namespace
Keywords: itertools, iterator, iteration, filter, peek, peekable, chunk, chunked

==================
Oops All Itertools
==================

Python's ``more-itertools`` is a fantastic compliment to ``itertools`` but it's
inconvenient to have to constantly look up which itertool is in which library.
Oops All Itertools heaps them together into a loose pile in a single namespace.

Inspired by `more-itertools issue 681 <https://github.com/more-itertools/more-itertools/issues/681>`_

|Build Status|

.. |Build Status| image:: https://github.com/lonnen/oops-all-itertools/actions/workflows/test.yml/badge.svg?branch=main
   :target: https://github.com/lonnen/oops-all-itertools/actions/workflows/test.yml

:Code:          https://github.com/lonnen/oops-all-itertools
:Issues:        https://github.com/lonnen/oops-all-itertools/issues
:Releases:      https://pypi.org/project/oops_all_itertools/#history
:License:       MIT; See LICENSE

Install
=======

To get started, install the library with `pip <https://pip.pypa.io/en/stable/>`_:

.. code-block:: shell

    $ pip install oops-all-itertools


Usage
=====

.. code-block:: python

    >>> from oops_all_itertools import chain, chunked

    >>> list(chain.from_iterable(chunked(range(6), 3)))
    [0, 1, 2, 3, 4, 5]


For the full list of functions, see the `itertools API documentation <https://docs.python.org/3/library/itertools.html>`_
and the `more-itertools API documentation <https://more-itertools.readthedocs.io/en/stable/api.html>`_.