semvec/pypi-packages huggingface dataset:
httpie-ems-auth-p3 0.2.3
EmsAuth plugin for HTTPie.
License: MIT

httpie-ems-auth
===============

This `HTTPie <http://httpie.org/>`_ auth plugin implements Escher authentication
for Emarsys API requests.

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

Be sure that `HTTPie <http://httpie.org/>`_ is installed, and install this plugin:

.. code-block:: bash

   $ pip install httpie-ems-auth

After installing, you will see the option ``ems-auth`` under ``--auth-type`` if you run
``$ http --help``.

Example
-------

Suiteable if you call the API of Suite

.. code-block:: bash

   $ http --auth-type=ems-auth --auth=escher_key:escher_secret https://api.emarsys.net/api/v2/internal/12345678/settings

The default Escher credential scope is "eu/suite/ems_request" which identifies Suite.
If u are calling another service, you have to alter the credential scope like this:

.. code-block:: bash

   $ http --auth-type=ems-auth --auth=eu/suite/ems_request/escher_key:escher_secret https://api.emarsys.net/api/v2/internal/12345678/settings

Check out `HTTPie sessions <https://github.com/jkbrzt/httpie#sessions>`_ if you would like to
save authentication information between your requests.

If you want to use in python code this example can help:
   .. code-block:: python
  
      import escherauth
      import datetime
      from urlparse import urlparse
      import requests
      
      escher_key = 'test'
      escher_secret = 'test'
      options = {
                  'algo_prefix': 'EMS',
                  'vendor_key': 'EMS',
                  'hash_algo': 'SHA256',
                  'auth_header_name': 'X-Ems-Auth',
                  'date_header_name': 'X-Ems-Date'
                }
      
      credential_scope = "test"
      
      if "/" in escher_key:
          scope = escher_key.split("/")
          escher_key = scope.pop()
          credential_scope = "/".join(scope)
      
      client = {'api_key': escher_key, 'api_secret': escher_secret}
      escher = escherauth.Escher(credential_scope, options)
      
      url = 'http://test-escher-url.com/api/call/smth'
      
      r = requests.PreparedRequest()
      r.prepare('GET',url)
      now = datetime.datetime.utcnow()
      r.headers['X-Ems-Date'] = now.strftime('%Y%m%dT%H%M%SZ')
      parsed_uri = urlparse(r.url)
      r.headers['Host'] = parsed_uri.netloc
      
      f = escher.sign(r, client)
      s = requests.Session()
      
      s.send(f)
   
   ..
multipletau_cor_tttr 0.1.3
Library for correlation of time-tagged time-resolved photon data for fluorescence correlation spectroscopy (FCS) analysis.
License: MIT
Keywords: FCS Fluorescence Correlation Spectroscopy Single Photon Counting TTTR Multiple-tau algorithm

=======
multipletau_cor_tttr
=======

----------------
What is multipletau_cor_tttr?
----------------

multipletau_cor_tttr is a python package for the correlation of time-tagged time-resolved single photon counting data.
It provides efficient code for the computation of correlation function using a multiple-tau scheme for the timelag.

multipletau_cor_tttr can be applied to any single photon counting data that is represented as an array of arrival times.

---------------------
How do I use the library?
---------------------

Simply import the CCF function from multipletau_cor_tttr:

from multipletau_cor_tttr.correlate import CCF
prox 0.0.17
The tool to check the health of proxy list
License: MIT
Keywords: proxy proxylist

Prox - the tool to check how bad your proxy list is
===================================================

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

.. code:: bash

    pip3 install -U prox


How to check the proxy list
---------------------------

You have to provide at least the type and location of proxy list.

If the proxylist located at http://example.com/abc.txt:

.. code:: bash

    prox_check socks URL http://example.com/abc.txt

If the list is in local file:

.. code:: bash

    prox_check socks path/to/file.txt


How to check multiple lists
---------------------------

Create file foo.yml like:

.. code:: text
    
    config:
      save: 1

    task:
      - proxy_type: socks
        plist_url: var/plist1.txt
        limit: 100

      - proxy_type: http
        plist_url: http://example.com/servers.txt
        limit: 100

It should by YML list of tasks. Each task contains key names same
as check_plist.py command line arguments.

Run the command:

.. code:: bash

    prox_task foo.yml

The tool to filter proxy list by countries
------------------------------------------

Use `prox_geo` command with `--stat` option to see number of proxies grouped by country.

Use `prox_geo` command with `-i`, `-x` and `--exclude-list` options to filter proxy list