semvec/pypi-packages huggingface dataset:
sqlalchemy-create-table-as 0.3.0
module provide *create table as* statement
License: MIT
Requires Python: >=3.6,<4.0

# "Create Table As" form for SQLAlchemy

Add `create table as` construct to SQLalchemy

## Usage

Examples:
```python
>>> from sqlalchemy import *
>>> from sqlalchemy_create_table_as import *
>>> str(
...     CreateTableAs(
...         table('new_table'), 
...         select(column('f1'), column('f2')).select_from(table('old_table'))
...         )
... )
'CREATE TABLE new_table AS SELECT f1, f2 \nFROM old_table'
 
>>> t = Table('old_table', MetaData(), Column('f1'), Column('f2'))

>>> str(CreateTableAs(table('new_table'), select(t)))
>>> 'CREATE TABLE new_table AS SELECT old_table.f1, old_table.f2 \nFROM old_table'
```

## Installation

`sqlalchemy-create-table-as` is available on PyPI and can be installed via `pip`

```console
pip install sqlalchemy-create-table-as
```

## Acknowledgements
Package inspired by [sqlalchemy-views](https://pypi.org/project/sqlalchemy-views/) 

And thank you to the various [contributors](https://github.com/GrozniyToaster/sqlalchemy-create-table-as/pulse)!
chenosis 0.1.0
A python client for MTN's Chenosis platform: https://chenosis.io.
License: MIT
Requires Python: >=3.7

# MTN Chenosis API

> NB: Not affiliated with MTN's official Chenosis Platform (05 Jan 2023)

A python client for MTN's Chenosis platform: https://chenosis.io.

## Installation

`pip install chenosis`

## Usage

```python
from chenosis.client import ChenosisClient

chenosis_client = ChenosisClient(
    host="https://sandbox.api.chenosis.io", # Use live API when going to production
    client_id="xxxxxx",
    client_secret="yyyyyy"
)

# GET user's get_mobile_carrier_details
phone_number = "27123456789"
response = chenosis_client.get_mobile_carrier_details(phone_number=phone_number)
print(response)
# TODO: Put correct information
```

## Reporting Issues:

You can open issues on the GitHub repository for library-level issues and contact Chenosis support for any issues with the API itself.

### TODO List
1. Update tests and readme examples with more response data once the chenosis sandbox/production is up and running (11 Feb 2023).
2. Use pydantic for response models.
3. Add more endpoints once POC is acceptable.
4. Add more client methods.
5. Add an async client.