semvec/pypi-packages huggingface dataset:
gisflu 0.1.10
Access the GISAID Flu database using Python
License: MIT
Requires Python: >=3.10

# gisflu

Access the GISAID Flu database using Python. Inspired by [GISAIDR](https://github.com/Wytamma/GISAIDR/tree/master), which is an R package for accessing the EpiCoV, EpiRSV and EpiPox database of GISAID.

## install

```sh
# use pip
pip install gisflu
# use pdm
pdm add gisflu
```

## login

```python
import gisflu

# login with provided username and password
cred = gisflu.login("myusername", "mypassword")

# login using environment variables
cred = gisflu.login()
```

If use environment variables to login, you should export `GISFLU_USERNAME` and `GISFLU_PASSWORD` in your environment, or save them as a `.env` file in the current working directory.

## search

```python
cred = gisflu.login()
gisflu.search(cred, type=["A"], HA=["3"], NA=["2"],
    collectDateFrom="2020-01-01", recordLimit=10)
```

## download

```python
cred = gisflu.login()
isolateIds = ["EPI_ISL_19185107", "EPI_ISL_19151100"]
gisflu.download(cred, isolateIds, downloadType="protein", segments=["HA", "NA"],
    filename="records.fasta")
```

## verbose output

```python
gisflu.log()
```

This function will activate detailed console logging
snek-sploit 0.8.6
Python RPC client for Metasploit Framework
License: MIT
Requires Python: <4.0,>=3.8
Keywords: metasploit, msf, rpc, client

# snek-sploit
Python typed RPC client for Metasploit Framework.

![](logo.png)

## Installation

```shell
pip install snek-sploit
```

## Usage

```python
from snek_sploit import MetasploitClient


if __name__ == '__main__':
    client = MetasploitClient("msf", "root")
    print(client.core.rpc.version())

```

Examples can be found in the *[examples](https://github.com/SadParad1se/snek-sploit/tree/master/examples)* directory.

## Starting MSF RPC server
In Metasploit console:
```shell
load msgrpc ServerHost=127.0.0.1 ServerPort=55553 User=msf Pass='root' SSL=true
```

In shell:
```shell
msfrpcd -U msf -P root
```

With [Docker](https://docs.docker.com/engine/install/):
```shell
docker run --tty --network host --detach sadparad1se/metasploit-framework:rpc
```

With [Docker Compose](https://docs.docker.com/compose/install/):
```shell
git clone https://github.com/SadParad1se/snek-sploit.git
cd snek-sploit
docker compose up -d
```

You can find more information in the [Metasploit Framework documentation](https://docs.rapid7.com/metasploit/rpc-api/).

### Using the MSF RPC certificate
MSF RPC loads the SSL certificate by default from `/root/.msf4/msf-ws-cert.pem` (use the `-c` flag to choose a different location). If not, generate it as mentioned [here](https://github.com/rapid7/metasploit-framework/issues/15569#issuecomment-901158008).

To use it in the client, save it locally and pass the path:
```python
from snek_sploit import MetasploitClient


MetasploitClient("msf", "root", certificate="/path/to/cert.pem")

```