semvec/pypi-packages huggingface dataset:
deribitsimplebot 0.2.3
Class set for the implementation of a simple bot working with the Deribit crypto exchange
Requires Python: >=3.7,<4.0

.. _header-n246:

DeribitSimpleBot
================

| Реализация простого бота для криптобиржи Deribit.\\
| Реализация для websockets JSON-RPC v.2
  (`Документация <https://docs.deribit.com/>`__)

.. _header-n249:

Возможности
-----------

1. Возможность работы с несколькими инструментами одновременно

2. Возобновление работы после остановки

3. Возможность использвоать разные системы хранения ордеров

.. _header-n257:

Алгоримт работы
---------------

1. Робот выставляет ордер #1 на покупку по цене **buy price = current
   price - gap / 2**.

2. | **(a)** Если цена уменьшается до **buy price**, то ордер #1, скорее
     всего, будет исполнен. В этом случае перейти к пункту 3.\\
   | **(b)** Если цена увеличивается до такого значения, что становится
     истинным условие **current price > buy price + gap + gap ignore**,
     то робот должен отменить ордер #1. Далее, вернуться к пункту 1.

3. Робот выставляет ордер #2 на продажу по цене **sell price = current
   price + gap**.

4. | **(a)** Если цена увеличивается до sell price, то ордер #2, скорее
     всего, будет исполнен. В этом случае вернуться к пункту 1.\\
   | **(b)** Если цена уменьшается до такого значения, что становится
     истинным условие **current price < sell price - gap - gap ignore**,
     то робот должен отменить ордер #2. После этого следует вернуться к
     пункту 3.

.. _header-n267:

Рабочий пример
--------------

`Пример
приложение <https://github.com/n-eliseev/deribitsimplebot/tree/master/example-app>`__
(`описание к нему <https://github.com/n-eliseev/deribitsimplebot/>`__)
jiraX 18.0.0
Lib created based on documentaion https://docs.atlassian.com/DAC/rest/jira/6.1.html

# JiraX
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jiraX_SEON&metric=alert_status)](https://sonarcloud.io/dashboard?id=jiraX_SEON)[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jiraX_SEON&metric=coverage)](https://sonarcloud.io/dashboard?id=jiraX_SEON)[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=jiraX_SEON&metric=code_smells)](https://sonarcloud.io/dashboard?id=jiraX_SEON)

## General Information
* **Software**:Jira
* **Author**:Paulo Sérgio dos Santos Júnior
* **Author's e-mail**:paulossjunior@gmail.com
* **Source Repository**: [https://gitlab.com/integration_seon/libs/application/jira](https://gitlab.com/integration_seon/libs/application/jira)  

## Goal
Lib created based on documentaion https://docs.atlassian.com/DAC/rest/jira/6.1.html

## Documentation
The Documentation can be found in this [link](./docs/documentation.md)

## Generate documentation

To create the code documentation:
```bash
pdoc --html --force jiraX/ --output docs

```
### Acess code documentation	

To accesss the documenation, go to folder docs/jiraX and open index.html 

To run documentation server: pdoc jiraX --http localhost:8000 

## Instalation
To install jiraX, run this command in your terminal:

```bash
pip install jiraX
```

## Usage

```python
from jira import JIRA
from pprint import pprint
from jiraX import factories as factory

user = "x@x.com"
apikey = "Apikey"
server =  'https://xyz.atlassian.net/'

project_apl = factory.ProjectFactory(user=user,apikey=apikey,server=server)
issue_apl = factory.IssueFactory(user=user,apikey=apikey,server=server)
comment_apl = factory.CommentFactory(user=user,apikey=apikey,server=server)

projects = project_apl.find_all()

for project in projects:
    pprint ("Project Data:"+project.name)
    issues_in_proj = project_apl.find_issue(project.key)
    for issue in issues_in_proj:
        pprint ("x")
        pprint ("Project Issue:")
        issueX = issue_apl.find_by_id(issue.id)
        pprint (issueX.fields.summary)
        pprint (issueX.fields.issuetype.name)
        pprint (issueX.fields.creator.accountId)
        pprint (issueX.fields.creator.displayName)
        pprint (issueX.fields.creator.emailAddress)


        comments = comment_apl.find_by_issue(issueX)
        pprint ("Comments:")
        for comment in comments:
            pprint ("Comment: "+str(comment.id))
            pprint (comment.body)
            pprint (comment.created)
            pprint (comment.author.displayName)
            pprint (comment.author.emailAddress)
```

## Copyright
This lib was PowerRight by [SEON Application Lib Generator](https://gitlab.com/mdd_seon/application)
ircbgp 0.0.1
Proof of concept implementation for an IRC bot to simulate bgp with students.
Requires Python: >=3.5

# ircbgp

Small script to simulate bgp with students using IRC.


# What is needed

You need to design a topology and for each link between two ASes create an irc channel on a irc server.
You can now assign AS numbers to students and let them either interact with this bot and/or each other.

Kudos to Tobias Fiebig, who used this concept in a lecture and gave the inspiration to write a bot for
this.


# Why?

Just a proof of concept, however, the bot could already be useful to replace participants leaving the
lecture early.

# Usage

Use screen to start multiple bots in parallel or use separate terminals:

```
   $ screen ircbgpbot Florian 1 '#as1-as2'
   $ screen ircbgpbot Claudia 2 '#as1-as2,#as2-as3'
   $ screen ircbgpbot Tobias  3 '#as2-as3'
```

This would start three bots connecting to a irc server running on localhost, names Florian, Claudia and Tobias.
All three will start announcing their nickname and AS number (1-3) to the channels listed as last parameters.

Received announcements will then be forwarded to all other channels and the own AS-number appended(!) to the aspath.

Note: We are of course NOT implementing the whole BGP protocol and do not support things like withdrawals.

# Testing convergence

The command msg:nickname:Text message can be used to send a message to the nickname given, if it was announced
by somebody in the 'network'. Bots will print the message as debugging output.
Pyrandomorg 0.0.2
Simple Asynchronous Python Library For Random.org API
Requires Python: >=3.8

Simple Asynchronous Python Library For Random.org API
===============

Hello, thanks for choosing my library to work with the [random.org](http://api.random.org) API

[Aiohttp](https://github.com/aio-libs/aiohttp) was used as a web client

INSTALLATION
------------

`pip3 install Pyrandomorg`

REQUIREMENTS
-----------

```
python<=3.8
aiohttp<=3.7.3
```

EXAMPLES
---------
```
import asyncio

from pyrandomorg import Pyrandomorg  # import Library

randomorg = Pyrandomorg('<Random.org token here>')


async def main():
    print(await randomorg.GenerateIntegers(1, 2, 3))
    print(await randomorg.GenerateStrings(6, 4, "dfsfdsfsdfsdggfdsgdfgdf"))
    print(await randomorg.GenerateIntegerSequences(60, 20, 1, 10))


loop = asyncio.get_event_loop()
app = loop.run_until_complete(main())
```

MORE DETAILS
------------
[Random.org API](https://api.random.org/json-rpc/4/basic)
Dynamical-Networks 0.0.1
A package for dynamical networks simulations and analysis.
Requires Python: >=3.6

# Complex Network Representations for Coupled Dynamical Systems: Dynamical Networks

This repository holds the Python code for analyzing and creating complex network representations of coupled dynamical systems.

<p align="center">
  <img src="sphinx/source/MS_network_gif.gif" width="400">
</p> <em>Example coupled dynamical system represented using a complex network with each node as a state variable's dynamics and edges weighted between coupled variables.</em>
statok 1.0.0
A simple module to get statistics of a tiktok account

# Statstok
<center> A simple python script that scrapes tiktok account's likes and followers using bs4 and requests </center>

## Functions

```get_followers(username)``` will return the username's follower count


```get_likes(username)``` will return the username's total like count

## Dependancies

Statstok depends on `bs4` and `requests`

## Installation

To install and add this to your project, simply clone foo `statstok.py` bar into the directory of your project 

Make sure to add `from statstok import get_followers` or `from statstok import get_likes` before you start using statstok

### Examples

Discord Bot

``` python
import discord
from discord.ext import commands
from statstok import get_followers

bot = commands.Bot(command_prefix="!")

@bot.command()
async def followers(ctx, username):
    await ctx.send(f"That user has {get_followers(username)} followers")

bot.run("TOKEN")
```


## Help and Support

If you need help with Statstok, you can either <a href="discord.gg/MwmnXNsjsj"> join the discord </a> or submit an issue request
leanix-py 0.0.8
Functionality to support the development with LeanIX REST APIs

# LeanIX Python Library


## Forked from leanix-public/leanix-python-library

Currently very basic functionality.

LeanIX Class will do your authentication and token management.  It will return an object with a number of subclasses:

#graph: A class for managing GraphQL stuff.
```
-execGraphQL(query,variables) - Executes GraphQL, returns raw HTTP Response object
-execGraphQLParsed(query,variables) - same as above, but returns a dict with the JSON of the response parsed out
-execGraphQLTrimmed(query,variables) - Same, as parsed, but removes the superfluous "edge" and "node" levels in the dict
```
#factsheets: A class for working with factsheets
```
-create(name*,fstype*,attributes,validateOnly)-creates a factsheet. Attributes is a dict with key/value pairs for attribs like "/alias":"Alias to add". validateOnly defaults to "false", but you can send a create to only test.
-update(fsid*,attributes*,comment*,validateOnly)
-delete(fsid*,comment*,validateOnly)
-deleteByNameAndType(name*,fstype*,comment*,validateOnly)
-getByContainsName(name*) - Returns multiple factsheets that conain the string in name
-getFactSheetByNameAndType(name*,fstype*) - returns a dict with Factsheet info by name and type - exact match only
-getIdByNameAndType(name*,fstype*) - returns a single id as a string from query
-getAllByType(fstype*) - returns all factsheets of a specific type
```

#users:  A class for working with users
```
getUsers:  Gets all users into a list
getUsersEmail:  Gets all users into a dict with a key of the user's e-mail address
getUserByEmail: Gets a single user based on e-mail
getUsersID:  Gets all users into a dict with a key of the user's Account ID (GUID)
getUserByID: Gets a single user by ID
setRole:  Sets a user's role by e-mail. Roles are ADMIN,MEMBER,VIEWER, and CONTACT

```
TODO:
------
LOTS!

Useage
------
```
from LeanIX import LeanIX  

lix = LeanIX(api_token=api_token,workspaceid=workspaceid,baseurl=baseurl)  

# There are three functions available to execute GraphQL against the LeanIX endpoint.   
raw = lix.graph.execGraphQL(<query>,<vars>)  # Returns the raw HTTP Response object for you to interpret  
parsed = lix.graph.execGraphQLParsed(<query>,<vars>) # Reads the response JSON and returns a dict  
trimmed = lix.graph.execGraphQLTrimmed(<query>,<vars>) # Takes the "parsed" output and remives the "edges" and "nodes" levesl from the dict  
```