semvec/pypi-packages huggingface dataset:
shyperion 0.0.1
Python 3 modules for processing EO-1 Hyperion data.
Requires Python: >=3.6

***
sister hyperion
***

Python 3 modules for processing EO-1 Hyperion data. 

.. moduleauthor:: Yohei Shinozuka <Yohei.Shinozuka@nasa.gov>
The MakeHypL1 class was largely adapted from the IDL code developed by Laurence Ong et al.
code-test-sol 0.0.10
code-test tasks
Requires Python: >=3.5.5

code_test_sol

                                                                                |
                                                                                |
                                                                                |

                                                                          code_test_func

                                                                                | 
                                                                                |  
                                                                                |
                                                                ---------------------------------
                                                                |               |               |      
                                                                |               |               |
                                                                |               |               |               
                                                            csv_json       data_summary     sql_insert
                                                                
                                                                                


```bash
$ from code_test_sol import code_test_func
```


```bash
code_test_func.csv_json("sample.csv")  
code_test_func.data_summary ("sample.csv") 
code_test_func.sql_insert("sample.csv") 
```
sqlalchemy-batch-inserts 0.0.4
Batch inserts for SQLAlchemy on PostgreSQL with psycopg2

Benchling uses SQLAlchemy and psycopg2 to talk to PostgreSQL.
To save on round-trip latency, we batch our inserts using this code.

Typically, creating and flushing N models in SQLAlchemy does N roundtrips to the database if the model has an autoincrementing primary key.
This module **improves creating N models to only require 2 roundtrips**, without requiring any other changes to your code.

## Is this for me?
You may find use for this module if:
- You are using SQLAlchemy
- You are using Postgres
- You sometimes need to create several models at once and care about performance

## Usage

```
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy_batch_inserts import enable_batch_inserting

engine = create_engine("postgresql+psycopg2://postgres@localhost", executemany_mode="values")  # SQLAlchemy < 1.3.7 needs use_batch_mode=True instead
Session = sessionmaker(bind=engine)
session = Session()
enable_batch_inserting(session)
```

If you use [Flask-SQLALchemy](https://flask-sqlalchemy.palletsprojects.com/),

```
from flask_sqlalchemy import SignallingSession
from sqlalchemy_batch_inserts import enable_batch_inserting

# Make sure that you've specified executemany_mode or use_batch_mode when creating your engine! Otherwise
# this library will not have any effect.
enable_batch_inserting(SignallingSession)
```

## Acknowledgements

This is all possible thanks to @dvarrazzo's psycopg2 [execute_batch](http://initd.org/psycopg/docs/extras.html#fast-execution-helpers)
and @zzzeek's SQLAlchemy [support for the same](https://docs.sqlalchemy.org/en/13/dialects/postgresql.html#psycopg2-fast-execution-helpers)
and [helpful](https://groups.google.com/forum/#!topic/sqlalchemy/GyAZTThJi2I)
[advice](https://groups.google.com/forum/#!msg/sqlalchemy/l02TH_m1DkU/7PMlF8HzAgAJ) on the mailing list.