semvec/pypi-packages huggingface dataset:
perfy 0.27
Perfy - a lightweight performance tracer for python
License: MIT
Requires Python: >=3.2
Keywords: profiling,trace,runtime,analysis

# perfy
Perfy - a lightweight profiling tool for Python

Mark your functions and methods as trace-enabled with **@perfy** decorator:
```python
@perfy
def trace_this_function():
   # do something
```
Also, you can trace arbitrary blocks of your code using **with** statement:
```python
with perfy('name of your choice'):
   # your code here
```

After running your code, print report using
```python
perfy.report()
```

## Example:
```python
from time import sleep
from perfy import perfy

@perfy # <-- use decorator to track function calls
def func_sleep():
   sleep(.02)
    

def sleep_loop():
   with perfy('sleep loop'): # <-- use with-statement to track arbitrary block of code
      for _ in range(10):
         func_sleep()

# you can nest with-blocks and decorated function calls in any order:
@perfy # <-- a decorator on a top level function
def main():
   sleep_loop() # <-- this functions has a traced block inside

   with perfy('custom named block'): # <-- traced block
      sleep(.1)

      with perfy('inner block'): # <-- nested traced block
         func_sleep()
         func_sleep() 
```
For above code perfy.report() will output:
```
----------------------------------Perfy report----------------------------------
            Function/Method                  Time(sec.)         Calls(count)    
--------------------------------------------------------------------------------
main                                           0.350                 1          
   └ sleep loop                                0.206                 1          
      └ func_sleep                             0.205                 10         
   └ custom named block                        0.144                 1          
      └ inner block                            0.043                 1          
         └ func_sleep                          0.042                 2          
--------------------------------------------------------------------------------
```
ezprogress 1.0.6
Simple, easy to use progress bar.
License: MIT
Requires Python: >=3.6.0

ezprogress
----------
Simple, easy to use progress bar for Python 3.6+.

Installation
^^^^^^^^^^^^
``$ pip3 install ezprogress``

Usage
^^^^^
.. code:: python

    >>> from ezprogress.progressbar import ProgressBar
    >>> pb = ProgressBar(total=100, title='Progress')
    >>> pb.start()
    >>> for i in range(0, 100):
    >>>     pb.update(i)
    >>>     do_stuff(i)
    >>> pb.finished()
django-createsuperuserwithpassword 2.0.0
Django management command to create usable super users, programmatically
License: MIT

django-createsuperuserwithpassword
==================================

… provides a Django management command to create ready-to-login super
users during development.


How to Use
==========

1. Install
----------

Install the pip package locally or globally:

.. code:: shell

   pip install [--user] django-createsuperuserwithpassword


2. Activate
-----------

Enable the Django management command by extending your Django project
settings:

.. code:: python

   INSTALLED_APPS += ("django_createsuperuserwithpassword", )


3. Apply
--------

Call the command — e.g. from within a container entrypoint script — like
this:

.. code:: shell

   python manage.py createsuperuserwithpassword \
           --username admin \
           --password admin \
           --email admin@example.org \
           --preserve


Development
===========

If you want to help fix a bug, an easy way to spin up a development
environment is:

.. code:: shell

   git clone https://github.com/hartwork/django-createsuperuserwithpassword
   cd django-createsuperuserwithpassword
   docker-compose up --build


Authors
=======

**django-createsuperuserwithpassword** is based on code by `Adam
Charnock`_ licensed under `the MIT license`_ that started out at
`adamcharnock/swiftwind-heroku`_.

`Sebastian Pipping`_ added and fixed a few things, on top.


.. _Adam Charnock: https://github.com/adamcharnock
.. _the MIT license: https://opensource.org/licenses/MIT
.. _adamcharnock/swiftwind-heroku: https://github.com/adamcharnock/swiftwind-heroku/commits/master/swiftwind_heroku/management/commands/create_superuser_with_password.py
.. _Sebastian Pipping: https://github.com/hartwork
MultiSC 0.0.12
Server and client for your app needs
License: MIT
Keywords: Server,Client,Easy,app,client,server

# MultiSC  

<p align="center">
<a href=""><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="awesome"></a>
<a href="https://badge.fury.io/py/mit"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt="MIT"></a>
<a href="https://badge.fury.io/py/pypi"><img src="https://badge.fury.io/py/pypi.svg" alt="PyPI version"></a>
<a href=""><img src="https://img.shields.io/badge/coverage-100%25-brightgreen.svg" alt="coverage"></a>
<a href=""><img src="https://img.shields.io/badge/code%20quality-A-brightgreen.svg" alt="quality"></a>
</p>

### Server for your app needs.  

#### Installation
```
$/> pip insatll MultiSC
```

#### New project (server)
```
$/> make_multi server
$/> make_multi server -q //for quick setup mode
```

#### New project (client)
```
$/> make_multi client
```


#### **Quick setup example (server)**
```python
from MultiSC.MultiServer.quick_setup.manager import ProtocolsManager, MonitorManager, Runner


@MonitorManager.add("client_info_printer")
def monitor(self, query):
    print(query.other)

@ProtocolsManager.add("math", "sum")
def func2(query):
    return query["a"] + query["b"]


Server = Runner()
Server.run()
```

#### **Client example**
```python
from MultiSC.MultiClient.EasyClient import EasyClient

def main():
    address = "127.0.0.1", 84
    user = EasyClient(address)
    user.connect()

    print(user.castom_request("math", "sum", a=5, b=9)) # -> {'message': 14, 'code': 200}
main()
```


### for more information visit our wiki [hare](https://github.com/hvuhsg/MultiSC/wiki)
educalingoDictionary 0.1.0a0
Gets data from the Educalingo dictionary
License: MIT
Requires Python: >=3.6
Keywords: scrapping dictionary

# Educalingo Dictionary — Package

[![Build Status](https://travis-ci.org/JessicaSousa/EducalingoDictionary.svg?branch=master)](https://travis-ci.org/JessicaSousa/EducalingoDictionary)
[![codecov]( https://codecov.io/gh/JessicaSousa/EducalingoDictionary/branch/master/graph/badge.svg)](https://codecov.io/gh/JessicaSousa/EducalingoDictionary)
[![GitHub license](https://img.shields.io/github/license/JessicaSousa/EducalingoDictionary.svg)](https://github.com/JessicaSousa/EducalingoDictionary/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/educalingoDictionary.svg)](https://pypi.org/project/educalingoDictionary/)

The ``educalingoDictionary`` Package is a basic package written in Python can download the info from the [Educalingo Dictionary](http://educalingo.com/).

## Installation

You can install, upgrade, and uninstall  the ``educalingoDictionary`` with these commands:
```console
$ pip install educalingoDictionary
$ pip install --upgrade educalingoDictionary
$ pip uninstall educalingoDictionary
```
## Usage
```python
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
my_dictionary.set_language("pt")
```
Performing a dictionary search for the _legal_ (nice) word.
```python
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
# setting language to Portuguese
my_dictionary.set_language("pt")
my_dictionary.search_word(word="legal")
```

Get the list of synonyms through the ``get_synonyms`` method.

```python
from educalingoDictionary import EducalingoDictionary
my_dictionary = EducalingoDictionary()
# setting language to Portuguese
my_dictionary.set_language("pt")
my_dictionary.search_word(word="legal")
# get list of synonyms of "legal"
synonyms = my_dictionary.get_synonyms()
```

## Available dictionaries
 * **bn**: 'Bengali dictionary',
 * **de**: 'German dictionary',
 * **en**: 'English dictionary',
 * **es**: 'Spanish dictionary',
 * **fr**: 'French dictionary',
 * **hi**: 'Hindi dictionary',
 * **it**: 'Italian dictionary',
 * **ja**: 'Japanese dictionary',
 * **jv**: 'Javanese dictionary',
 * **ko**: 'Korean dictionary',
 * **mr**: 'Marathi dictionary',
 * **ms**: 'Malay dictionary',
 * **pl**: 'Polish dictionary',
 * **pt**: 'Portuguese dictionary',
 * **ro**: 'Romanian dictionary',
 * **ru**: 'Russian dictionary',
 * **ta**: 'Tamil dictionary',
 * **tr**: 'Turkish dictionary',
 * **uk**: 'Ukrainian dictionary',
 * **zh**: 'Chinese dictionary'
buildbot-docker-swarm-worker 0.2.0
Buildbot worker for Docker Swarm
License: MIT
Requires Python: >=3.6
Keywords: buildbot,docker,swarm

[![PyPI](https://img.shields.io/pypi/v/buildbot-docker-swarm-worker.svg?style=flat-square)](https://pypi.org/project/buildbot-docker-swarm-worker/)
[![Build Status](https://img.shields.io/travis/com/cjolowicz/buildbot-docker-swarm-worker.svg?style=flat-square)](https://travis-ci.com/cjolowicz/buildbot-docker-swarm-worker)
[![Coverage Status](https://img.shields.io/coveralls/cjolowicz/buildbot-docker-swarm-worker.svg?style=flat-square)](https://coveralls.io/github/cjolowicz/buildbot-docker-swarm-worker?branch=master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/ambv/black)

# buildbot-docker-swarm-worker

This package provides a [buildbot](https://buildbot.net) plugin to
deploy buildbot workers on demand as services on a
[Docker Swarm](https://docs.docker.com/engine/swarm/) cluster.

## Installation

Install this package from
[PyPI](https://pypi.org/project/buildbot-docker-swarm-worker/):

```sh
pip install buildbot-docker-swarm-worker
```

## Usage

```python
from buildbot.plugins import worker
swarm_worker = worker.DockerSwarmLatentWorker(
    "docker-swarm-worker",
    "buildbot/buildbot-worker:latest",
)
```

## Related projects

- https://github.com/cjolowicz/docker-buildbot
- https://github.com/cjolowicz/docker-buildbot-worker