semvec/pypi-packages huggingface dataset:
shared-ds 0.0.5
Provide shared memory data structures!
License: MIT

# Shared Memory Data Structure
This package allows you to use your data structures like numpy arrays in the 
shared memory environment between two or more python processes. This library
simplifies the use of shared memory data structures as you don't need to manually
manage shared memory.

# SharedArray example:
## Process #1
```python
from shared_ds import SharedArray

# Create shared memory and put you numpy array into that memory segment.
shared_np_array = SharedArray.from_array(np_array)

shm_descriptor = shared_np_array.to_json()

```
## Process #2
```python
from shared_ds import SharedArray

# Attaches to existing shared memory and reads numpy array representation.
shared_np_array = SharedArray.from_json(shm_descriptor)

shm_descriptor = shared_np_array.to_json()

```

# io.BytesIO example:
## Process #1
```python
from shared_ds import SharedBytesIO
import io

# Create shared memory and put content of passed BytesIO into that memory segment.
data_to_store = io.BytesIO(b'data which we want to store')
shared_memory = SharedBytesIO.from_bytes_io(data_to_store)

shm_descriptor = shared_memory.to_json()

```
## Process #2
```python
from shared_ds import SharedBytesIO

# Attaches to existing shared memory and gets io.BytesIO content.
shared_memory = SharedBytesIO.from_json(shm_descriptor)

data = shared_memory.get_data()

```

### Currently supported data structures:
- Numpy Array
- io.BytesIO
reverse-dns 1.0.0
Python client library for Reverse DNS API.
License: MIT
Requires Python: >=3.6
Keywords: reverse,dns,api,whois,whoisxmlapi

.. image:: https://img.shields.io/badge/License-MIT-green.svg
    :alt: reverse-dns-py license
    :target: https://opensource.org/licenses/MIT

.. image:: https://img.shields.io/pypi/v/reverse-dns.svg
    :alt: reverse-dns-py release
    :target: https://pypi.org/project/reverse-dns

.. image:: https://github.com/whois-api-llc/reverse-dns-py/workflows/Build/badge.svg
    :alt: reverse-dns-py build
    :target: https://github.com/whois-api-llc/reverse-dns-py/actions

========
Overview
========

The client library for
`Reverse DNS API <https://reverse-dns.whoisxmlapi.com/>`_
in Python language.

The minimum Python version is 3.6.

Installation
============

.. code-block:: shell

    pip install reverse-dns

Examples
========

Full API documentation available `here <https://reverse-dns.whoisxmlapi.com/api/documentation/making-requests>`_

Create a new client
-------------------

.. code-block:: python

    from reversedns import *

    client = Client('Your API key')

Make basic requests
-------------------

.. code-block:: python

    terms = [{
        'field': 'domain',
        'term': 'foo*'
    }]

    # Get DNS records for matching domains (up to 1000)
    result = client.get(terms=terms, record_type=Client.TXT)

    # Total count
    print(result.size)

Extras
-------------------

.. code-block:: python

    terms = [
        {
            'field': 'domain',
            'term': 'blog*'
        },
        {
            'field': 'value',
            'term': 'foo*',
            'exclude': True
        }
    ]

    # Exclude specified records for matching domains and get raw XML response
    raw_result = client.get_raw(
        terms=terms,
        record_type=Client.CNAME,
        limit=2,
        output_format=Client.XML_FORMAT)

Response model overview
-----------------------

.. code-block:: python

    Response:
        - result: [Record]
            - value: str
            - name: str
            - first_seen: str
            - last_vist: str
        - size: int



Changelog
=========

1.0.0 (2021-12-09)
------------------

* First release