semvec/pypi-packages huggingface dataset:
chemist 1.7.0
1.7.0

.. Flask Chemist documentation master file, created by
   sphinx-quickstart on Sun Nov 19 22:16:39 2017.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Chemist
=======

A simple, flexible and testable active-record powered by SQLAlchemy.

.. image:: https://readthedocs.org/projects/chemist/badge/?version=latest
   :target: http://chemist.readthedocs.io/en/latest/?badge=latest
   :alt: Documentation Status
.. image:: https://travis-ci.org/gabrielfalcao/chemist.svg?branch=master
    :target: https://travis-ci.org/gabrielfalcao/chemist
.. |PyPI python versions| image:: https://img.shields.io/pypi/pyversions/chemist.svg
   :target: https://pypi.python.org/pypi/chemist
.. |Join the chat at https://gitter.im/gabrielfalcao/chemist| image:: https://badges.gitter.im/gabrielfalcao/chemist.svg
   :target: https://gitter.im/gabrielfalcao/chemist?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge



Install
-------

.. code:: bash

   pip install chemist


Documentation
-------------

`chemist.readthedocs.io <https://chemist.readthedocs.io/en/latest/>`_


Basic Usage
-----------


.. code:: python

    from chemist import (
        Model, db, DefaultTable
        set_default_uri,
    )

    engine = set_default_uri('sqlite:///example.db')

    class BlogPost(Model):
         table = DefaultTable('blog_post'
             db.Column('id', db.Integer, primary_key=True),
             db.Column('title', db.Unicode(200), nullable=False),
             db.Column('content', db.UnicodeText, nullable=False),
         )

    post1 = BlogPost.create(title='Hello World', content='\n'.join([
        'Introduction...',
        'Supporting Theory 1...',
        'Supporting Theory 2...',
        'Supporting Theory 3...',
        'Conclusion',
    ]))


    for post in BlogPost.all():
        print(post.title, post.id)


Examples
--------

1. `flask app <https://github.com/gabrielfalcao/chemist/blob/master/examples/flask-app.py>`_
dataclasses-settings 0.5.0a1
Oversimplified decorator for settings management with built-in dataclasses superpowers.
Requires Python: >=3.7,<4.0

# dataclasses-settings

Oversimplified decorator for settings management (via environment variables) with built in dataclasses superpowers.

[![PyPI version](https://badge.fury.io/py/dataclasses-settings.svg)](https://badge.fury.io/py/dataclasses-settings)
[![Test](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## Installation

### From PyPi

```shell
pip install dataclasses-settings -U
```

### Directly from github

```shell
pip install git+https://github.com/shpaker/dataclasses-settings.git -U
```

## Usage

1. Specify environments variables:

    ```shell
    export APP_PORT=8080
    export APP_DEBUG=yes
    export APP_RULESET_PATH=./ruleset.yaml
    ```

1. Define class for settings with defaults values:

    ```python
    from pathlib import Path

    from dataclasses_settings import dataclass_settings

    @dataclass_settings(prefix="app_", frozen=True)
    class Settings:
        port: int
        debug: bool = False
        ruleset_path: Path = None
    ```

1. Check result:

    ```python
    from dataclasses import asdict

    settings = Settings()
    settings_dict = asdict(settings)
    print(settings_dict)
    ```

    Output:

    ```python
    {'debug': True, 'port': 8080, 'ruleset_path': PosixPath('ruleset.yaml')}
    ```

1. Also you can redefine some values in runtime and create new instance of Settings:

    ```python
    settings = Settings(port=80)
    settings_dict = asdict(settings)
    print(settings_dict)
    ```

    Output:

    ```python
    {'debug': True, 'port': 80, 'ruleset_path': PosixPath('ruleset.yaml')}
    ```

## `.env` support:

1. Should install python-dotenv:

    ```shell
    pip install python-dotenv
    ```

1. ... or you can install `dataclasses-settings` with `dotenv` extra-package:

    Directly from github:

    ```shell
    pip install git+https://github.com/shpaker/dataclasses-settings.git@dotenv#egg=dataclasses-settings[dotenv] -U"
    ```

2. Finally define settings with `dotenv_path` argument:

    ```python
    @dataclass_settings(prefix="app_", dotenv_path=".env")
    class Settings:
        ...
    ```
R 1.0.1
Roblox wrapper, with support for the game client
Requires Python: >=3.6

# rockblox
Python Roblox wrapper, primarily focused on the game client.

Since this module doesn't directly hook into the client, it is limited by the following things:
- It can only interact with one client at a time
- Keystrokes may fail to register in time, causing chat messages to cut off
- .wait_for relies on screenshots, making it somewhat unreliable

DM me if you know of a way to send keystrokes to the client, without focusing the window.

# Setup
```bash
pip install -U git+https://github.com/h0nde/rockblox.git
```

# Usage
```python
import rockblox
from time import sleep

mutex = rockblox.ClientMutex() # allows multiple clients to be open at once

# create new session using cookie.txt
with open("cookie.txt") as f:
  session = rockblox.Session(f.read().strip())

with rockblox.Client(session, 1818) as client:
  client.wait_for(15) # wait up to 15 seconds for game to load
  print(f"Joined game with {session.name}")
  client.chat_message("burger")
  sleep(1)
  client.screenshot().show()
```

# Documentation
### Session(ROBLOSECURITY, requests_session=None, user_agent=DEFAULT, proxy_url=None, host="roblox.com")
Creates a new session instance.

### ClientMutex()
Takes control of the client mutex, so that multiple client instances can be open at the same time. Won't work if an instance is already open before it is called.

### Client(session, place_id, job_id=None, client_path=default)
Creates a new client instance.

### Client.wait_for(timeout=15, check_interval=0.25, ignore_colors=\[(0, 0, 0) (45, 45, 45)])
Waits until the client is past the loading screen. This uses the screenshot method and therefore may not be 100% reliable.

### Client.screenshot() -> PIL.Image
Returns a `PIL.Image` screenshot of the client in it's current window size.

### Client.press_key(key)
Simulates a key press on the client, using the provided vk code.

### Client.release_key(key)
Simulates a key release on the client, using the provided vk code.

### Client.chat_message(message)
Attempts to write and send a chat message by simulating keystrokes on the client.

### Client.close()
Kills the client process.
defsent 0.1.0
DefSent: Sentence Embeddings using Definition Sentences
Requires Python: >=3.7,<4.0

# DefSent: Sentence Embeddings using Definition Sentences


## Pretrained checkpoints

| checkpoint | STS12 | STS13 | STS14 | STS15 | STS16 | STS-B | SICK-R | Avg. |
|--|--|--|--|--|--|--|--|--|
|defsent-bert-base-uncased-cls|67.61|80.44|70.12|77.5|76.34|75.25|71.71|74.14|
|defsent-bert-base-uncased-mean|68.24|82.62|72.8|78.44|76.79|77.5|71.69|75.44|
|defsent-bert-base-uncased-max|65.32|82.00|73.00|77.38|75.84|76.74|71.67|74.57|
|defsent-bert-large-uncased-cls|67.03|82.41|71.25|80.33|75.43|73.83|73.34|74.8|
|defsent-bert-large-uncased-mean|63.93|82.43|73.29|80.52|77.84|78.41|73.39|75.69|
|defsent-bert-large-uncased-max|60.15|80.70|71.67|77.19|75.71|76.90|72.57|73.55|
|defsent-roberta-base-cls|66.13|80.96|72.59|78.33|78.85|78.51|74.44|75.69|
|defsent-roberta-base-mean|62.38|78.42|70.79|74.60|77.32|77.38|73.07|73.42|
|defsent-roberta-base-max|64.61|78.76|70.24|76.07|79.02|78.34|74.54|74.51|
|defsent-roberta-large-cls|62.47|79.07|69.87|72.62|77.87|79.11|73.95|73.56|
|defsent-roberta-large-mean|57.8|72.98|69.18|72.84|76.50|79.17|74.36|71.83|
|defsent-roberta-large-max|64.11|81.42|72.52|75.37|80.23|79.16|73.76|75.22|