semvec/pypi-packages huggingface dataset:
pytdsbconnects 0.1.1
A basic Python TDSB Connects API using aiohttp.
License: MIT
Requires Python: >=3.6
Keywords: tdsb

# pytdsbconnects
![Python 3](https://img.shields.io/pypi/pyversions/pytdsbconnects)
[![MIT License](https://img.shields.io/pypi/l/pytdsbconnects)](https://github.com/tylertian123/pytdsbconnects/blob/master/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/pytdsbconnects)](https://pypi.org/project/pytdsbconnects/)

A basic Python TDSB Connects API using aiohttp.

Made with info and help from @mincrmatt12.

Example usage:
```py
import asyncio
import datetime
import tdsbconnects
from getpass import getpass

async def main():
    async with tdsbconnects.TDSBConnects() as session: # type: tdsbconnects.TDSBConnects
        print("loggin in")
        await session.login(input("Username: "), getpass())
        print("getting info")
        info = await session.get_user_info()
        print(info.name, "is a", info.roles[0], "at", info.schools[0].name, "with code",
              info.schools[0].code, "in the school year", info.schools[0].school_year, "starting on",
              info.schools[0].school_year_start, "and ending on", info.schools[0].school_year_end)
        date = datetime.datetime.strptime(input("enter a date to get your timetable for (YYYY-MM-DD): "), "%Y-%m-%d")
        timetable = await info.schools[0].timetable(date)
        if timetable:
            print("that day is a day", timetable[0].course_cycle_day, "and here are your courses:")
            for item in timetable:
                print("In period", item.course_period, "(starting at", item.course_start, "and ending at",
                item.course_end, ") you have class", item.course_name, "with code", item.course_code, "(block",
                item.course_block, ") with teacher", item.course_teacher_name, "(email:", item.course_teacher_email, ")")
        else:
            print("no timetable for that day.")


asyncio.get_event_loop().run_until_complete(main())
```
connection_pool 0.0.3
thread safe connection pool
License: MIT

ConnectionPool
##############

Thread-safe connection pool for python

Install
=======

.. code-block:: bash

    $ pip install connection_pool


Examples
========

Create a pool
---------------

.. code-block:: python

    import memcache
    from connection_pool import ConnectionPool

    # via create function
    def create_memcache_client():
        return memcache.Client(['127.0.0.1:11211'])

    pool = ConnectionPool(create=create_memcache_client,
                          max_size=10, max_usage=10000, idle=60, ttl=120)

    # via lambda
    pool = ConnectionPool(create=lambda: memcache.Client(['127.0.0.1:11211']),
                          max_size=10)

    # via functools.partial
    from functools import partial
    pool = ConnectionPool(create=partial(memcache.Client, ['127.0.0.1:11211']),
                          max_size=10)

    # using a connection
    with pool.item() as memcache:
        memcache.set('foo', 'bar')

License
=======

The MIT License (MIT). Please see License File for more information.
bowler 0.9.0
Safe code refactoring for modern Python projects
License: MIT
Requires Python: >=3.6

<a href="https://pybowler.io"><img alt="Bowler" height="96" src="https://github.com/facebookincubator/Bowler/raw/master/website/static/img/logo/Bowler_FullColor_DarkText.png" /></a>

**Safe code refactoring for modern Python projects.**

[![build status](https://github.com/facebookincubator/Bowler/workflows/Build/badge.svg)](https://github.com/facebookincubator/Bowler/actions)
[![code coverage](https://img.shields.io/codecov/c/github/facebookincubator/Bowler)](https://codecov.io/gh/facebookincubator/Bowler)
[![version](https://img.shields.io/pypi/v/bowler.svg)](https://pypi.org/project/bowler)
[![changelog](https://img.shields.io/badge/change-log-blue.svg)](https://github.com/facebookincubator/bowler/blob/master/CHANGELOG.md)
[![license](https://img.shields.io/pypi/l/bowler.svg)](https://github.com/facebookincubator/bowler/blob/master/LICENSE)
[![code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)


Overview
--------

Bowler is a refactoring tool for manipulating Python at the syntax tree level. It enables
safe, large scale code modifications while guaranteeing that the resulting code compiles
and runs. It provides both a simple command line interface and a fluent API in Python for
generating complex code modifications in code.

Bowler uses a "fluent" `Query` API to build refactoring scripts through a series
of selectors, filters, and modifiers.  Many simple modifications are already possible
using the existing API, but you can also provide custom selectors, filters, and
modifiers as needed to build more complex or custom refactorings.  See the
[Query Reference](https://pybowler.io/docs/api-query) for more details.

Using the query API to rename a single function, and generate an interactive diff from
the results, would look something like this:

```python
query = (
    Query(<paths to modify>)
    .select_function("old_name")
    .rename("new_name")
    .diff(interactive=True)
)
```

For more details or documentation, check out https://pybowler.io


Installing Bowler
-----------------

Bowler supports modifications to code from any version of Python 2 or 3, but it
requires Python 3.6 or higher to run. Bowler can be easily installed using most common
Python packaging tools. We recommend installing the latest stable release from
[PyPI][] with `pip`:

```bash
pip install bowler
```

You can also install a development version from source by checking out the Git repo:

```bash
git clone https://github.com/facebookincubator/bowler
cd bowler
python setup.py install
```


License
-------

Bowler is MIT licensed, as found in the `LICENSE` file.


[PyPI]: https://pypi.org/p/bowler
mdx-breakless-lists 1.0.1
Python Markdown package extension to allow lists without a preceding empty line.
License: MIT
Keywords: markdown extension,markdown,lists

[![Build Status](https://travis-ci.com/adamb70/mdx-breakless-lists.svg?branch=master)](https://travis-ci.com/adamb70/mdx-breakless-lists)
# Breakless Lists Markdown Extension

Use lists without requiring a line break above them, as in [GitHub flavoured markdown](https://github.github.com/gfm/#example-283).


This markdown:
> ```
> This text comes before the list
> - list item 1
> - list item 2
> ``` 

renders as this HTML:
> ```
> <p>This text comes before the list</p>
> <ul>
> <li>list item 1</li>
> <li>list item 2</li>
> </ul>
> ```

## Installation

`pip install mdx-breakless-lists`

## Usage

```python
from markdown import markdown

html = markdown(text, extensions=['mdx_breakless_lists'])
```