semvec/pypi-packages huggingface dataset:
taxi_clockify 1.5.0
Taxi backend for Clockify
Requires Python: >=3.7

Clockify backend for Taxi
=========================

This is the Clockify backend for `Taxi <https://github.com/sephii/taxi>`_. It
exposes the ``clockify`` protocol to push entries and fetch projects and
activities from Clockify.

Installation
------------

    taxi plugin install clockify

Usage
-----

In your ``.taxirc`` file, use the ``clockify`` protocol for your backend and set
the `token` in the query string. For example::

    [backends]
    clockify = clockify://?token=abcdefghijklmnopqr

If you have multiple workspaces, add the workspace in the URL::

    [backends]
    clockify = clockify://?token=abcdefghijklmnopqr&workspace=ff00acab01

Contributing
------------

To setup a development environment, create a virtual environment and run the
following command in it::

    pip install -e .

To use a specific version of Taxi, eg. if you need to also make changes to Taxi,
install it in the virtual environment in editable mode::

    pip install -e /path/to/taxi
taxi_petzi 1.1.0
Taxi backend for Petzi
Requires Python: >=3.7

# Petzi backend for Taxi

This is the Petzi backend for [Taxi](https://github.com/sephii/taxi). It
exposes the `petzi` protocol to push entries to a Google spreadsheet.

## Installation

``` sh
taxi plugin install petzi
```

## Usage

First you’ll need to generate a credentials file to be able to query the
spreadsheets Google API. To do so, [follow the official
guide](https://developers.google.com/workspace/guides/create-credentials), and
then follow the "Create Desktop application credentials" and download the JSON
file with credentials.

Once you have your JSON file with credentials, open your configuration file
using `taxi config`, and add a backend using the `petzi` protocol for your
backend. Use the path to the credentials JSON file and set the `sheet_id` in the
query string.  For example:

```
[backends]
petzi = petzi:///home/sephi/credentials.json?sheet_id=22324_Xg40_x9iWrERPCeIhBFcfHuTWbzxtjrfwvZIQA
```

## Contributing

To setup a development environment, create a virtual environment and run the
following command in it:

``` sh
python3 -m pip install -e .
```

To use a specific version of Taxi, eg. if you need to also make changes to Taxi,
install it in the virtual environment in editable mode:

``` sh
python3 -m pip install -e /path/to/taxi
```

To run the tests, install the test requirements, and then run the `pytest` command:

``` sh
python3 -m pip install -r requirements_test.txt
pytest
```
scrapperDeribit 0.0.31
Deribit Scrapping Interface
Requires Python: >=3.10
Keywords: data-scrapper deribit crypto

# TODO: make readme

## Installation

Python 3.10 or later. To install run:

```bash
pip install scrapperDeribit
```

## Configuration explained
Each run of DeribitClient will take configuration file as input.

### mysql:

host - mySQL host \
user: mySQL user with write access \
password: mySQL password \
database: mySQL db name \
use_bathes_to_record: unused, will be deprecated soon \
reconnect_max_attempts: number of reconnect try on DB errors \
reconnect_wait_time: time in sec before new reconnect try

### hdf5:
hdf5_database_directory: string with hdf5 storage path

### record_system:
use_batches_to_record: True or False. Unable batch system \
number_of_tmp_tables: number of circular batch tables \
size_of_tmp_batch_table: number of lines in one table \
instrumentNameToIdMapFile: unused, will be deprecated soon \

clean_database_at_startup: True or False CleanUp on start

### user_data:
#### test_net:
client_id: deribit client id

client_secret: deribit client secret
#### production:
client_id: None

client_secret: None

### externalModules:
add_order_manager: True or False \
add_instrument_manager: True or False


### orderBookScrapper:
scrapper_body: right now [OrderBook, Trades, OwnOrderChange, Portfolio] available. You can use only some of them \
depth: order book depth/ Highly recommend to use Union[1, 10, 100] \
test_net: True or False \
currency: BTC or ETH or SOL \
enable_traceback: False # False - default \
enable_database_record: True or False. Enable database record? \
clean_database: False unused, will be deprecated soon \
hearth_beat_time: default 60. connection ping-pong time \ 
group_in_limited_order_book: none (better don't touch) \
raise_error_at_synthetic: True or False. Should scrapper raise error when underlying for maturity is synthetic? \
logger_level: WARN | INFO | ERROR. Logger level. INFO can broke buffer when full surface collecting \
select_all_order_book: True \
only_api_orders_processing: True \
database_daemon: mysql | hdf5

add_extra_instruments: example ['BTC-5MAY23-28000-C', 'BTC-5MAY23-28000-P', 'BTC-PERPETUAL']. List of instruments that should be collected \
use_configuration_to_select_maturities: False used in several scripts with pre-selected configuration about maturities. Will be deprecated soon \
maturities_configuration_path: "Maturities_configuration.yaml" Will be deprecated soon


## Documentation
TODO: add documentation coverage badge

## Testing
TODO: add testing coverage badge

TODO: link to repo with ZeroMQ test server 

## Example (scrapping data)
TODO: add

## Example (make and connect own subscription)
TODO: add

## Example (make and connect own strategy)
TODO: add

## PR Pipeline
TODO: add
PyXCSAO 0.2
Replicates functionality of IRAF XCSAO
Requires Python: >=3.6

# PyXCSAO
Replicates functionality of IRAF XCSAO

To run:

### Import
from pyxcsao.crosscorrelate import PyXCSAO

### Initiates instance:
b=PyXCSAO(st_lambda=5000,end_lambda=10000)

---optional parameters: ncols=8192,low_bin=0,top_low=10,top_nrun=125,nrun=255,bell_window=0.05,minvel=-500,maxvel=500

### Adds Synthetic grid

First time running:
b.add_grid(grid_pickle='phoenix.p',grid_path='phoenix/*0.0/*4.5*.fits',grid_class='phoenix') 

---options: phoenix, phoenixhires, coelho

From a precompiled pickle file:

b.add_grid(grid_pickle='phoenix.p')

### Adds data

b.add_spectrum('file.fits',data_class='boss')

---options: boss,lamost,segue,user

### Run XCSAO and get parameters

print(b.run_XCSAO())

### Optimized for large grids:

print(b.run_XCSAO_optimized())

### Plot CCF:

plt.plot(b.lag,b.best_ccf)

### Example Code
```python
import glob
import pandas as pd
from pyxcsao.crosscorrelate import PyXCSAO
from astropy.table import Table
import time

cat=Table.read('path.fits')

best=[]
b=PyXCSAO(st_lambda=5000,end_lambda=10000)
b.add_grid(grid_pickle='phoenix_full1.p')


batchsize=500
for j in range(0,len(cat),batchsize):
    cat1=cat[j:j+batchsize]
    print(j)
    for i in range(len(cat1)):
        path=cat1['path'][i]
        try:
            b.add_spectrum(path)
            x=b.run_XCSAO_optimized()
            best.append(x.copy())
        except:
            print(path)
            

df = pd.DataFrame(best)
df.to_csv('batch.csv')
```
kecutil 0.0.7
Simple utility functions for KEC's Intro To Programming: Python Course
Keywords: python


## KEC ITP: Python Util Functions

### Functions

> kecutil.reduce(cb(cur, val), list, default)
>
> Reduce is used to *reduce* a list to one value.
> This is commonly useful when finding the longest string for example
>
> ```python
> from kecutil import reduce
>
>
> strings = ["ab", "acb", "abcdef", "abd"]
> longestString = reduce(lambda x, y: x if len(x) > len(y) else y, strings, "")
>
> print(longestString) # "abcdef"
> ```

> kecutil.clearConsole()
>
> Clears the console window

> kecutil.clamp(value: int,length=2)
>
> Clamps a float to have the same number of decimals as the length
> Returns a new float
>
> ```python
> from kecutil import clamp
>
>
> number = 100.12345
> clampedTwo = clamp(number)
> clampedThree = clamp(number, 3)
>
> print(clampedTwo) # 100.12
> print(clampedThree) # 100.123
> print(type(clampedTwo)) # <class 'float'>
> print(type(clampedThree)) # <class 'float'>
> ```
blackjack-amiyuki 0.1.1
Blackjack made with pygame
Requires Python: >=3.10

# blackjack

Blackjack Simulator made with pygame

### Dev Install & Setup

```sh
git clone https://github.com/amiyuki7/blackjack.git
cd blackjack
source setup
```

Dev entrypoint: `python main.py`

### Alternatively...

```sh
pip install blackjack-amiyuki
```

and create a file like so and run it:

```py
# main.py

from blackjack import *
from blackjack.state.loading import Loading

if __name__ == "__main__":
    App(Loading).run()
```