semvec/pypi-packages huggingface dataset:
django-live-templates 0.1a0
Django-Live-Templates is an extension to Django and Channels which adds support for live updating Django template snippets on model changes.
License: MIT

[Django-Live-Templates](https://github.com/mback2k/django-live-templates) is
an extension to [Django](https://www.djangoproject.com/) and
[Channels](https://channels.readthedocs.io/) which adds
support for live updating Django template snippets on model changes.

This project is based upon and a partial reimplementation to Channels of
[SwampDragon-live](https://github.com/mback2k/swampdragon-live) which was build
using [SwampDragon](https://github.com/hagsteel/swampdragon)
with SwampDragon-auth and django-redis.

Installation
------------
Install the latest version from pypi.python.org:

    pip install django-live-templates

Install the development version by cloning the source from github.com:

    pip install git+https://github.com/mback2k/django-live-templates.git

Configuration
-------------
Add the package to your `INSTALLED_APPS`:

    INSTALLED_APPS += (
        'channels',
        'django_live_templates',
    )

Example
-------
Make sure to use django-redis as a Cache backend named 'django-live-templates' or 'default':

    CACHES = {
        'django-live-templates': {
            'BACKEND': 'django_redis.cache.RedisCache',
            'LOCATION': 'redis://localhost:6379/0',
            'OPTIONS': {
                'CLIENT_CLASS': 'django_redis.client.DefaultClient',
            }
        }
    }

Load the required JavaScript template-tags within your Django template:

    {% load django_live_template %}

Add the required JavaScript to your Django template:

    <script type="text/javascript" src="{{ STATIC_URL }}js/django_live_template.js"></script>

Use the include_live template-tag instead of the default include template-tag,
with rows being a Django database QuerySet to listen for added, changed, deleted instances:

    {% include_live 'includes/table_body.html' rows=rows perms=perms %}

Use the include_live template-tag instead of the default include template-tag,
with row being a single Django database Model instance to listen for changes:

    {% include_live 'includes/row_cols.html' row=row perms=perms %}

Use the django_live_template variable within the included template to add the
required classes to the root-tag of this template, e.g. the first tag-node:

    <tr class="{{ django_live_template }}">...</tr>

You can check if your template is being live rendered by a content pusher by
using the context variable `is_django_live_template` like this:

    {% if is_django_live_template %}
    <style onload="alert('Hello World!');"></style>
    {% endif %}

A real-world example can be found in the Django project WebGCal:
* https://github.com/mback2k/django-webgcal/blob/master/webgcal/apps/webgcal/templates/show_dashboard.html
* https://github.com/mback2k/django-webgcal/tree/master/webgcal/apps/webgcal/templates/includes

License
-------
* Released under MIT License
* Copyright (c) 2015-2019 Marc Hoersken <info@marc-hoersken.de>
piniverse 0.0.4
Pin your functions!
License: MIT
Keywords: pin,pinned,dag

# Piniverse

[![PyPI version](https://badge.fury.io/py/piniverse.svg)](https://badge.fury.io/py/piniverse)
[![Build Status](https://travis-ci.org/hzhao19/piniverse.svg?branch=master)](https://travis-ci.org/hzhao19/piniverse)
[![codecov](https://codecov.io/gh/hzhao19/piniverse/branch/master/graph/badge.svg)](https://codecov.io/gh/hzhao19/piniverse)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dwyl/esta/issues)

Piniverse is a simple library to programmatically orchestrate function calls for Python. 

<br>
  <p align="center">
    <img src="docs/static/pin.png" height="350" width="600" align="center">
  </p>
<br>

Table of contents
---------------

- [Features Support](#features-support)
- [Prerequisites](#prerequisites)
- [Getting Started](#getting-started)
- [Limitations](#limitations)
- [Contributions](#contributions)

Features Support 
---------------

* Execution of pinned functions inside a python package in topological ordering
* Visualization of the directed acyclic graph

Prerequisites 
---------------

* Python 3.7

Getting Started
---------------

### Installation

```
$ pip install piniverse
```

### Basic Usage

Piniverse inspects pinned functions inside a package.

```
.
├── workspace/   <-- workspace directory
├── script.py    <-- script file

```

To orchestrate your desired functions, pin them! Every pinned function has a task identifier, and if applicable, a succeeding toward identifier.

```
# workspace/

from piniverse import Pinned


@Pinned(
  task='1',
  toward='2', 
  arguments={
    args: ['Hello World']
    kwargs: {'content': 'Programming exercise...'}
  }
)
def simple_print(title: str, content: str = '') -> None:
  message = """
    Title: {}
    Content: 
      {}
  """.format(title, content)
  
  print(message)


@Pinned(
  task='2',
  arguments={
    args: ['A pretty Hello World']
    kwargs: {'content': 'A pretty programming exercise!'
  }
)
def pretty_print(title: str, content: str = '') -> None:
  message = """
    Pretty Title: {}
    Pretty Content: 
      {}
  """.format(title, content)

  print(message)

```

To execute your pinned functions, plan and apply!

```
# script.py

import piniverse
import workspace


piniverse.plan(workspace)
piniverse.apply()

// Title: Hello World
// Content: 
//   Programming exercise...
// Title: A pretty Hello World
// Content:
//   A pretty programming exercise
```

### User Interface

Piniverse also provides a straightforward visualization of your task definitions. 

```
# script.py

pinverse.plan(workspace, plan_view=True)
```

<br>
  <p align="center">
    <img src="docs/static/visual.png" height="500" width="700" align="center">
  </p>
<br>

Limitations 
---------------

Presently, Piniverse solely supports standalone functions.

Contributions 
---------------

Contributions are more than welcome! Check out the [contribution documentation](https://github.com/hzhao19/piniverse/blob/master/CONTRIBUTIONS.rst).
easy-tools 3.7
More routines for operating on iterables and data structures, beyond itertools
License: MIT

Easy Tools
==============


Python's ``itertools`` library is a gem - you can compose elegant solutions
for a variety of problems with the functions it provides. In ``easy-tools``
we collect additional building blocks, recipes, and routines for working with
Python iterables.

----


Getting started
===============

To get started, install the library with `pip <https://pip.pypa.io/en/stable/>`_:

.. code-block:: shell

    pip install easy-tools

The recipes (modules/functions) included in this package are: 

+---------------------------+
| doublet_occurrence        |
+---------------------------+
| triplet_occurrence        |
+---------------------------+
| equilibrium_point         |
+---------------------------+
| non_divisible_subset_len  |
+---------------------------+
| leaders_to_left           |
+---------------------------+
| divisible_pairs           |
+---------------------------+
| leaders_to_right          |
+---------------------------+
| largest_number_possible   |
+---------------------------+


For example,

.. code-block:: python

    >>> from easy_tools import largest_number_possible
    >>> iterable = [98, 9, 26]
    >>> largest_number_possible(iterable)
    99826




You can use help function to get the detailed description of a function.

.. code-block:: python

    >>> help(function_name)

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

``easy-tools`` is maintained by `@jayanth <https://github.com/jayanthsai1998>`_.
If you have a problem or suggestion, please file a bug or pull request in this
repository. Happy Pythoning!
envpath 0.1.1
Utility for saving and retrieving your development environments and paths.
License: MIT
Keywords: 'environment','virtualenv','envpath','python'

# Envpath

Envpath is a command line utility for saving and retrieving your development environments and paths.


## Features
  - Save your development environment and path
  - Open saved environments and their paths from any directory


## Usage
There are currently only two commands available.

#### 1) Saving an env
If you want to save a virtual environment, make sure you are in the working directory of that project and run the following command (replace **envname** with the name of your environment):

`envpath --save envname`

You can use **-s** instead of **--save**

#### 2) Opening an env
To open a previously saved environment, just run the following command from any directory or path (replace **envname** with the name of your environment):

`envpath --open envname`

Here too, you can also use **-o** instead of **--open**


## Requirements & Dependencies
This package depends on the following python packages and will install them if you don't already have them installed:

* **[virtualenv](https://github.com/pypa/virtualenv)** - Virtual Python Environment builder
* **Argparse**  - Already included in the python standard library from python >= 3.2

Just like these packages, Envpath is also open source software.


## Development
Want to contribute code to this repo? You are welcome to do so.


## Contact the Author
Reach me via:
Email - [Click to send mail](mailto:kwame@soscodesoftware.com)
Twitter [@untamedthinking](https://twitter.com/untamedthinking)

License
----

MIT
weatherusa 2.0.0
A Python package to get Weather data based on US Zip code
License: MIT

# weatherUSA
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)]


# weatherUSA

This Library allows Developers to Get all weather data based on Zip code in json format 

## Installation

```bash
pip install weatherusa
```
## Usage

```python
import sys
from weatherusa.weatherusa import Weather

obj = Weather()
print(obj.weather_get(zip='06604'))


```


## Authors

* **Soumil Nitin Shah** 

## Soumil Nitin Shah 
Bachelor in Electronic Engineering |
Masters in Electrical Engineering | 
Master in Computer Engineering |

* Website : https://soumilshah.herokuapp.com
* Github: https://github.com/soumilshah1995
* Linkedin: https://www.linkedin.com/in/shah-soumil/
* Blog: https://soumilshah1995.blogspot.com/
* Youtube : https://www.youtube.com/channel/UC_eOodxvwS_H7x2uLQa-svw?view_as=subscriber
* Facebook Page : https://www.facebook.com/soumilshah1995/
* Email : shahsoumil519@gmail.com
* projects : https://soumilshah.herokuapp.com/project


Hello! I’m Soumil Nitin Shah, a Software and Hardware Developer based in New York City. I have completed by Bachelor in Electronic Engineering and my Double master’s in Computer and Electrical Engineering. I Develop Python Based Cross Platform Desktop Application , Webpages , Software, REST API, Database and much more I have more than 2 Years of Experience in Python


## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details