semvec/pypi-packages huggingface dataset:
passwordmetrics 1.0
Checking the entropy of a password. Useful in password checkers.
License: MIT
Keywords: passwordmetrics

===============================
passwordmetrics
===============================

Features
--------

The passwordmetrics module takes a string and gives you a lot of information
about it pertaining it's usefulness as a password.

* Free software: MIT license
* Documentation: http://passwordmetrics.readthedocs.org.

Features
--------

* Gives you a lot of information about a password, such as:
  * Words used in the password
  * Entropy (ie, how hard it is to guess)
* It's configurable for different languages.
* A big english wordlist included.
* L33t compatibility




=======
History
=======

1.0 (2017-04-15)
----------------

- Stable release, better docs.


1.0b1 (2015-04-29)
------------------

* First release on PyPI.
tallyclient 0.1
Python client for go-tally server
License: MIT

tallyclient
-----------

tallyclient is a super simple metrics client that has two data structures similar to statsd,
counters and gauges. While statsd is simple, it still does some under the hood aggregation
to support high volumes. tallyclient's server is about simple collecting and simply stores
the time series data in a sql database to be used later.

here is some usage::

    >>> from tallyclient import TallyClient
    >>> client = TallyClient('localhost', 8173)
    >>> client.count("login.success")
    >>> client.gauge("login.response_time", 422)  # only int values allowed
python-rush 1.0.0
Create workers, wait for them to be ready, then run them all at once
License: MIT
Keywords: rush resource

Rush
====

This python module is for making simple tools that rush a resource, such
as an API endpoint or web UI. This runs with both Python 2.6+ or 3.0+.

This was originally created to test the throttling of authentication
attempts. It is quite basic, but was enough to get good results from a
Django based web app. I imagine that this is good enough to indicate if
rate limiting is reasonably implemented on faster systems (more likely
to come down to network?).

Example
-------

This example attempts to connect to an API endpoint which will throttle
after 10 requests:

.. code:: python

    try:
        # Python 2
        from xmlrpclib import ServerProxy, Fault
    except ImportError:
        # Python 3
        from xmlrpc.client import ServerProxy, Fault

    from rush import Rusher


    def api_auth_tester(index, thread_count):
        """
        Rush the API with invalid authentication attempts.
        """
        # prepare the worker
        proxy = ServerProxy('https://badname:supersecretpassword@api.memset.com/v1/xmlrpc/')
        yield  # yield to indicate that the worker is ready to rush
        # rush
        try:
            proxy.server.list()
        except Fault as error:
            # yield a string indicating the result
            if error.faultCode == 4:  # bad username/pass
                yield 'attempted'
            elif error.faultCode == 12:  # throttled
                yield 'throttled'

    print("API rate limiting test:")
    # the API will throttle after 10 requests, so make 9 requests first, then rush two calls
    rusher = Rusher(api_auth_tester, 9)
    # preform the first 9 requests so the next request should set a throttling indicator
    duration, results = rusher.rush_and_report()
    # change the number of threads we want to make
    rusher.thread_count = 2
    # only one call should not be throttled
    rusher.rush_and_report()

This will produce output like the following:

::

    API rate limiting test:
    9 threads completed in .747115, results:
        attempted: 9
    2 threads completed in .127208, results:
        attempted: 1
        throttled: 1
mb-confy 0.1.1
A dictionary backed by a real .json file
License: MIT
Keywords: configuration config json ini

# Confy: A dictionary backed by a real .json file

Confy is a dictionary with a `.save()` method. Acts exactly the same as a regular dictionary otherwise.

## Install

`pip install mb-confy`

## Use

```python
from confy import Confy

configPath = "config.json"
config = Confy(configPath)

if "timesOpened" in config:
    timesOpened = config["timesOpened"]
else:
    timesOpened = 0

print("Opened {} times".format(timesOpened))
config["timesOpened"] = timesOpened + 1
```

## Licensing

MIT

## Author

Made by Martijn Brekelmans. This project is used in [SMG music display](https://martijnbrekelmans.com/SMG).
pyspin 1.1.1
Little terminal spinner lib.
License: MIT
Keywords: terminal spin spinner

Py-Spin
=======

| |Latest Version|
| |Build Status|
| |Python Versions|

A little terminal spinner lib. Heavily inspired by `go-spin`_.

Demo
----

|pyspin_demo|

Install
-------

::

    $ pip install pyspin

Usage
-----

make a spinner by hand:

.. code:: python

    from __future__ import print_function

    import sys
    import time

    from pyspin.spin import Default, Spinner

    # Choose a spin style.
    spin = Spinner(Default)
    # Spin it now.
    for i in range(50):
        print(u"\r{0}".format(spin.next()), end="")
        sys.stdout.flush()
        time.sleep(0.1)

or you can use the decorator pyspin provide:

.. code:: python

    from __future__ import print_function

    import time

    from pyspin.spin import make_spin, Default

    # Choose a spin style and the words when showing the spin.
    @make_spin(Default, "Downloading...")
    def download_video():
        time.sleep(10)

    if __name__ == '__main__':
        print("I'm going to download a video, and it'll cost much time.")
        download_video()
        print("Done!")

You can have a look at the example code in the example folder. Run it
via:

::

    $ python example/example_spin.py
    $ python example/usage_example.py

Contribute
----------

-  If you find an interesting spinner, send me a pull request <3
-  If you find a bug or have any suggestions, open an issue.

Contributions are always welcome at any time! ✨ �� ✨

License
-------

MIT.

.. _go-spin: https://github.com/tj/go-spin

.. |Latest Version| image:: http://img.shields.io/pypi/v/pyspin.svg
   :target: https://pypi.python.org/pypi/pyspin
.. |Build Status| image:: https://travis-ci.org/lord63/py-spin.svg
   :target: https://travis-ci.org/lord63/py-spin
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/pyspin.svg
   :target: https://pypi.python.org/pypi/pyspin
.. |pyspin_demo| image:: https://cloud.githubusercontent.com/assets/5268051/7448038/ba152a8c-f241-11e4-86e0-50bc3b33bce5.gif
spotlightpy 0.6
Extract Images from Microsoft Spotlight Project(Windows X only)
License: MIT
Keywords: spotlight Microsoft Windows10 HDImages

============
SPOTLIGHTPY
============
**************************************
A Windows X spotlight extraction tool.
**************************************
Introduction 
************
Now get a hold  on the beautiful lock screen wallpapers displayed under the spotlight project for windows 10.Use this tool to either store the cached images in a folder you specify, or get their PIL.Image.Image object to transform them the way you like.

Installation
******************
Install using 

 pip install spotlightpy

Usage
******************

Windows X operating system is must for executing this module.
All the methods reside in "spotlight" submodule of spotlightpy.Firstly, import spotlight 

   >>> from spotlightpy import spotlight

The spotlight module has two methods.

1. getimages : 

    getimages(None) --: List(PIL.Image.Image)

    this method returns a list of PIL.Image.Image objects of the cached images with each object                             representing a spotlight image of resolution 1920*1080.
   
   >>> spotlight.getimages()
   [<PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1920x1080 at 0x34305F0>, <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1920x1080 at 0x3430F70>, <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1920x1080 at 0x1518030>, ...]
2. storeimages(destination_path = "C:\\spotlight")
    Store the spotlight images from your PC to the path specified by the argument.If no path is provided then a new folder at "C:\\spotlight" is constructed and images are stored there.If the given argument does not represent any existing folder then a new folder is created to stores images.If given string does not qualify as valid path for even a new folder or a file already exists with same absolute path, then "ValueError" will be raised.
   
   >>> spotlight.storeimages("C:\\MySpotlightImages")