semvec/pypi-packages huggingface dataset:
replicon-handler 1.1.7
Work with Replicon Web Services easily.
Requires Python: >=3.6
Keywords: replicon,webservices,api,gen3,polaris

# Handler for Replicon Web Services

[![Downloads](https://pepy.tech/badge/replicon-handler/month)](https://pepy.tech/project/replicon-handler)
[![Supported Versions](https://img.shields.io/pypi/pyversions/replicon-handler.svg)](https://pypi.org/project/replicon-handler)
[![Contributors](https://img.shields.io/github/contributors/rajakodumuri/replicon-handler.svg)](https://github.com/rajakodumuri/replicon-handler/graphs/contributors)
[![Publish Replicon Handler](https://github.com/rajakodumuri/replicon-handler/actions/workflows/python-package-publish.yml/badge.svg)](https://github.com/rajakodumuri/replicon-handler/actions/workflows/python-package-publish.yml)

Replicon-Handler is built in [Python](https://www.python.org/) and is maintained by [Rajendra Kodumuri](https://www.github.com/rajakodumuri). Interactions with Replicon WebServices are made possible, using the [requests](https://docs.python-requests.org/en/latest/) library.

Repetitive white noise, so to speak, can be avoided; Making working with the Replicon WebServices a breeze. [Click here](https://www.github.com/rajakodumuri/replicon-handler#support-features) for more details.

```python
from replicon_handler import RepliconHandler

replicon = RepliconHandler(
    company_key='company_key',
    username=None,
    password=None,
    authentication_token='',
    method='post',
    headers=headers,
    log_file=r'log_path\log_file.log'
)

headers['Content-Type'] = 'application/json'
headers['X-Replicon-Application'] = 'CompanyKey_OperationName_Version'
headers['Authorization'] = f'Bearer {replicon.authentication_token}'
```

## Installing Replicon Handler

Replicon Handler is distributed via PyPI, installing it is as simple as:

```bash
> pip install -U replicon-handler
```

## User Guide available on [Read the Docs](https://replicon-handler.readthedocs.io).

[![Read the Docs](https://raw.githubusercontent.com/rajakodumuri/replicon-handler/main/extras/documentation.png)](https://replicon-handler.readthedocs.io)

## Supported Features

Generation of Replicon tenant details and API URLs highlighted below, can be eliminated, to make working with the Replicon WebServices a breeze.
- Finding the Slug.
- Finding the Swimlane.
- Generating URLs for:
    - Analytics API.
    - User Audit Log API.
    - Web Service End Points.
```python
get_all_users = replicon.web_service('UserService1.svc', 'GetAllUsers')

payload = {}
all_users = replicon.connection_handler(get_all_users, payload)
```
- Retries requests that failed due to connections failures.
- Handles component call limitations of the Replicon Gen3 API.
- Availability of concurrent threaded and asynchronous request handlers, out of the box.
```python
get_user_details = replicon.web_service('UserService1.svc', 'GetUser2')

payloads = [{'userUri':user['uri']} for user in all_users]
all_users_details = replicon.threaded_handler(get_user_details, payloads, 5)
```
annotatec 1.0
Create annotations for ctypes straight in your C code
Requires Python: >=3.8

<p align="center">
  <img src="https://github.com/lynnporu/annotatec/raw/dev/logo.png">
</p>

![PyPI](https://img.shields.io/pypi/v/annotatec)
![GitHub repo size](https://img.shields.io/github/repo-size/lynnporu/annotatec)
![GitHub](https://img.shields.io/github/license/lynnporu/annotatec)

------------

**annotatec** helps you create Python packages with C embeddings.

Imagine you're developing C library and already have more than 50 functions. Sometimes you change signatures of old functions or rename them. It'll be headache to write and support all [ctypes](https://docs.python.org/3/library/ctypes.html)-declarations for Python wrapper. **annotatec** will create all Python objects for you. All you need is to provide declarations, which can be placed directly into your C code.

## Minimal livable example

You have some library `lib.c` and it's header `lib.h`. These files were compiled into `lib.so` (or `lib.dll` in Windows).

`lib.c` source:
```c
#include "lib.h"
int sum(int a, short b, long long c) { return a + b + c; }
```

`lib.h` source:
```c
/* @function sum
 * @return int
 * @argument int
 * @argument short
 * @argument longlong
 */
int sum(int, short, long long);
```

Here's a Python wrapper:
```python
import annotatec

libc = annotatec.Loader(
    library="lib.so", headers=["lib.h"])
```

That's all! Now you can test it like so:
```python
>>> libc.sum(1, 2, 3)
<<< 6
```
## Reference

Read detailed reference in [wiki](https://github.com/lynnporu/annotatec/wiki)-pages.
dupgee 0.3
Mini Web Framework on MicroPython (Esp8266)

# dupgee
Dupgee is a mini web framework developed for micro-python(Tested on esp8266).

## Installation
```shell
pip install dupgee
```

## Create Project
```shell
dupgee create newproject
```

Let's code in `pages.py` and add view to `urls.py`. 
When project has created, example views and urls already exists.
Edit `WIFI_SSID` and `WIFI_PASSWORD` variables in `newproject/runner.py` file.

## Run
This operation needs `adafruit-ampy` package. See also [https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy](https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy) installation and other details.  

* Move files
```shell
ampy --port /dev/<your-serial-port> put newproject/
```

* Run
In host machine
```shell
ampy --port /dev/<your-serial-port> run newproject/runner.py

# or another port
ampy --port /dev/<your-serial-port> run newproject/runner.py 8000
```

In serial connected python interpreter
```python
exec(open("./newproject/runner.py").read(), globals())
```

## Test
![Run dupgee](screenshots/run.png)
![Browser](screenshots/homepage.png)
![Curl request](screenshots/curl.png)

# Contributing
See; [https://github.com/ahmetkotan/dupgee](https://github.com/ahmetkotan/dupgee)
solax-x3-rs485 0.0.2
A library to read information from your Solax X3 solar inverter through its RS485 port
Requires Python: >=3.6

# Description

A library to read information from your Solax X3 solar inverter through its RS485 port.

# Cable

Connect pin 4 and 5 to the A and B ports of an USB to RS485 adapter. See page 34 of [the manual](https://www.solaxpower.com/wp-content/uploads/2020/02/X3-PRO-USER-MANUAL.pdf).

# Example

```
import solaxx3rs485

modbusMeter = solaxx3rs485.SolaxX3RS485Client("/dev/ttyUSB1")
data = modbusMeter.get_data()

print(data.yield_today)
```

# Credits

Based on code by "barche", see: https://github.com/InfernoEmbedded/PowerScraper/pull/16.
YTMusicPY 0.0.1
YTMusicPY is an API wrapper for the YTMDesktop remote (https://github.com/ytmdesktop/ytmdesktop/)
Keywords: python,youtube,music,player,YTMAPI,api

YTMusicPY is an API wrapper for the YTMDesktop remote ( https://github.com/ytmdesktop/ytmdesktop/ ).You can find the Docs at https://github.com/quintindunn/YTMusicPY/wiki
YTMusicInfo 0.0.1
YTMusicPY is an API wrapper for the YTMDesktop remote (https://github.com/ytmdesktop/ytmdesktop/)
Keywords: python,youtube,music,player,YTMAPI,api

YTMusicPY is an API wrapper for the YTMDesktop remote ( https://github.com/ytmdesktop/ytmdesktop/ ).You can find the Docs at https://github.com/quintindunn/YTMusicPY/wiki
ytmusicinfopy 0.0.2
YTMusicPY is an API wrapper for the YTMDesktop remote (https://github.com/ytmdesktop/ytmdesktop/)
Keywords: python,youtube,music,player,YTMAPI,api

YTMusicPY is an API wrapper for the YTMDesktop remote (https://github.com/ytmdesktop/ytmdesktop/).You can find the Docs at https://github.com/quintindunn/YTMusicPY/wiki
churchkey 1.1.5
a tool tunneling ssh over http proxy;
Keywords: ssh,http,proxy,network

# churchkey

a tool tunneling ssh over http proxy;

churchkey tunnels ssh sessions through http proxy, so that users can log into
remote server via http proxy if direct access is not working; churchkey uses
http *connect* method and only works with http proxies supporting this method;

churchkey supports two http authentication methods: [basic] and [digest];

technical details are described in [rfc 2817];

alternative projects include [corkscrew] and [proxytunnel];

## install

install via pip:

    pip install churchkey

## usage

1.  create a file `~/.ssh/proxyauth` with proxy username and password:

        {username}:{password}

2.  edit `~/.ssh/config` as follows:

        Host {host}
            HostName {hostname}
            Port {port}
            User {user}
            ProxyCommand churchkey {proxy_host} {proxy_port} %h %p ~/.ssh/proxyauth

3.  log into remote server as usual:

        ssh {host}

## license

Copyright (C) 2016-2018 Cyker Way

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

[rfc 2817]: https://tools.ietf.org/html/rfc2817
[basic]: https://en.wikipedia.org/wiki/Basic_access_authentication
[digest]: https://en.wikipedia.org/wiki/Digest_access_authentication
[corkscrew]: http://agroman.net/corkscrew/
[proxytunnel]: http://proxytunnel.sourceforge.net/
logging-ext 1.0.2
logging extension;
Keywords: logging,extension

# logging-ext

logging extension;

## install

    pip install logging-ext

## license

Copyright (C) 2018 Cyker Way

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <https://www.gnu.org/licenses/>.
jinja-cli 1.2.2
a command line interface to jinja;
Keywords: jinja,engine,interface,template

# jinja-cli

a command line interface to [jinja][jinja];

this program renders a jinja template using input data; data may be read from a
file, environment variables, or command line arguments; either template or data
file may be read from stdin; output file may be written to stdout;

supported data formats: ini, json, xml, yaml;

## install

    pip install jinja-cli

## usage

to render a jinja template with data in json format:

    # jinja -d {data} {template}

to use a different data format:

    # jinja -d {data} -f {data_format} {template}

to read template from stdin:

    # jinja -d {data} < {template}

to read data from stdin:

    # jinja -d - {template} < {data}

to read data from command line arguments:

    # jinja -D {key} {value} [ -D {key} {value} ... ] {template}

to read data from environment variables:

    # jinja -E {key} [ -E {key} ... ] {template}

to read data from environment variables using regex:

    # jinja -X {regex} {template}

to output to a file:

    # jinja -d {data} -o {output} {template}

## example

template file `example.j2`:

    sheep eat {{ sheep.eat }};

data file `example.json`:

    {
        "sheep": {
            "eat": "grass"
        }
    }

any of these commands:

    # jinja -d example.json example.j2
    # jinja -d example.json < example.j2
    # jinja -d - -f json example.j2 < example.json

output:

    sheep eat grass;

## data priority

data priority from low to high:

-   environment variables: `-E, --env`, `-X, --env-regex`;

-   data file: `-d, --data`;

-   command line arguments: `-D, --define`;

## undefined variables

option `-u, --undefined` sets how [undefined variables][undefined] are handled:

-   `''`: an undefined variable can be printed and iterated over; this is the
    default;

-   `'chainable'`: an undefined variable is chainable;

-   `'debug'`: an undefined variable returns debug info when printed;

-   `'strict'`: an undefined variable barks on print, iteration, boolean tests
    and comparisons;

## license

Copyright (C) 2018-2021 Cyker Way

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

[jinja]: http://jinja.pocoo.org/
[undefined]: https://jinja.palletsprojects.com/en/latest/api/#undefined-types
argparse-ext 1.4.2
argparse extension;
Keywords: argparse,extension

# argparse-ext

argparse extension;

## install

    pip install argparse-ext

## license

Copyright (C) 2018-2021 Cyker Way

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <https://www.gnu.org/licenses/>.
mokola 1.2.5
stock market, mutual funds, commodities and general investments
Keywords: python,mokola,stocks,africa,ghana,nigeria,mutual funds,investments,commodities,pension funds

Mokola
===========
This package enables users to download stocks data from Ghana.

Installation
-------------
```
pip install mokola
```

Usage
=============
Download Specific Stock Data
-----------------------------
```
import mokola.stocks.Gse as gse
```

```
df = gse.download('MTNGH','2021-12-01','2021-12-13')
```

Download All Data for a period
------------------------------
You can as well all stocks data like this

```
import mokola.stocks.Gse as gse
```

```
df = gse.download(None,'2021-12-01','2021-12-13')
```