semvec/pypi-packages huggingface dataset:
brokers-api 0.0.1
A package to make requests to brokers like binance,kraken
Requires Python: >=3.6

<h1 align="center">Python_Brokers_API</h1>
<p align="center">This repository hosts the brain api used for my trading algorithms.</p> 

<div align="center">
  <strong>Simple functions to use crypto brokers with python 3 </strong>
</div>

<br />

<div align="center">
  <!-- license -->
  <a href="https://tldrlegal.com/license/mit-license">
    <img src="https://img.shields.io/badge/license-MIT-blue.svg"
      alt="license" />
  </a>
</div>

<br />

<div align="center">
  <sub>Built by
  <a href="https://github.com/hugodemenez">Hugo Demenez</a>
</div>

## Example
```python3

import brokers

broker=brokers.binance()

#Public data
print(
    broker.price(),
    broker.get_klines_data(),
    broker.get_24h_stats(),
    )

#To connect api
print(
    broker.connect_key("binance.key")
)

#Private data
print(
    broker.account_information(),
    broker.get_open_orders(),
    broker.get_balances(),
    broker.create_market_order(symbol='BTCUSD',side='buy',quantity=1),
    broker.create_limit_order(symbol='BTCUSD',side='buy',quantity=1,price=10000),
    broker.create_take_profit_order(symbol='BTCUSD',side='buy',quantity=1,profitPrice=100000),
    broker.create_stop_loss_order(symbol='BTCUSD',side='buy',quantity=1,stopPrice=1000),
)

```
simplejwt-session 0.0.5
Generates an authenticated requests `Session` into a Django API authenticated w/ `django-rest-framework-simplejwt`
Requires Python: >=3.7

Creates an authenticated `requests.Session` instance for a Django API authenticated w/ `django-rest-framework-simplejwt`. Optionally set `API_PASSWORD`, `API_EMAIL`, and `API_BASE_URL` env vars or pass them directly to the method.
searchpods 0.1.2
Let's find some podcasts!
Requires Python: >=3.7

# Podcast searcher

> Search any podcast in iTunes library

[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![Code Coverage][coverage-image]][coverage-url]
[![Code Quality][quality-image]][quality-url]

`podsearch` finds podcasts via [iTunes Search API](https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/iTuneSearchAPI/index.html).

Search parameters:

-   _query_ - search string (name, author etc)
-   _country_ - ISO alpha-2 country code (us, de, fr etc), default: us
-   _limit_ - maximum number or search results, default: 5

Returned attributes for each podcast:

-   _id_ - iTunes ID (e.g., `979020229`)
-   _name_ - podcast name (`Talk Python To Me`)
-   _author_ - author name (`Michael Kennedy (@mkennedy)`)
-   _url_ - Apple Podcasts URL (`https://podcasts.apple.com/us/podcast/id979020229`)
-   _feed_ - podcast RSS URL (`https://talkpython.fm/episodes/rss`)
-   _category_ - main category (`Technology`)
-   _image_ - 600x600px image URL (`https://is4-ssl.mzstatic.com/image/.../600x600bb.jpg`)
-   _country_ - ISO alpha-3 country code (`USA`)
-   _episode_count_ - episode count this year (`26`)

## Installation

```sh
pip install podsearch
```

## Usage

Search podcasts by query:

```python
>>> import podsearch
>>> podcasts = podsearch.search("python", country="us", limit=10)
>>> podcasts[0].name
'Talk Python To Me'
>>> podcasts[0].author
'Michael Kennedy (@mkennedy)'
>>> podcasts[0].url
'https://podcasts.apple.com/us/podcast/id979020229'
```

Retrieve podcast by iTunes ID:

```python
>>> import podsearch
>>> podcast = podsearch.get(979020229)
>>> podcast.name
'Talk Python To Me'
```

## Development setup

```sh
$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Make sure to add or update tests as appropriate.

Use [Black](https://black.readthedocs.io/en/stable/) for code formatting and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) for commit messages.

## [Changelog](CHANGELOG.md)

## License

[MIT](https://choosealicense.com/licenses/mit/)

<!-- Badges -->

[pypi-image]: https://img.shields.io/pypi/v/searchpods
[pypi-url]: https://pypi.org/project/searchpods/
[build-image]: https://github.com/nalgeon/podsearch-py/actions/workflows/build.yml/badge.svg
[build-url]: https://github.com/nalgeon/podsearch-py/actions/workflows/build.yml
[coverage-image]: https://codecov.io/gh/nalgeon/podsearch-py/branch/main/graph/badge.svg
[coverage-url]: https://codecov.io/gh/nalgeon/podsearch-py
[quality-image]: https://api.codeclimate.com/v1/badges/3130fa0ba3b7993fbf0a/maintainability
[quality-url]: https://codeclimate.com/github/nalgeon/podsearch-py
autotrainz 0.1.222.1
DO NOT USE - This is a sample program
Requires Python: >=3.6

<!---
# Modifications © 2020 Hashmap, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-->

# Trainingopz

This library is a pre-alpha right now

The intent of this package is to work as a back-end build and deploy engine to take - given a configuration and an infrastructure, 
on-demand scientific computing workflows.


## Application Configuration

```yaml
versionon: 1

docker_configuration:
    docker_registry:  REPO_URL
workflow_validation:
type:  YAMLValidator
  conf:
    project_path: /

pipeline_composition:
  type: YAMLPipelineComposer
  conf:
    project_path: /

package:
  type: DockerPackager
  conf:
    project_path: /

build_deployment_artifact:
  type: BuildAirflowArtifact
  conf: null

deploy:
  type: AirflowDeployer
  conf: null

```
env2cli 0.1.0
Converts environment variables into cli arguments for easy maintainable docker entry point

Env2Cli
=======

Desription
----------

Instead of maintain ugly and long entrypoint scripts to call your module with environment variables as arguments from your dockerfile, just add this elegant converting framework from environment variables to cli command line arguments.

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

.. code-block:: bash

    pip install env2cli


Usage
-----

Assume your old dockerfile looked like this

.. code-block:: Dockerfile

    ...
    ENV POSITIONAL_ARG val
    ENV SOME_PARAM value
    ENV OTHER_PARAM valy

    ...

    ENTRYPOINT python main.py ${POSITIONAL_ARG} -p ${SOME_PARAM} --other ${OTHER_PARAM} ...


Add new file, for example, `entrypoint.py` like this:

.. code-block:: python

    from main import main
    from env2cli import * 

    argv = bulk_apply([
        Argument('POSITIONAL_ARG'),
        Argument('SOME_PARAM', '-p'),
        Argument('OTHER_PARAM', '--other')
    ])

main(argv)


And the new dockerfile should be looking like this:

.. code-block:: Dockerfile

    ENV POSITIONAL_ARG val
    ENV SOME_PARAM value
    ENV OTHER_PARAM valy

    ...

    ENTRYPOINT python entrypoint.py

Or even if your program isn't python!

.. code-block:: Dockerfile

    ENV POSITIONAL_ARG val
    ENV SOME_PARAM value
    ENV OTHER_PARAM valy

    ...

    ENTRYPOINT ./myprog $(env2cli.py)
    # instead ENTRYPOINT ./myprogram ${POSITIONAL_ARG} -p ${SOME_PARAM} --other ${OTHER_PARAM}