semvec/pypi-packages huggingface dataset:
binary-bits 1.1.0
Provide additional methods for working with binary data
Requires Python: >=3.6

# Bits

Helps manage your bits!

Intended to be compatible with Python 3.6+. Written and tested against Python
3.8.5 Ubuntu 20.04.1 LTS.

If something doesn't work in Python 3.6, it's a bug. Please report any such
bugs if they are encountered.

# Similar projects
## [py-flags](https://pypi.org/project/py-flags/)
py-expression-lib-opencv 0.0.4
lib opencv for expressions
Keywords: opencv

# Purpose 
Extend the expression library by adding enums and related functions to opencv 

# Description
In this project, the expression library and an opencv library that adds enums and functions is used to execute multi-line expressions that transform an image 

# Install
```
python -m pip install -U pip
python -m pip install -U py-expression
```

# References:
- [py-expression pip](https://pypi.org/project/py-expression/)
sweetspot-sdk 0.1.5
SDK for Sweetspot Team to interact with backend APIs

<p align="center"><img src="https://www.sweetspot.so/static/media/full-logo-white.png"></p>


# Sweetspot Python SDK

This Python library helps Sweetspot developers interact with their backend APIs to modify shops, merchants, and consumers.

## Installation 

```sh 
pip install sweetspot-sdk 
```

## Client 

The API client can be initialized as follows:

```python 
from sweetspot.client import Client 

client = Client(
    csrf_refresh_token='csrf_refresh_token', 
    csrf_access_token='csrf_access_token', 
    access_token_cookie='access_token_cookie', 
    refresh_token_cookie='refresh_token_cookie',
    environment='development')
```

API calls return an `ApiResponse` object that includes the following fields: 

| Field | Description |
|  --- | --- |
| `status_code` | Status code of the HTTP response |
| `reason_phrase` | Reason phrase of the HTTP response |
| `headers` | Headers of the HTTP response as a dictionary |
| `text` | The body of the HTTP response as a string |
| `request` | HTTP request info |
| `errors` | Errors, if they exist |
| `body` | The deserialized body of the HTTP response |
| `cookies` | The deserialized cookies of the HTTP response |


## Make Calls with the API Client 

```python 
from sweetspot.client import Client

client = Client(
    csrf_refresh_token='csrf_refresh_token', 
    csrf_access_token='csrf_access_token', 
    access_token_cookie='access_token_cookie', 
    refresh_token_cookie='refresh_token_cookie',
    environment='development')
    
category_result = client.category.get_all_categories()
if category_result.is_success():
    categories = category_result.body
```

## Authenticating the API Client 

The client must obtain access tokens and cookies in order to call protected endpoints.

```python 
from sweetspot.client import Client 

client = Client() 

login_payload = {
    'email':email,
    'password':password
}

authentication_result = client.authentication.get_authentication_information(login_payload)
if authentication_result.is_success(): 
    client.update_config(**authentication_result.cookies)

#call protected endpoint 

category_result = client.category.get_all_categories()
if category_result.is_success():
    categories = category_result.body
    
```
google-structlog 43.12.0
Send queryable JSON structured logs to Google Cloud (GCP) stackdriver from python apps
Requires Python: >=3.7

Out of the box setup for python apps to send structured logs to 
Google Cloud's Stackdriver, in a format that allows stackdriver queries
over the structure.

This package sets up structured logging with stackdriver that Just Works(TM):
no configuration required. There's no confurability, 
but virtually no API means its easy to leave behind if you outgrow it.

Usage
=====

```python
from google_structlog import getLogger

logger = getLogger()
logger.warn('Danger Will Robinson', source='Robot', target='Will Robinson', threat='Boredom')
```

The logger comes from [structlog](https://www.structlog.org/) and allows all the options you'd expect on a `structlog.get_logger()` logger, including binding of repeated attributes:
```python
from google_structlog import getLogger
logger = getLogger()
# Include source= and target= values in the output of all calls to sublogger
sublogger = logger.bind(source='Robot', target='Will Robinson')
sublogger.warn('Danger Will Robinson: impending maintenance', threat='Responsibility')
```

Releasing a new version to pypi
=====

- Bump version in `setup.py`, make sure we stay ahead of Chrome and Firefox
- `rm -rf ./dist/*` if needed to remove past versions
- `python3 setup.py sdist bdist_wheel`
- `twine upload dist/*`
- Login to pypi as `snickell` lol
instatext 0.0.2
instatext is a package to train text classifiers instantly.
Requires Python: >3.6
Keywords: python,text classifier,fasttext,nlp,spacy

instatext: Train text classifiers instantly
====================================


`instatext` is a Python 3 library for processing textual data. It provides a simple API for training and predicting with text classifiers.




instatext leverages  `fasttext`, and `pandas`, for the heavy lifting


Get it now
----------
    $ pip install instatext 

Requirements
------------

- Python  >= 3.5

Example
--------
To train a model pass in a csv with the text and labels

text - the text to classify
labels - comma seperated list of labels

```
text,labels
sample text,"sample"
bad stuff,"bad,sample"
good stuff,"good,sample"
```



```python
import instatext
import logging


def main():
    print("hello")

    instatext.train_model("test_data/example.csv", "test")
    instatext.predict("test", "Predict my good text",0.5)


if __name__ == "__main__":
    loglevel = logging.INFO
    logging.basicConfig(
        format="%(asctime)s |%(levelname)s: %(message)s", level=loglevel
    )
    main()
```