semvec/pypi-packages huggingface dataset:
meeshkan-hosted-db 0.2
Utility package to access a Cloud SQL database on meeshkan.io
License: MIT


# meeshkan-hosted-db
Utility python package to access a [Cloud SQL for PostgreSQL](https://cloud.google.com/sql/docs/postgres) database using [psycopg2](https://www.psycopg.org/) on [meeshkan.io](https://meeshkan.io).

```python
from meeshkan_hosted_db import connect_to_db

with connect_to_db() as db:
    with db.cursor() as cursor:
        cursor.execute("SELECT NOW() as now;")
        result = cursor.fetchall()
    current_time = result[0][0]
```
jcalg1 1.0.4
Interface to the JCALG1 compression library
License: MIT

# JCALG1

A python module to interface with Jeremy Collake's [JCALG1](https://github.com/jeremycollake/jcalg1) compression algorithm.

## Getting started

### Installation

Clone the github repo

```
git clone https://github.com/CallMeAlexO/jcalg1.git
cd jcalg1
```

Then just install

```
python setup.py install
```

### Usage

I planned to make JCALG1 as similar as possible to zlib, for consistancy. 
There are two functions: `compress` and `decompress`. 

```python
import jcalg1

text = """
Mary had a little lamb,
Little lamb, little lamb,
Mary had a little lamb
Whose fleece was white as snow.

And everywhere that Mary went,
Mary went, Mary went,
Everywhere that Mary went
The lamb was sure to go.""".encode('utf-8')

compressed = jcalg1.compress(text, level=9, skip_checksum=False)
decompressed = jcalg1.decompress(compressed)

print(decompressed == text)
```

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments

* The algorithm's original author - Jeremy Collake, who gave me permission to share this on github. Thank you Jeremy!
pys3landsat 0.2.4
Download Landsat 8 images from Amazon S3
License: MIT
Keywords: Landsat,Amazon,S3

# pyamazonlandsat


## Installation

To install you can use pypi:

```
$ pip install pys3landsat
````

or if you want to build and install from source:

```
$ git clone https://github.com/eamanu/pyamazonlandsat.git
$ python setup.py build
$ python setup.py install
```

## Usage

To use you must be know the name of the product to download

And just run the command:

```
$ pys3landsat -n LC08_L1TP_231080_20200128_20200210_01_T1 -o ~/download_products

```

For information of the parameters you could run –help

```
$ pys3landsat --help
usage: pys3landsat [-h] [-n NAME] [-o OUTPUT]

Download Landsat 8 images from Amazon S3

optional arguments:
  -h, --help            show this help message and exit
  -n NAME, --name NAME  Name of the product to download.
  -o OUTPUT, --output OUTPUT
                        Output path to the product.

````

# Contribution

Whole contributions are welcome, please feel free to send a PR or issue.