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 a Stable Version
pip install py-topping
To Install a 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
- 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/gcp.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
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.1.tar.gz
(127.7 kB
view hashes)