semvec/pypi-packages huggingface dataset:
arxiv-agent 0.0.0
LLM agent to answer questions about arXiv papers

# arXiv agent

## Setup
```
conda create -n arxiv-agent python=3.12
conda activate arxiv-agent
# pytorch packages
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
# huggingface packages
pip install transformers accelerate
```

```
conda env config vars set LANGCHAIN_TRACING_V2="true"
conda env config vars set LANGCHAIN_API_KEY=[...]
```

Install `arxiv_agent` package:
```
conda activate arxiv-agent
conda develop .
```

CodeLLama:


## Design

Prompt:
1. Question
2. Available API calls: you can use the following models
- Specification of what each model does
For now, I'm thinking we can just insert "specific" knowledge into each model via context
- 
3. State

## Data

Small dataset:


Medium dataset:
https://huggingface.co/datasets/natural_questions
tlvisuals 0.0.5
Package for parsing and displaying TLVs(Tag-Length-Values)
Requires Python: >=3.10

# TLVisuals

Takes TLV in the form of UTF8 hex values, interprets the Tags, Lengths and Values, and outputs the interpretation in a more readable format.

2 Commands available:
- tlvparse
- hextoraw

## tlvparse
usage: TLVisuals [-h] [-f FILE] [-o OUT] [-v] [--input-format INPUT_FORMAT] [--output-format OUTPUT_FORMAT]

Prints TLV in a readable format.       Without options, app will read from standard input and assume the format is Hex in ASCII form, and output will be to standard output

options:  
  -h, --help               show this help message and exit  
  -f FILE, --file FILE     Parses input from specified FILE  
  -o OUT, --out OUT        Writes output to specified OUT file  
  -v, --verbose            Outputs more logs
  --input-format INPUT_FORMAT  
                        Specifies input format:
                         -der: input is raw hex
                        otherwise assumed to be ascii hex  
  --output-format OUTPUT_FORMAT  
                        Specifies output format:
                         -interpretation: shows basic TLV flag interpretation  

## hextoraw
usage: tlvisuals hextoraw [-h] [-f FILE] [-o OUT]

Converts ASCII hex input to raw bytes, ignoring whitespaces

options:  
  -h, --help            show this help message and exit  
  -f FILE, --file FILE  Reads input from specified FILE  
  -o OUT, --out OUT     Writes output to specified OUT file  


# Packaging
Delete files in dist/
python3 -m build
twine upload dist/*
aspotify 1.0.0
Asynchronous Spotify API Client
Requires Python: >=3.7

# aspotify: Asynchronous Spotify API Client

aspotify is a package created for asynchronous connection to the Spotify API.

## Installation

```
Dependencies:

- Python 3.7, 3.8, 3.9, 3.11, 3.12
- Redis
- Spotify Account

Installation:

$ pip install aspotify
```

## SHA-256 Hash

To get the SHA-256 Hash from your Spotify account:

1. **Open Your Browser:**
    - Launch your preferred web browser (e.g., Chrome, Firefox).

2. **Open Developer Tools:**
    - Press **`Ctrl+Shift+I`** to open the Developer Tools.

3. **Navigate to Spotify:**
    - In the address bar, go to https://open.spotify.com.

4. **Filter Network Requests:**
    - Within the Developer Tools, go to the "Network" tab.
    - In the "Filter" box, type **`query`** to filter the network requests.

5. **Locate the SHA-256 Hash:**
    - Look through the filtered network requests for URLs containing **`query.`**
    - Click on one of URLs and examine the details in the "Headers" tab.
    - Find and note the SHA-256 Hash from the URL data.

## Environment Variables

```
export SPOTIFY_USERNAME="<your_spotify_username>"
export SPOTIFY_PASSWORD="<your_spotify_password>"
export SPOTIFY_SCOPES="user-read-email,playlist-read-private"

export SPOTIFY_REDIS_HOST="localhost"
export SPOTIFY_REDIS_PORT=6379
export SPOTIFY_REDIS_DB=0

export SPOTIFY_SHA256HASH="<your_sha256_hash>"
```

For more details on Spotify API scopes, visit [Spotify's official documentation on scopes](https://developer.spotify.com/documentation/web-api/concepts/scopes).

## Usage

```python
import asyncio

from aspotify import API


async def main():
    api = API()

    data = await api.request("https://api.spotify.com/v1/tracks/0tgVpDi06FyKpA1z0VMD4v")
    assert data["uri"] == "spotify:track:0tgVpDi06FyKpA1z0VMD4v"

asyncio.run(main())
```