simplify functions from other libraries functions in 1-2 lines
Project description
py_topping, a topping on great libraries
This library focus on "simplify" (& laziness :P)
PyPi Project Page : https://pypi.org/project/py-topping
To Install the Stable Version
pip install py-topping
To Install the Newest Version
pip install git+https://github.com/chanon-kr/Shared_Function.git
This library will *NOT auto install dependencies for you but you could see the list of dependencies in sample links
You could see samples of how to use this library inside the samples folder in github
https://github.com/chanon-kr/Shared_Function
database
- To Work with SQL Server, MySQL, PostGreSQL, SQLite and Google BigQuery
- To read view, table or store procedure as pandas dataframe
- To insert pandas dataframe into SQL with different methods
- from 0.3.18, will roll back if job fail, except Google BigQuery
- Can't read Store Procedure in PostGreSQL will solve this in later version
- Will working with Oracle Database in later version
- Dependecies and Sample of use => https://github.com/chanon-kr/Shared_Function/blob/main/samples/database.ipynb
sharepoint
- To download file from SP365 or SP on prim
- To read csv/excel from SP365 as pandas dataframe
- To download List as csv or pandas dataframe from SP365
- To upload file to SP365 or SP on prim
- Dependecies and Sample of use => https://github.com/chanon-kr/Shared_Function/blob/main/samples/sharepoint.ipynb
gcp
- To download and upload file from GCP's bucket Storage
- Dependecies and Sample of use => https://github.com/chanon-kr/Shared_Function/blob/main/samples/lazy_GCS.ipynb
socket
- To receive and send data though socket (TCP/IP)
- Dependecies and Sample of use => https://github.com/chanon-kr/Shared_Function/blob/main/samples/lazy_TCP.ipynb
data_preparation
- Encode categorical column
- Create lagging parameter
- Simple Deep Learning Model for Regression
- Dependecies and Sample of use
general_use
- To send email with python
- To logging in csv file
- To check port status
- To send LINE message, sticker or picture with line notify
- To Create diff hour of (Desired UTC) - (Environment UTC)
- To Check health of your machine
- Dependecies and Sample of use
opc
- to read value from OPC UA
- to write value to OPC UA
- Dependecies and Sample of use
run_pipeline
- To run your python or notebook scripts
- To create FastAPI
- Dependecies and Sample of use
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_topping-0.4.11.tar.gz
(139.5 kB
view details)
File details
Details for the file py_topping-0.4.11.tar.gz
.
File metadata
- Download URL: py_topping-0.4.11.tar.gz
- Upload date:
- Size: 139.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e8b7b313bb9e6bf6c83da691afee1f070511515e49f9445911d6868007a8e27 |
|
MD5 | df41ffe0cc35e22c75897d982db49bfc |
|
BLAKE2b-256 | d406c5abce7dd78f425bae5df9fd747eb846e628c272c5244165107fe963b1bb |