semvec/pypi-packages huggingface dataset:
py3curl 1.1.3
将请求对象转换为curl命令字符串

将 python 的 requests 代码转换成 curl 命令

# 安装

```python
pip install py3curl
```

# 使用

```python
import requests
import py3curl

req = requests.get('https://tendcode.com')
result = py3curl.request_to_curl(req.request)
print(result)
### curl -k -v -X GET -H "Accept: */*" -H "Accept-Encoding: gzip, deflate" -H "Connection: keep-alive" -H "User-Agent: python-requests/2.19.1" https://tendcode.com/
```
pacer-builder 0.3.1
Asynchronous backend crawler framework
Requires Python: >=3.7,<4.0

# Asynchronous Backend Framework

## Initial code pull and local environment deployment:
- git clone https://github.com/YSH0313/pacer.git
- Change the MYSQL address in settings.py to your own.

## Operating environment
- Python3.7.2 and above
- Install dependencies in requirements.txt

## Usage
- Use the pacer -p <project_name> command to create a project.
- Use production.py to create an app.
- The application directory contains the created app project.
- Write view functions in the created app.
- The urls.py under the app project is used to store corresponding views and routes.

## Start the service
- Execute runner.py to start the service.

## Start the service in production environment
- Docker can be used to start or other methods, docker startup is recommended.
- You can execute docker-compose up -d in the project root directory.
- The service can be restarted directly by executing reload_server.sh.
- Dockerfile and docker-compose.yml parameters can be adjusted as needed.
quetz-client 0.5.0
A Python client to interact with a Quetz server.
Requires Python: >=3.8

# quetz-client

A Python client to interact with a Quetz server. This client is compatible with all `quetz` versions listed [here](./.quetz-server-versions).

## Installation

### From conda-forge

```bash
mamba install quetz-client
```

### From this repo

You can install the package in development mode using:

```bash
git clone git@github.com:mamba-org/quetz-client.git
cd quetz-client

# create and activate a fresh environment named quetz-client
# see environment.yml for details
mamba env create
conda activate quetz-client

pre-commit install
pip install --no-build-isolation -e .
```

## Usage

### Python Client

```py
from quetz_client import QuetzClient

url = ""  # URL to your Quetz server
token = ""  # API token for your Quetz server

client = QuetzClient.from_token(url, token)

for channel in client.yield_channels():
    print(channel)
```

### CLI Client

```sh
export QUETZ_SERVER_URL=""  # URL to your Quetz server
export QUETZ_API_KEY=""  # API token for your Quetz server

quetz-client --help
```
fir-api-cli 0.4.4
Package for exploring and downloading data from the FIR API service.
Requires Python: >=3.8

# FIR API CLI

FIR API CLI is a command line interface tool for exploring and downloading
Sentinel satellite images from the FIR API service.

The tool can be used to explore and download dataset based on product 
id or metadata filtering.

In order to use the package, users must have a
valid FIR eFöld registration.

More information at: https://efold.gov.hu/

## Installation

```bash
pip install fir-api-cli
```


## Usage

Get some help:

```bash
fir-cli --help
```

Save username and password to config file (if executed, no need to support username and password to commands):

```bash
fir-cli config <username> <password>
```

Get information about individual product based on product id:

```bash
fir-cli -u <username> -pw <password> query-id -i <product_id>
```

Download individual product based on product id:

```bash
fir-cli -u <username> -pw <password> query-id -i <product_id> -d <path/to/folder>
```

Get information about products based on query:

```bash
fir-cli -u <username> -pw <password> query -p Sentinel-2 -dt 2021-01-01 2021-01-05 -c 1
```

Download products based on query and save product list to csv:

```bash
fir-cli -u <username> -pw <password> query -p Sentinel-2 -dt 2021-01-01 2021-01-05 -c 1 -d <path/to/folder> -o <path/to/csv_file.csv>
```
*Note: username and password can be automatically supplied by setting the FIR_API_USERNAME and FIR_API_PASSWORD environment variables or by running the config command.*