semvec/pypi-packages huggingface dataset:
excel2jsonfile 0.3.1
Convert an Excel to JSON, using defined names
Requires Python: >=3.6

# excel2json
Convert Excel into JSON, using defined names.

## Install
### Linux or MacOS
```shell
python3 -m venv venv
source venv/bin/activate
pip3 install excel2jsonfile
```
### Windows
Check stackoverflow to find out how to create a virtual environment on Windows.

## Run it
```python
from excelform2json.excel2json.excel2json import Excel2JSON
ref_excel2json = Excel2JSON(configuration_file="resources/config/excelform2json_config.json")
result = ref_excel2json.main(excel_file="input/excels/Test1.xlsx")
print("result:", result)
```
## Contribute

* Clone this repository
* run the following to get the referenced git repositories
    ```shell
    git submodule init
    git submodule update
    ```
backtestpandas 2021.3.1
Python package backtesting pandas related
Requires Python: >=3.8

# backtestpandas

|Service|Status|
| -------------: | :---- |
| Testing        | [![Python package](https://github.com/tahini-dev/backtestpandas/actions/workflows/test.yml/badge.svg)](https://github.com/tahini-dev/backtestpandas/actions/workflows/test.yml) |
| Coverage       | [![Codecov branch](https://img.shields.io/codecov/c/github/tahini-dev/backtestpandas/master.svg)](https://codecov.io/gh/tahini-dev/backtestpandas) |

Package for adding pandas accessor for backtesting
netmanager 2.3
Interacting with the Internet from Kivy Android apps.

# NetManager
- Version: 2.3 (06.03.21)
- Author: Danila Kisluk
- VK: https://vk.com/danilakisluk
- Gmail: dankis12a@gmail.com
- ![Downloads](https://static.pepy.tech/personalized-badge/netmanager?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads)


## Installation
`pip install netmamanger`


## Description
NetManager is a Python library for interacting with the Internet from Kivy Android apps.
You can also use NetManager for interacting with the Internet from other projects.
NetManger can make network requests and interact with Firebase Realtime Database.


## What's new in version 2.3?
- Added download counter.
- Added some metrics.


## NetRequest
NetRequest makes network requests and returns their results.
```python
from netmanager import NetRequest


url = "some.url/path"
# Writing 'https://' is optional. This does not apply to other protocols.


""" GET request """
get_request = NetRequest(url)
# 'GET' is default method.

status = get_request.status
headers = get_request.headers
result = get_request.result

print(status, type(status))
# 200 <class 'int'>

print(headers, type(headers))
# {"header": "header_data"} <class 'dict'>

print(result, type(result))
# {"response":"response_data"} <class 'str'>


""" POST request """
post_request = NetRequest(url, method='POST', data='{"key":"value"}')

status = post_request.status
headers = post_request.headers
result = post_request.result

print(status, type(status))
# 200 <class 'int'>

print(headers, type(headers))
# {'header': 'header_data'} <class 'dict'>

print(result, type(result))
# {"response":"response_data"} <class 'str'>
```


## FirebaseRTDB
FirebaseRTDB interact with Firebase Realtime Database.
```python
from netmanager import FirebaseRTDB


database_url = "my-default-rtdb.firebasedatabase.app"
# Writing 'https://' is optional. This does not apply to other protocols.

db = FirebaseRTDB(database_url)
path = "users"
# '/' is default path.


""" Get """
users = db.get(path)
print(users, type(users))
# {"user1":"user_data"} <class 'str'>


""" Set """
data = '{"user1":"new_user_data"}'
set = db.set(path, data)
print(set, type(set))
# 200 <class 'int'>
```
pyBaseManage 1.0.1
PyBase is a python module to allow the storage of variables or other
Requires Python: >=3.6, <4
Keywords: PyBase,Base,storage,variable,content,python

# PyBase
PyBase is a python module to allow the storage of variables or other
# Mini Wiki :
description and use of PyBase
 <h2>- initiator and spectator functions :</h2>
 These functions are both unnecessary and mandatory.<br>
 The first : 
 <code>(obj).getData("myfile")</code>
  It plays the role of <i>dataName = open(myfile.txt, "at")</i> and therefore can easily be replaced by it, but one of the two is required.
  <b>Warning :</b>   Do not give the file extension (here .txt) It will not be able to find it.
 <br><br>
 The second :
 <code>(obj).showData(data)</code>the only purpose of this function is to display the complete contents of what has been recorded by PyBase
<h2>- Table and content management function</h2>
The record base functions from table and in its tables one and/or contents. So there are the functions related to the tables and those related to the contents
<h3>1) Table management :</h3>
<i>newTab()</i>
<code>(obj).newTab(data, "Name")</code>
 1 checks if the table already exists and if it already exists he does not recreate it. 2 does not care if a table of the same does not exist or not, can be dangerous because when deleting one of the tables, the 2 will be.
<br><br>
<i>delTab()</i>
<code>(obj).delTab(data, "Name")</code>
This function allows you to delete a complete table and with it are contained
<i>Here the 'Name' table will be deleted.</i>
<br><br>
<i>appendTab()</i><code>(obj).appendTab(data, "Name", "Andrew")</code>This function allows to add to a table (here <i>'Name'</i>) content (here <i>'Andrew'</i>)
<br>The result in the file: <code>tN::Name : {Andrew}</code>
<br><br>
<i>findTab()</i><code>(obj).findTab(data, "Hello world")</code>This boolean function only allows you to search for a table in the database, it returns True if the table exists.<br><i>Here we search for 'Hello world' among 'data'</i>
<br><br>
<h3>2) Content management :</h3>
<br><br><i>getCont()</i><code>(obj).getCont(data, "Name")</code> Allows to retrieve the contents of a table <i> Here the table 'Name'</i>
<br><br><i>delCont()</i><code>(obj).delCont(data, "Name", "Joseph")</code> Deletes a particular content in a particular table <i> Here, delete 'Joseph' in table 'Name'</i>
<br><br><i>replaceCont()</i><code>(obj).replaceCont(data, "Name", "Chloé")</code> replaces all the existing content of a table with the given content <i>Here, replace the contents of 'Name' by 'Chloe'.</i><br><br>
<h2>- More information </h2><br><br> The constructor used is by default <code>obj = PyBase.PyBase()</code><br>As well as 'data' comes from <code>data = obj.getData("myfile")</code><br><br>The PyBase.py python isn't yet commented but it will be soon ;)