semvec/pypi-packages huggingface dataset:
mongo-api-chopin 0.0.1
A database api for inserting and searching based on mongdb
Requires Python: >=3.6

# A database api for inserting and searching based on mongdb

A mongo database api for storing vids, tags and searching targets.

The current version supports two keys, e.g. key1, key2

The environment is on 9.25.181.135

Usage:

First install the mongo_api

```
pip install mongo_api_chopin

pip install pymongo
```

Test

```
python test_api.py
```
pycoinpayments 1.0.0
Coinpayments SDK for python
Keywords: wrapper,sdk,coinpayments,coinpayments-sdk,coinpayments-api-wrapper

# pycoinpayments
================================

Overview
--------
Python API client for the `CoinPayments <https://www.coinpayments.net>`

Note: This is not the official python client for the Coinpayments API

Documentation
-------------

Please see https://www.coinpayments.net/api.php for the most up-to-date documentation for the Paystack API.

# Installation

pip install pycoinpayments

# Example
You can take a look at the `sample.py` file provided in the repo.

A basic usage would be:
```python
from pycoinpayments import CoinPayments

create_transaction_params = {
    'amount': 10,
    'currency1': 'USDT.BEP20',
    'currency2': 'USDT.BEP20',
    'buyer_email': 'confiyobo@gmail.com'
}
cp = CoinPayments(
    'PrivateKey',
    'PublicKey')

transaction = cp.create_transaction(create_transaction_params)

if transaction['error'] == 'ok':
    print(transaction['amount'])
    print(transaction['address'])
else:
    print(transaction['error'])
```
pie-python-bitcoinrpc 2.0
Enhanced version of python-jsonrpc for use with Bitcoin

=================
pie-python-bitcoinrpc
=================

AuthServiceProxy is an improved version of python-jsonrpc.

It includes the following generic improvements:

* HTTP connections persist for the life of the AuthServiceProxy object
* sends protocol 'version', per JSON-RPC 1.1
* sends proper, incrementing 'id'
* uses standard Python json lib
* can optionally log all RPC calls and results
* JSON-2.0 batch support

It also includes the following bitcoin-specific details:

* sends Basic HTTP authentication headers
* parses all JSON numbers that look like floats as Decimal,
  and serializes Decimal values to JSON-RPC connections.

Installation
============

1. change the first line of setup.py to point to the directory of your installation of python 2.*
2. run setup.py

Note: This will only install bitcoinrpc. If you also want to install jsonrpc to preserve 
backwards compatibility, you have to replace 'bitcoinrpc' with 'jsonrpc' in setup.py and run it again.

Or simply install the library using pip::

    pip install pie-python-bitcoinrpc

Example
=======
.. code:: python

    from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException

    # rpc_user and rpc_password are set in the bitcoin.conf file
    rpc_connection = AuthServiceProxy("http://%s:%s@127.0.0.1:8332"%(rpc_user, rpc_password))
    best_block_hash = rpc_connection.getbestblockhash()
    print(rpc_connection.getblock(best_block_hash))

    # batch support : print timestamps of blocks 0 to 99 in 2 RPC round-trips:
    commands = [ [ "getblockhash", height] for height in range(100) ]
    block_hashes = rpc_connection.batch_(commands)
    blocks = rpc_connection.batch_([ [ "getblock", h ] for h in block_hashes ])
    block_times = [ block["time"] for block in blocks ]
    print(block_times)

Logging all RPC calls to stderr
===============================
.. code:: python

    from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
    import logging

    logging.basicConfig()
    logging.getLogger("BitcoinRPC").setLevel(logging.DEBUG)

    rpc_connection = AuthServiceProxy("http://%s:%s@127.0.0.1:8332"%(rpc_user, rpc_password))
    print(rpc_connection.getinfo())

Produces output on stderr like

    DEBUG:BitcoinRPC:-1-> getinfo []
    DEBUG:BitcoinRPC:<-1- {"connections": 8, ...etc }

Socket timeouts under heavy load
================================
Pass the timeout argument to prevent "socket timed out" exceptions:

.. code:: python

    rpc_connection = AuthServiceProxy(
        "http://%s:%s@%s:%s"%(rpc_user, rpc_password, rpc_host, rpc_port),
        timeout=120)
calculator-pkg-WHITENIGHT 0.0.1
A small calculator api for Python
Requires Python: >=3.6

# Calculator API for Python
By White Night


# QuickStart
```python
>>> from calculator import Calculator
>>> c = Calculator()
>>> print(c.run("1+8(5^2)"))
201
>>> print(c.run("9Ans"))
1809
```

## You can use:
- sin / asin / sinh
- cos / acos / cosh
- tan / atan / tanh
- ln / log
- × / •
- ^ / ** / power
- √ / sqrt
- π / pi
- %
- ÷
- Ans
bokeh-root-cmd 0.1.2
Command line wrapper to run a Bokeh script/folder at the root URL
Requires Python: >=3.6

# bokeh-root-cmd

Command line wrapper to run one or more named Bokeh/Panel scripts/folders as root URL.

This project is used in [ContainDS Dashboards](https://github.com/ideonate/cdsdashboards), which is a user-friendly
way to launch Jupyter notebooks as shareable dashboards inside JupyterHub. Also works with Bokeh, Dash, Panel, Streamlit and other visualization frameworks.

The published PyPI/Conda packages DO NOT bring in Bokeh or Panel as explicit dependencies, so you may 
need to install those separately in your environment.

## Install and Run

Install using pip.

```bash
pip install bokeh-root-cmd
```

The file to start is specified on the command line, for example:

```bash
bokeh-root-cmd ~/Dev/mybokehscript.py
```

By default the server will listen on port 8888. To specify a different **port**, use the --port flag.

```bash
bokeh-root-cmd --port=8888 ~/Dev/mybokehscript.py
```

To use the Panel server use the --server flag.

```bash
bokeh-root-cmd --server=panel ~/Dev/mybokehscript.py
```

To run directly in python: `python -m bokeh_root_cmd.main <rest of command line>`

## Other command line args

--allow-websocket-origin

--debug

--ip

## Tests

In order to be able to test manually you would need to `pip install panel pytest`. This will also install bokeh.

### Automated Tests

```bash
pytest tests.py
```

### Single File on Bokeh Server

Run `bokeh-root-cmd test_apps/test_bokeh_hello.py` and verify the app is running at `http://localhost:8888`.

### Single File on Panel Server

Run `bokeh-root-cmd --server=panel test_apps/test_panel_hello.py` and verify the app is running at `http://localhost:8888`.

### Multiple Files on Bokeh Server

Run `bokeh-root-cmd test_apps/*.py` and verify the app index is running at `http://localhost:8888` and test apps at `http://localhost:8888/test_bokeh_hello` and `http://localhost:8888/test_panel_hello`.

### Multiple Files on Panel Server

Run `bokeh-root-cmd --server=panel test_apps/*.py` and verify the app index is running at `http://localhost:8888` and test apps at `http://localhost:8888/test_bokeh_hello` and `http://localhost:8888/test_panel_hello`. Note that no `ready-check' app is included in the index list.

You can also specify them individually

Run `bokeh-root-cmd --server=panel test_apps/test_bokeh_hello.py test_apps/test_panel_hello.py` and verify the app index is running at `http://localhost:8888` and test apps at `http://localhost:8888/test_bokeh_hello` and `http://localhost:8888/test_panel_hello`. Note that no `ready-check' app is included in the index list.


Thank you to [MarcSkovMadsen](https://github.com/MarcSkovMadsen) for contributions.

## Changelog

0.1.2 - Fix for Panel root dashboard when serving multiple apps. Previously caused problems in some browsers.
RHash 1.4.2
Windows binary wheels for RHash

# RHash

## License

All code except `setup.py` is licensed under the 'BSD Zero Clause License'. `setup.py` is licensed under the 'ISC License'.

## Example

```python
import rhash
ctx = rhash.RHash(rhash.CRC32 | rhash.MD5)
ctx.update('Hello, ').update('world!').finish()
assert 'EBE6C6E6' == ctx.HEX(rhash.CRC32)
assert '6cd3556deb0da54bca060b4c39479839' == ctx.hex(rhash.MD5)
```
py-shotgun 0.0.10
simple shotgun api wrap
Requires Python: >=3.6

# pyShotgun
A python wrapper for shotgun api

### usage
basic usage

```python
import logging
logger = logging.getLogger(__name__)
import shotgun_api3
from py_shotgun import SGSchema
sg = shotgun_api3.Shotgun(server, script_name=script_name, api_key=script_key)
# init a shotgun api

SGSchema.set_api(sg)
SGProject = SGSchema.sgClasses.Project
SGReply = SGSchema.sgClasses.Reply
# get shotgun class from "SGSchema.sgClasses"

project = SGProject(1, sg, logger)
reply = SGReply(2, sg, logger)

print(project.name)
```
pykemon_battle 0.0.3
A command-line Pokemon battling system
Requires Python: >=3.7

[![Tests][tests-shield]][tests-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]

A text-based Pokémon battling system
========================================


<details open="open">
  <summary>Table of Contents</summary>
  <ol>
    <li><a href="#about-the-project">About The Project</a></li>
    <li><a href="#installation">Installation</a></li>
    <li><a href="#usage">Usage</a></li>
    <li><a href="#tests">Tests</a></li>
    <li><a href="#roadmap">Roadmap</a></li>
    <li><a href="#license">License</a></li>
    <li><a href="#contributing">Contributing</a></li>
    <li><a href="#contact">Contact</a></li>
  </ol>
</details>



## About The Project
`pykemmon_battle` is a library that provides a text-based Pokémon battling system. 


## Installation
Quick installation instructions:

    $ python -m pip install pykemon_battle

Install a development version of this library by cloning the repository and running `flit`:
    
    $ git clone https://github.com/11michalis11/pykemon_battle.git
    $ cd pykemon_battle
    $ python -m pip install flit
    $ python -m flit install --symlink


## Usage
Include the following in a python script:

```python
import pykemon_battle as pkm

team_size = 3
new_battle = pkm.Battle(team_size)
new_battle.start_battle()
```
Then run the script in your terminal:

    $ python my_script.py


## Tests
Run all tests developed by first installing and then running `tox`:

    $ python -m pip install tox
    $ python -m tox


## Roadmap
See the [open issues](https://github.com/11michalis11/pykemon_battle/issues) for a list of proposed features (and known issues).


## License
Distributed under the MIT License. See `LICENSE` for more information.


## Contributing
1. Fork the repository
2. Clone the forked repository
3. Create a new branch
4. Apply changes to the `pykemon_battle` library
5. Run tests and make sure they pass
6. Commit changes
7. Push changes to GitHub
8. Open PR on GitHub


## Contact
Michalis Panayides - [@Michalis_Pan](https://twitter.com/Michalis_Pan) - PanayidesM@cardiff.ac.uk

Project Link: [pykemon_battle](https://github.com/11michalis11/pykemon_battle)



<!-- MARKDOWN LINKS & IMAGES -->
[tests-shield]: https://img.shields.io/badge/Tests-passing-GREEN.svg
[tests-url]: https://github.com/11michalis11/pykemon_battle/actions
[issues-shield]: https://img.shields.io/github/issues/11michalis11/pykemon_battle.svg
[issues-url]: https://github.com/11michalis11/pykemon_battle/issues
[license-shield]: https://img.shields.io/github/license/othneildrew/Best-README-Template.svg
[license-url]: https://github.com/11michalis11/pykemon_battle/blob/master/LICENSE.txt