semvec/pypi-packages huggingface dataset:
summarize-requirements 0.0.1
Annotate your requirements.txt file with a short summary of each package.

# Summarize Requirements 🐍 📜

Annotate your Python `requirements.txt` file with a short summary of each package.

This tool:

- takes a Python `requirements.txt` file as input
- fetches the summary of each package from the PyPi registry
- outputs an equivalent requirements list with added comments summarizing each package

It can be used as a Python module or a command line script.

## Example

Before:

```
black==21.9b0
gunicorn==20.1.0
pytz==2021.3
requests==2.26.0
rope==0.20.1
whitenoise==5.3.0
```

After:

```
black==21.9b0                            # The uncompromising code formatter.
gunicorn==20.1.0                         # WSGI HTTP Server for UNIX
pytz==2021.3                             # World timezone definitions, modern and historical
requests==2.26.0                         # Python HTTP for Humans.
rope==0.20.1                             # a python refactoring library...
whitenoise==5.3.0                        # Radically simplified static file serving for WSGI applications
```

## Installation

Note: This is not a published package yet. For now:

```sh
git clone https://github.com/zeke/summarize-requirements
cd summarize-requirements
```

## Command Line Usage

The CLI reads a requirements file as input and prints summarized results as output. It does not overwrite the existing file.

If you run the command with no arguments, it'll look for `requirements.txt` in the current directory:

```sh
python index.py
```

Or you can specify a different file:

```sh
python index.py ~/path/to/your/requirements.txt > new-requirements.txt
```

## Programmatic Usage

```py
from summarize import summarize

for line in summarize('requirements.txt'):
    print(line)
```
postgis-assist 0.0.3
Package for Postgis query using python
Requires Python: >=3.6
Keywords: postgresql,postgres,database,sql,api,table,pg,postGIS

# Postgis Assist

The `postgis-assist` library is build on top of [`psycopg2`](https://github.com/psycopg/psycopg2/). It will be really helpful for running the basic postgresql and postgis query in python.

Checkout the official documentation of this library here: [postgis-assist.readthedocs.io/](https://postgis-assist.readthedocs.io/)

### Installation

For installation of `postgis-assist`, you need to run following command

```shell
pip install postgis-assist
```

### Examples using this library

Please check the official documentation here: [https://postgis-assist.readthedocs.io/](https://postgis-assist.readthedocs.io/).

```python
#Library import
from postgis.pgis import pgis

# Initialization of library
db = pgis(dbname='pgtest', user='postgres', password='admin', host='localhost', port='5432')

# Run any query
db.run_query('SELECT * FROM pg_catalog.pg_tables')

# Create schema
db.create_schema(schema_name='schema_name')

# Delete schema
db.delete_schema(schema_name='schema_name')

# Create Table
db.create_table(table_name='table_name', schema_name='schema_name', columns='id serial PRIMARY KEY, name varchar(50)')

# Get geometry as geojson
db.vector_geojson(schema_name='schema_name', table_name='table_name')

# Upload vector file to database
db.load_vector(vector_path, schema_name="public", table_name="vector")

```