semvec/pypi-packages huggingface dataset:
domain-discovery 1.0.0
Python client library for Domains & Subdomains Discovery API.
License: MIT
Requires Python: >=3.6
Keywords: domain,subdomain,discovery,api,whois,whoisxmlapi

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

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

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

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

The client library for
`Domains & Subdomains Discovery API <https://domains-subdomains-discovery.whoisxmlapi.com/>`_
in Python language.

The minimum Python version is 3.6.

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

.. code-block:: shell

    pip install domain-discovery

Examples
========

Full API documentation available `here <https://domains-subdomains-discovery.whoisxmlapi.com/api/documentation/making-requests>`_

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

.. code-block:: python

    from domaindiscovery import *

    client = Client('Your API key')

Domains
-------------------

.. code-block:: python

    terms = {
        'include': ['example.*']
    }

    # Get the list of domains (up to 10,000)
    result = client.get(domains=terms)

    # Total count
    print(result.domains_count)

Subdomains
-------------------

.. code-block:: python

    domain_terms = {
        'include': ['blog.*'],
        'exclude': ['*.com']
    }
    subdomain_terms = {
        'include': ['*news*']
    }

    # Search for subdomains
    result = client.get(subdomains=subdomain_terms)

    # Search in subdomains of the required domain names
    result = client.get(
        domains=domain_terms,
        subdomains=subdomain_terms)

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

.. code-block:: python

    import datetime

    terms = {
        'include': ['blog.*'],
        'exclude': ['*.com']
    }
    since_date = datetime.date(2021, 8, 12)

    # Get raw response in XML and filter by date
    raw_result = client.get_raw(
        domains=terms,
        output_format=Client.XML_FORMAT,
        since_date=since_date)

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

.. code-block:: python

    Response:
        - domains_count: int
        - domains_list: [str]



Changelog
=========

1.0.0 (2021-11-19)
------------------

* First release
npzigzag 0.3
Vanilla numpy implementation of zigzag indicator.
License: MIT
Keywords: zigzag,zigzag indicator

# npzigzag
This is a simple numpy implementation of a zigzag indicator. It's only dependencies are pandas and numpy.

## Usage
```python
pip install npzigzag
```
```python
from npzigzag import core as zz
```
This package has one method:
### core.zigzag(X, pc, include_first = True)

Parameters:
* X: *pd.Series or np.ndarray or list* 
    * Main data to compute the indicator on.
* pc: *float*
    * Percentage change treshold. This indicates the minimum jump the timeseries has to make before a pivot is recognized in the zigzag indicator.
* include_first: *bool*
    * Indicates wether or not to add the first observation of X as a pivot point,

Returns:
* pivot_indices: *np.ndarray* if X is *np.ndarray* or *list*, *pd.Int64Index* if X is *pd.Series*
    * Array with indices of zigzag pivot points.

### Example:

```python
from npzigzag import core as zz
import numpy as np

X = np.cumprod(1 + np.random.randn(100)/100)
zz_pivots = zz.zigzag(X,0.02, False)

plt.plot(X, '--')
plt.plot(zz_pivots, X[zz_pivots])
plt.scatter(zz_pivots, X[zz_pivots])
```
Ouputs:

![Plot](https://github.com/julianvanmeggelen/npzigzag/raw/master/zz.png)
python-currencycom 0.2.3
Currency.com REST API python implementation
License: MIT
Requires Python: >=3.5
Keywords: currencycom exchange rest api bitcoin ethereum btc eth

## Welcome to the python-currencycom

This is an unofficial Python wrapper for the Currency.com exchange REST API v1.
I am in no way affiliated with Currency.com, use at your own risk.

### Documentation
Please find official documentation by:
https://exchange.currency.com/api

Or Swagger by the link: https://apitradedoc.currency.com/swagger-ui.html#/.


### QuickStart

[Register an account on Currency.com](https://exchange.currency.com/trading/signup)

[Create an API Key with correct permissions](https://exchange.currency.com/trading/platform/settings)

```
pip install python-currencycom
```

Let's retrieve tradable symbols on the market
```python
from pprint import pprint

from currencycom.client import Client

client = Client('API_KEY', 'SECRET_KEY')

# Exchange info contains various info including tradable symbols
exchange_info = client.get_exchange_info()
tradable_symbols = [x['symbol'] for x in exchange_info['symbols']]
pprint(tradable_symbols,
       indent=2)
```

For more check out [the documentation](https://exchange.currency.com/api) and [Swagger](https://apitradedoc.currency.com/swagger-ui.html#/).