semvec/pypi-packages huggingface dataset:
shmgpsd 0.3.4
GPSD shared memory tool

# ShmGpsD: Shared Memory GPSD Reader

ShmGpsD reads GPS data from shared memory-enabled GPSD instances, designed for seamless integration with InfluxDB via Telegraf exec inputs (JSON). Ideal for real-time updates and effortless communication with GPSD.

## Key Features:

- Read GPS data efficiently from shared memory
- Perfect for integrating GPS data into InfluxDB via Telegraf
- Streamlined solution for applications requiring precise GPS information

Elevate your applications with ShmGpsD – simplicity meets accuracy.

## Compiling gpsd: Optional (Only if OS distro lacks shared memory support)

```
git clone git://git.savannah.nongnu.org/gpsd.git # or https://gitlab.com/gpsd/gpsd.git
git checkout release-3.18
scons timeservice=yes magic_hat=yes nmea0183=yes ublox=yes mtk3301=yes fixed_port_speed=115200 fixed_stop_bits=1 shm_export=yes shared=yes
sudo scons install
```

## Usage
>>> import shmgpsd
>>> mygps = shmgpsd.SHM()
>>> for i in range(0, shmgpsd.MAXCHANNELS):
...     if mygps.skyview[i].PRN != 0:
...         print(f"PRN: {mygps.skyview[i].PRN:4}, " \
...               f"SNR: {mygps.skyview[i].ss:4}, "  \
...               f"USED: {mygps.skyview[i].used:4}"  )
...
PRN:   19, SNR: 18.0, USED:    1
PRN:   22, SNR: 28.0, USED:    1
PRN:   17, SNR: 21.0, USED:    1
PRN:    6, SNR: 31.0, USED:    1
PRN:   14, SNR: 33.0, USED:    1
PRN:   24, SNR: 17.0, USED:    1
PRN:    3, SNR: 15.0, USED:    1
PRN:   46, SNR: 29.0, USED:    0
PRN:   11, SNR: 24.0, USED:    1
PRN:   12, SNR: 20.0, USED:    0
PRN:   30, SNR:  0.0, USED:    0
>>> print(f"Satellites visible: {mygps.satellites_visible:2}")
Satellites visible: 11
>>> print(f"Satellites used:    {mygps.satellites_used:2}")
Satellites used:     8
```
wayback-news-search 1.2.1
Wayback Machine news archive search api client
Requires Python: >3.7

Wayback Machine News Archive Client
===================================

🚧 _under construction_ 🚧

A simple client library to access the Wayback Machine news archive search.


Installation
------------

`pip install wayback-news-search`


Basic Usage
-----------

Counting matching stories:

```python
from waybacknews.searchapi import SearchApiClient
import datetime as dt

api = SearchApiClient("mediacloud")
api.count("coronavirus", dt.datetime(2022, 3, 1), dt.datetime(2022, 4, 1))
```

Paging over all matching results:

```python
from waybacknews.searchapi import SearchApiClient
import datetime as dt

api = SearchApiClient("mediacloud")
for page in api.all_articles("coronavirus", dt.datetime(2022, 3, 1), dt.datetime(2022, 4, 1)):
    do_something(page)
```


Dev Installation
----------------

Install the dependencies for dev: `pip install -e .[dev]`



Distribution
------------

1. Run `pytest` to make sure all the test pass
2. Update the version number in `waybacknews/__init__.py`
3. Make a brief note in the version history section below about the changes
4. Commit the changes
5. Tag the commit with a semantic version number - 'v*.*.*'
6. Push to repo to GitHub
7. Run `python setup.py sdist` to create an installation package
8. Run `twine upload --repository-url https://test.pypi.org/legacy/ dist/*` to upload it to PyPI's test platform
9. Run `twine upload dist/*` to upload it to PyPI


Version History
---------------

* __v1.2.1__ - fix paging bug triggered by no results
* __v1.2.0__ - add support for new `expanded` results, and more integration testing
* __v1.1.0__ - add new `paged_articles` method to allow paging over all results
* __v1.0.3__ - add 30 sec timeout, remove extra params mcproviders library might be adding
* __v1.0.2__ - fix to article endpoint
* __v1.0.1__ - automatically escape '/' in query strings, test case for `url` field search
* __v1.0.0__ - update to public API endpoint
* __v0.1.5__ - simpler return for top terms
* __v0.1.4__ - better error handling
* __v0.1.3__ - allow overriding base api URL 
* __v0.1.2__ - fix `article` endpoint, test case for fetching content (`snippet`) via `article_url` property 
* __v0.1.1__ - more consistent method names
* __v0.1.0__ - initial test-only release