semvec/pypi-packages huggingface dataset:
satellitetle 0.18.0
Fetch satellite TLEs from various online sources
License: MIT

============
satellitetle
============

The python package satellitetle_ provides functions to fetch TLEs from various
online sources (currently CelesTrak (SatNOGS), CalPoly and AMSAT) and allows
using custom ones or Space-Track.org.

It was forked from the python package orbit_.

.. _satellitetle: https://gitlab.com/librespacefoundation/python-satellitetle
.. _orbit: http://github.com/seanherron/orbit


Usage
-----

Fetch TLEs for a single satellite from Celestrak:
::

 from satellite_tle import fetch_tle_from_celestrak

 norad_id_iss = 25544 # ISS (ZARYA)
 print(fetch_tle_from_celestrak(norad_id_iss))

Fetch a large set of TLEs for a list of satllites from all available sources:
::

 from satellite_tle import fetch_all_tles, fetch_latest_tles
 norad_ids = [25544, # ISS (ZARYA)
              48274, # CSS (Tianhe)
              40043] # TIGRISAT

 # Uses default sources and compares TLE set from each source and
 # returns the latest one for each satellite
 tles = fetch_latest_tles(norad_ids)

 for norad_id, (source, tle) in tles.items():
     print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

 # Uses default sources and returns the TLE sets from all source for
 # each satellite
 tles = fetch_all_tles(norad_ids)

 for norad_id, tle_list in tles.items():
     for source, tle in tle_list:
         print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

 # Defines custom sources
 sources = [
     ('CalPoly','http://mstl.atl.calpoly.edu/~ops/keps/kepler.txt'),
     ('Celestrak (active)','https://celestrak.org/NORAD/elements/active.txt')
 ]

 # Uses custom sources (fetch_all_tles can also be used with the same
 # parameters)
 tles = fetch_latest_tles(norad_ids, sources=sources)

 for norad_id, (source, tle) in tles.items():
     print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

 spacetrack_config= {
     'identity': 'my_username',
     'password': 'my_secret_password'
 }

 # Uses default sources and Space-Track.org (fetch_all_tles can also
 # be used with the same parameters)
 tles = fetch_latest_tles(norad_ids, spacetrack_config=spacetrack_config)

 for norad_id, (source, tle) in tles.items():
     print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

 # Uses only Space-Track.org (fetch_all_tles can also be used with the
 # same parameters)
 tles = fetch_latest_tles(norad_ids, sources=[], spacetrack_config=spacetrack_config)

 for norad_id, (source, tle) in tles.items():
     print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

 # Uses custom sources and Space-Track.org (fetch_all_tles can also be
 # used with the same parameters)
 tles = fetch_latest_tles(norad_ids, sources=sources, spacetrack_config=spacetrack_config)

 for norad_id, (source, tle) in tles.items():
     print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

NOTE: `fetch_latest_tles` and `fetch_all_tles` download the TLE sets
from all known sources, so they should only be used when fetching TLEs
for a large set of satellites.

License
-------

MIT
circuitpython-at42qt2120 1.1.1
A CircuitPython module for the AT42QT2120 capacitive touch sensor IC, (mostly) compatible with Adafruit's MPR121 library.
License: MIT
Keywords: adafruit, blinka, circuitpython, micropython, capacitive, touch, at42qt2120

# CircuitPython-AT42QT2120

[![Documentation Status](https://readthedocs.org/projects/adafruit-circuitpython-mpr121/badge/?version=latest)][readthedocs]
[![Build Status](https://github.com/MikeCoats/CircuitPython_AT42QT2120/workflows/Build%20CI/badge.svg)][github-action]
[![Code Style: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)][ruff]

A CircuitPython module for the AT42QT2120 capacitive touch sensor IC, (mostly) compatible with Adafruit's MPR121 library.

This library's interface is designed after Adafruit's MPR121 module.
The ICs diverge in functionality, so we only include functions available on both chips.
To determine which functionality is required, I surveyed several consumers of the MPR121 library.
This includes three examples from Adafruit, and many of the projects "dependent" on their library on GitHub.

A full list of all the projects I surveyed and their usage of the MPR121 library can be found in [the Compatibility Audit][audit].
This audit should let us cover enough of the design to use an AT42QT2120 as a drop-in replacement for most users of the MPR121.

## Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally [from PyPI][pypi-at42qt2120].
To install in a virtual environment in your current project:

```shell
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install circuitpython-at42qt2120
```

## Usage Example

```python
import busio
import board
from adafruit_bus_device import i2c_device

from at42qt2120 import AT42QT2120

i2c_bus = busio.I2C(board.SCL, board.SDA, frequency=100000)
at = AT42QT2120(i2c_bus)

print(at.touched_pins)
print([at[i].raw_value for i in range(12)])
```

## Documentation

API documentation for this library can be found on [Read the Docs][readthedocs].

## Contributing

Contributions are welcome! Please read our [Code of Conduct][conduct]
before contributing to help this project stay welcoming.

[readthedocs]: https://at42qt2120.readthedocs.io/en/latest/
[github-action]: https://github.com/MikeCoats/CircuitPython_AT42QT2120/actions
[ruff]: https://github.com/astral-sh/ruff
[audit]: mkdocs/compatibility.md
[pypi-at42qt2120]: https://pypi.org/project/circuitpython-at42qt2120/
[readthedocs]: https://at42qt2120.readthedocs.io/
[conduct]: ./CODE_OF_CONDUCT.md
cheeky-platform-shared 0.1.1
Shared utilities for Cheeky Platform - AI-powered Shopify analytics
License: MIT
Requires Python: >=3.10
Keywords: cheeky, shopify, analytics, ai

# cheeky-platform-shared

Shared utilities for the Cheeky Platform - AI-powered Shopify analytics.

## Installation

```bash
pip install cheeky-platform-shared
```

## Usage

```python
from cheeky_platform_shared.llm import openai_chat_text
from cheeky_platform_shared.prompts import (
    BASE_CONTEXT_SYSTEM_PROMPT,
    BASE_CONTEXT_USER_PROMPT,
)

text = await openai_chat_text(
    system=BASE_CONTEXT_SYSTEM_PROMPT,
    user=BASE_CONTEXT_USER_PROMPT.format(url="https://shop.example", content="...")
)
```

## License

MIT
core-lib 0.1.1
basic onion architecture library utils
License: MIT
Requires Python: >=3.7

[![PyPI](https://img.shields.io/pypi/v/core-lib)](https://pypi.org/project/core-lib/)
![PyPI - License](https://img.shields.io/pypi/l/core-lib)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/core-lib)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/core-lib.svg)](https://pypistats.org/packages/core-lib)

# Core-Lib
CoreLib provides basic simple classes for creating a WEB Application as a Library using the Onion Architecture. [1](https://www.codeguru.com/csharp/csharp/cs_misc/designtechniques/understanding-onion-architecture.html) [2](https://www.google.com/search?sxsrf=ACYBGNT0NhYbUZLnDQbC9b6uPBqjZmjwgw%3A1579104811273&ei=KzofXuOfEO3IgwfngLPwAg&q=onion+Architecture&oq=onion+Architecture&gs_l=psy-ab.12...0.0..109691...0.0..0.0.0.......0......gws-wiz.oEYi3afxy_c&ved=0ahUKEwij4drq_4XnAhVt5OAKHWfADC4Q4dUDCAs)   

Read the documentation for `Core-Lib` [here](https://shay-te.github.io/core-lib/)

## License
Core-Lib is licenced under [MIT](https://github.com/shay-te/core-lib/blob/master/LICENSE)

# Running tests
`python -m unittest discover -v`