semvec/pypi-packages huggingface dataset:
PyGptRes 2.0
PyGptRes is a Python module for interacting with OpenAI's GPT-3.5 Turbo API to create natural language conversations with cutting-edge language models.


# PyGptRes

`PyGptRes` is a Python module for interacting with OpenAI's GPT-3.5 Turbo API to create natural language conversations with cutting-edge language models.

## Usage

Here's how to use this module in your Python code:

```python
from pygpt import PyGpt

if  __name__  ==  "__main__":

pygpt =  PyGpt()
pygpt.login("ACCESS TOKEN")
pygpt.init()

pygpt.send("Hello?")
```

Be sure to initialize your `PyGptRes` instance by first calling the `login` method with your access token and then calling `init` to configure the necessary URL and headers.

## Example Usage

Here's a simple example of using `PyGptRes` to send a message to the GPT-3.5 Turbo API:

```python
# Initialize PyGptRes
pygpt = PyGptRes()
pygpt.login("YOUR_ACCESS_TOKEN")
pygpt.init()
```

# ChatBot
```python
from pygptres import PyGptRes

pygpt = PyGptRes()

pygpt.login("ACCESS_KEY")
pygpt.init()

conversation = []

while True:
    user_input = input("You: ")

    if user_input == "quit":
        break
    
    response = pygpt.send(user_input)

    content = response['choices'][0]['message']['content']

    print(content, end='', flush=True)
    print("")

    conversation.append({"role": "assistant", "content": content})

```

# Send a message to the API
```python
response = pygpt.send("Hello, how are you?")
```

# Process the API response
```python
print(response) 
```

Make sure to replace `"YOUR_ACCESS_TOKEN"` with your actual access token.

## License

This project is licensed under the MIT License.
eds-tools 0.1.0
EDSTools: designed to combined variant calls from peaked data with the reference genome. Returns the genomic sequence of the allele most present in the peak.
Requires Python: >=3.9.10

# EDSTools -- EvolvedDevelopmentSequenceTools

BEDTools style repository for passing VCF/BED files.

Designed to combined variant calls from peaked data with the reference genome. Returns the genomic sequence of the allele most present in the peak.

Example Usage:

```
import eds_tools

py_eds_tool = eds_tools.EdsTool("/<path>/analysis_regions.txt")

py_eds_tool = py_eds_tool.sequence(
    fi= "/<path>/genome.fa",
    vcf="/<path>/gatk-snp-indel.vcf.gz"
)
sequences = py_eds_tool.sequences
```

To run the unittests please run:

```
cd eds_tools
python -m unittest discover
```