semvec/pypi-packages huggingface dataset:
spartaquant 1.0.7
SpartaQuant Python API
Requires Python: >=3.6

# <img src="https://www.spartaquant.com/assets/img/spartaquant/icon-color.png" width="60px" alt="SpartaQuant icon" class="logo-default"> SpartaQuant

This API provides many services you can use as a SpartaQuant developer

SpartaQuant uses API token to allow access to the API outside the application in your favorite IDE

##### Installation

Install the package via pip with code below:

```python
pip install spartaquant
```

To Upgrade:


```python
pip install --upgrade spartaquant
```

##### Authentication

1. First, you must create an account at https://spartaquant.pro/login
2. Retrieve your API token in the profile section
3. Click on Copy access key (to clipboard the access key)
4. Import the spartaquant module
```python
import spartaquant as sq
sq = sq.spartaquant()
```
5. Enter the access key in the prompt box
6. You are logged !


##### Examples	

Some examples to start with the SpartaQuant API:

1. Retrieve the list of available SpartaQuant objects
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.getDataDB()
```

2. Retrieve the list of available SpartaQuant functions
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.getFunctionDB()
```

3. Get a specific object by apiId (find apiId with sq.getDataDB())
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.getData(apiId)
```

4. Run a SpartaQuant function by apiId (find apiId with sq.runFunction())
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.runFunction(apiId, *args)
```

5. Store data into SpartaQuant
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.putData(dataObj, name=None, apiId=None, dateDispo=None)
```

6. Retrieve the list of available XLS SpartaQuant files
```python
import spartaquant as sq
sq = sq.spartaquant()
sq.getXlsDB()
```

7. Create an XLS file in SpartaQuant

```python
import spartaquant as sq
sq = sq.spartaquant()
sq.createXls(nameFile, extension='xlsx')
```
8. Update and XLS file in SpartaQuant

```python
import spartaquant as sq
sq = sq.spartaquant()
sq.putXlsData(xlsId, data_df, sheetName, cellStart='A1')
```


Check out the documentation of the API at https://spartaquant.pro/publicAPI for more information
kriptos-kii 0.1.0
Client for Kriptos Insight Ingestion API
Requires Python: >=3.7

## Kriptos Insight Ingestion Client

Esta librería fue creada para utilizar el servicio de ingestión 
de insights de Kriptos.  El servicio recibe mensajes provenientes de
aplicaciones del ecosistema Kriptos que contienen información para
ser procesada (parsing), evaluada y distribuida según su naturaleza.

### Modo de uso

Para configurar el cliente *kii* instale la dependencia 
correspondiente usando el administrador de paquetes *pip*:

```
python3 -m pip install kriptos-kii 
```

Luego, importe la librería de la siguiente manera:

#### Asynchronously
```
from kii.domain.schemas.payloads import Log
from kii.domain.schemas import Insight, InsightType
from kii.asyn import Client as AioClient 
```

#### Synchronously
```
from kii.domain.schemas.payloads import Log
from kii.domain.schemas import Insight, InsightType
from kii.syn import Client 
```

La primera línea importará la clase Log que podrá utilizar para construir
su payload.  Log es un tipo de payload, pero podrá encontrar más tipos 
disponibles en el módulo **kii.domain.schemas.payloads**.

Para construir un Insight de tipo Log, usted necesitará dos datos: el 
nivel ("info", "warning", "error") y el mensaje.

La segunda línea del anterior fragmento de código corresponde a la 
importación de la clase Insight e Insight Type.  La primera es el objeto
que enviaremos al servicio de ingestión.  La segunda, es una enumeración
que define el tipo de insight con el que estamos trabajando.  
En este caso, trabajaremos con un insight de tipo log.

El siguiente ejemplo muestra la implementación de la librería *kii* en una
función main:

#### Asynchronously
```
async def main():
    log = Log("info", "Insight test message!")
    insight = Insight("7d2d1990-e733-44d2-a092-edec1cf3e2df", InsightType.LOG, log)

    client = await AioClient(api_key="23er231-2333!ss").connect()
    result = await client.write(insight)
    print(result)
```

#### Synchronously
```
def main():
    log = Log("info", "Insight test message!")
    insight = Insight("4d231990-e389-92j3-h904-eujs4lk2f7ow", InsightType.LOG, log)

    client = Client(api_key="23er231-2333!ss").connect()
    result = client.write(insight)
    print(result)
```

El log es de nivel *info*, y tiene su correspondiente mensaje de prueba.  
Luego, parametrizando el *Id de la empresa* a la que pertenece el insight,
el tipo de insight (una opción de la enumeración) y el objeto payload 
(objeto log).

Luego, haciendo una instancia del cliente, debemos parametrizar la API Key
conexión.  Inmediatamente ejecutamos la función *connect* que nos permitirá 
abrir un canal de comunicación persistente con el servicio.

Finalmente, se escribe el insight enviándolo al servicio de ingestión.
Esta última operación devuelve un objeto donde se define el estado del
proceso, si fue exitoso y el mensaje de error en caso de haberse presentado
algún problema en la comunicación con el servicio.
superfluid-finance 0.0.5
A python package for interacting with the superfluid-finance primitive in your application

# Superfluid Python Module

## How to work with the package
You need to have python3 installed on your machine

### Quick start
Open the terminal then run these commands in your terminal.

**1. Install the project**
```
$ pip3 install superfluid_finance
```
**2. set your environment variables**

set your environment variables for the RPC provider

if infura,
```
$ export WEB3_INFURA_PROJECT_ID="aF2hdgfyugwOFGF..."
```
if you use moralis endpoints

```
$ export MORALIS_{CHAIN}_URL="https://morali....."
```
`**eg:** MORALIS_KOVAN_URL`

For Alchemy,
```
$ export ALCHEMY_{CHAIN}_KEY= "ft3s0hDFF#....."
```

if you wish for another provider, open an issue on github and we will try to includ it soonest

**3. Navigate to the python interpreter**
```
$ python3
```
```
Python 3.9.7 (default, Sep 10 2021, 14:59:43) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>|
```
**4. import the package:**
```
>>> 
>>> from superfluid_finance.host import Host
```

Cconfirm the pachage is imported by running these commands.

**NOTE:** ensure you have exported the appropirate environment variables
```
>>> import provider
>>> provider.infura_connect(kovan)
```

### Test the host contract of your chain by running

```
>>> 
>>> ht = Host("kovan", "infura")
>>> ht.get_address()
'0xF0d7d1D47109bA426B9D8A3Cde1941327af1eea3'
```

## Specialized examples

**Working with accounts [accounts](/ACOUNT.md)**

**Connecting to an [RPC Endpoint](/PROVIDE.md)**

**Interacting with The [Factory Contract](/FACTORY.md)**

**Interacting with a [Super Token](/SUPERTOKEN.md)**

**Interacting with The [Host Contract](/HOST.md)**

**Interacting with The [Constant Flow Agreement](/CFA.md)**

**Interacting with The [Instant Distribution Agreement](/IDA.md)**
genignore 0.5.7
Generate gitignore files based on templates provided by github

===========
genignore
===========

Command line tool that generates ``.gitignore`` files using github's collection
of `gitignore templates <https://github.com/github/gitignore>`_.

Features
========

* syncs with https://github.com/github/gitignore
* You can specify a custom output file other than ``.gitignore``
* Merges contents of existing `.gitignore`


Install
=========

::

    pip install --upgrade genignore

Usage
=========

* Get help: ``genignore --help``
* Grab the latest https://github.com/github/gitignore master: ``genignore sync``
* List available templates: ``genignore list``
* Generate .gitignore for python, osx and linux: ``genignore gen python osx linux``
* Generate .gitignore for python, osx and linux, save it as ``.foo``: ``genignore gen python osx linux --out=.foo``
* To add into an existing .gitignore, use ``genignore gen --add jetbrains``
* You can also redirect stdout ``genignore gen python osx linux > .foo``

Bugs/Features
=============

Open a github issue `here <https://github.com/pgk/genignore/issues>`_.


Contributors
============

* `svisser <https://github.com/svisser>`_.