semvec/pypi-packages huggingface dataset:
snowmad 0.0.4
A Snowflake object transcription library for capturing Snowflake objects

<div align="center">
  <img src="https://drive.google.com/uc?export=view&id=1MS6Y-2orri9vxJLujNI6P5zecMvRfL9r"><br>
</div>


# snowmad: a snowflake transcription library  
[![PyPI Latest Release](https://img.shields.io/pypi/v/snowmad.svg)](https://pypi.org/project/snowmad/)
[![Package Status](https://img.shields.io/pypi/status/snowmad.svg)](https://pypi.org/project/snowmad/)
[![License](https://img.shields.io/pypi/l/snowmad.svg)](https://github.com/PrestonBlackburn/snowmad/blob/main/LICENSE)


## What is it?

**Snowmad** is a Python package that provides utilities to transcribe snowflake objects. Currently transcribing objects form Snowflake to Terraform and transcribing objects from Snowflake to another Snowflake account is the primary focus of this package. The goal of this package is to cut down on writing one off scripts or manually wirting ddl for copying snowflake objects. 


## Main Features
- **Terraform**
    - Transcribe snowflake users, roles, and role grants to terraform format
    - Currently terraform can import state, but cannot generate a config file from the imported state
    - To be used with snowflake provider (snowflake-labs/snowflake)
- **Snowflake Accounts**  
    - Copy databse objects ddl from one Snowflake account to another
    - Copy account level objects from one account to another including: warehouses, users, roles, and grants


## Where to get it
The source code is currently hosted on GitHub at:
https://github.com/PrestonBlackburn/snowmad  

Binary installers for the latest released version are available at the [Python
Package Index (PyPI)](https://pypi.org/project/pandas)  
<br/>
```sh
# PyPI
pip install snowmad
```


## Dependencies
- pandas - for data handling
- snowflake.connector (with pandas addon, "snowflake-connector-python[pandas]") - for connecting to snowflake accounts and loading object data to dataframes
- configparser - for handling snowflake account input data
- cryptography - for accessing accounts via rsa key
- snowflake connector 

## License
[MIT](LICENSE)


## Documentation
See the current documentation on the [wiki page](https://github.com/PrestonBlackburn/snowmad/wiki)


## Outputs
- roles text file
    - contains snowflake roles in terraform "snowflake_role" resource format
- users text file
    - contains snowflake users in terraform "snowflake_user" resource format
- grants text file
    - contains snowflake grants for roles in terraform "snowflake_role_grants" resource format
console-interface 0.1
A tool for interact with user in the console.

# An interface for interacting with user

## Reading

For reading inputs from user, you can use this tool like this:

```python
console_reader = ConsoleReader()
console_reader.read_input()
```
## Writting

You can use ```ConsoleLogger()``` for the purpose of writting something to user. 

```python

c = ConsoleLogger()
c.log_this(msg="Message", profile=ErrorLoggerProfile()) #this will write in the red color. 
```
nptraj-sensapex-link 0.0.5
A python server to connect WebSocket compliant clients to a Sensapex device
Requires Python: >=3.8

# nptraj-sensapex-link
The Sensapex Link is a python server which allows any WebSocket compliant application (such as [Pinpoint (Neuropixels Trajectory Planner)](https://github.com/dbirman/NPTrajectoryPlanner/)) to have limited communication with [Sensapex uMp Micromanipulators](https://www.sensapex.com/products/ump-micromanipulators/)

# Installation
## For usage like a standalone app/server
1. Ensure Python >3.5 and pip are installed
2. `pip install nptraj-sensapex-link`
3. Run `python -m nptraj-sensapex-link` to start the server

## For usage like a library
1. Ensure Python 3.8+ and pip are installed
2. `pip install nptraj-sensapex-link`
3. Use `from nptraj_sensapex_link import launch` and call `launch()` to start the server
   1. Alternatively, use `import nptraj_sensapex_link` and call `nptraj_sensapex_link.launch()`

## To develop this package
1. Ensure Python 3.8+ and pip are installed
2. Clone the [repo](https://github.com/dbirman/nptraj-sensapex-link)
3. `cd nptraj-sensapex-link` and run `pip install requirements.txt`
4. Get the [Sensapex uM SDK](http://dist.sensapex.com/misc/um-sdk/latest/) binary zip
   1. Currently (June 2022), the SDK version is that is compatible with the Sensapex python SDK is [v1.022](http://dist.sensapex.com/misc/um-sdk/latest/umsdk-1.022-binaries.zip)
   2. **Make sure the firmware version installed on the manipulators matches the SDK version you install**
5. Extract the zip and copy the DLL or lib file appropriate for your system into the installation location for the python Sensapex module
   1. i.e. if you are using a virtual environment in windows, copy the DLL into `{path to venv}/Lib/site-packages/sensapex/`
6. Upon completion, run `python main.py` to launch the server
7. Unit tests are available to run under the `tests/` directory
jupyter-datsette-proxy 1.0
Run datasette on JupyterHub with jupyter-server-proxy

# jupyter-datasette-proxy

Using [datasette](https://datasette.io/) in JupyterHub or Binder with
[jupyter-server-proxy](https://github.com/jupyterhub/jupyter-server-proxy)

Launch into notebook interface (run `datasette` from the notebook `New` menu): [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/psychemedia/jupyterserverproxy-datasette-demo/master)

Launch directly into datasette: [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/psychemedia/jupyterserverproxy-datasette-demo/master?urlpath=datasette)

The `datasette` port is assigned dynamically, although a known port could be specified if datasette is used to provide an API.

## Installation

You can install from PyPI:

```bash
pip install jupyter-datasette-proxy
```

This will also bring in datasette.