semvec/pypi-packages huggingface dataset:
alphatools-jv 3.4.1
Wrapper over angel broking smartapi to read cached options market data

# About project
A small wrapper over smartapi to backtest basic trading strategies. 
Easy installation and usage

# Installation
```
pip install alphatools_jv
```

# Usage
## Creating and running a strategy
```python
from alphatools.backtesting_app import BackTestingApp
from datetime import datetime

class TestSmartApiApp(BackTestingApp):

    def on_md(self, data_row):
        # your strat code goes here
        print("New row found: {}".format(data_row))


app = TestSmartApiApp('/Users/jaskiratsingh/projects/smart-api-creds.ini')
app.set_start_date(datetime.strptime('2022-12-20 11:39:00+05:30', '%Y-%m-%d %H:%M:%S%z'))
app.set_end_date(datetime.strptime('2022-12-29 11:39:00+05:30', '%Y-%m-%d %H:%M:%S%z'))
app.set_interval('ONE_MINUTE')
app.add_instrument(53825, "NFO")
app.add_instrument(48756, "NFO")
app.load_data()                     # Loads the data into a dataframe
app.get_candle_info_df()            # Returns the entire simulation dataframe
app.simulate()                      # Starts simulation from the beginning

# To place a trade, use trade api to send the orders to the pnl calculator. 
# Pnl calculator uses last tick prices to calculate the observed Pnl
app.trade(53825, 1)     # Buys 1 unit for token 53825
app.trade(53825, -3)    # Sells 3 units for token 53825
app.get_total_pnl()     # Returns pnl after all trades are made
```

## Helper for instruments
```python
from alphatools.utils.token_manager import TokenManager

tok = TokenManager()

# Refer documentation for more overrides
info = tok.get_instrument(53825) # Returns instrument info
info = tok.get_instrument('NIFTY23FEB23FUT') # Returns instrument info
```
x11-automation 0.3.6
X11-Automation
Requires Python: >=3.6

# x11-automation

Module for x11 automation
## Prerequisites

	- Python3.5 or newer

## Installion
$ python3 -m pip install x11_automation<br /><br />
**OR**<br /><br />
$ python3 -m pip install git+https://github.com/jok4r/x11_automation.git

## Usage
Will be later
MIT License

Copyright (c) 2021 Dmitry Yakovlev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
pgn2neo4j 0.0.2
Convert chess games (PGN:s) to a Neo4j database
Requires Python: >=3.6

# pgn2neo4j
Convert a series of chess games in a PGN file to a Neo4j database.

The database contains Position nodes representing a board position, and Move relationships representing a move from one position to another.

Each Position node has a fen property containing the FEN representation of the position. Additionally, each node contains the following properties:
* whiteWins: the number of games won by white from this position
* blackWins: the number of games won by black from this position
* gamesPlayed: the total number of games played from this position
eia-client 0.4.1
EIA Open Data API Python Client
Requires Python: >=3.7

# EIA Open Data API Python Client Package

This is an unofficial http client in python for the [U.S. Energy Information Administration (EIA) Open Data API](https://www.eia.gov/opendata/). It has minimal functionality and is under development. Please use it at your own risk.

The API is vast and the quickest way to get an understanding for the endpoints is to use the [online browser](https://www.eia.gov/opendata/browser/).


## Installation

You can install the package from pypi. It is recommended to install it in a virtual environment.

``` bash

$ pip install eia-client

```

## Example

Below is a quick example showing how to submit a request to the
"total energy monthly" API endpoint for electricity net generation total
endpoint.

``` python

import eia_client as ec

endpoint = ec.endpoint.TotalEnergy(msn="ELETPUS")

client = ec.Client()
resp = client.get(endpoint.build())

df = ec.parse.as_dataframe(resp)
print(df.head())

df.to_csv("eia_data.csv")

```

You can view an extended version of this example and others in `examples/Quickstart_tminTutorial.ipynb`.


## API Key

Go to the [EIA Open Data API site](https://www.eia.gov/opendata/) and create, then downlaod an API key.

The package assumes the API Key for EIA is stored in your home directory as `~/.eia.config` (text) or an environment
variable called EIA_API_KEY.

*WARNING* Don't spam the API, there is nothing in the code to protect you from going over any rate limits; save the data and request as you need.


## Feature pipeline

- Endpoint query functionality to allow the user to discover endpoints.

- Walking endpoints without breaching rate limits.

- Backend adapters.

- Publish sphinx docs.

- Add more endpoints.

- Github workflow.
trstemmer 1.0.0
A simple Turkish stemmer
Requires Python: >3.9.13
Keywords: stemmer,machine learning,nlp

trstemmer is a simple Turkish word stemmer which is still in development (for now, it can only stem verbs and may not be accurate.). You should download Turkish NLP model (`pip install https://huggingface.co/turkish-nlp-suite/tr_core_news_lg/resolve/main/tr_core_news_lg-any-py3-none-any.whl`) before using the library. You can use the library as following:
```
from trstemmer import turkish
stemmer = turkish.stemmer()
result = stemmer.stem("seviyorum, yapmÄ±ÅŸÄ±m, koÅŸarlar, yemiÅŸsin")
print(f"Result: {result}")
>>> Result: sev yap koÅŸ ye
```
pysid 0.1.1
System Identification tools for python
Requires Python: >=3.6

# pysid

This is a python System Identification package, based on numpy and scipy, that
provides some tools for parametric identification of causal linear time-invariant systems.

## Supported methods

Here are the list of the implemented methods
- Least Squares
- Instrumental Variables
- Prediction Error method

## Dependencies

Currently, this package is based on numpy. For this reason, the basic package dependencies are:

- Numpy
- Scipy

## Installation

```pip install pysid```
panel-com-g2 0.2
Panel controller rewrite for Reiser's Generation 2 Panels.

[![Downloads](https://pepy.tech/badge/panel_com)](https://pepy.tech/project/panel_com)
[![Supported Versions](https://img.shields.io/pypi/pyversions/panel_com.svg)](https://pypi.org/project/panel_com)

# panel_com_g2

panel_com provides a serial port interface to Michael Reiser's Panel Generation 2 controllers, first adapted from the MATLAB `Panel_com.m` script.

## Installation and Setup
Install the package using the following command:
```
python -m pip install panel_com_g2
```

To update the package, use the following command:
```
python -m pip install panel_com_g2 --upgrade
```