Skip to content

Instantly share code, notes, and snippets.

View giasuddin90's full-sized avatar
🎯
Focusing

Gias Uddin giasuddin90

🎯
Focusing
View GitHub Profile
@giasuddin90
giasuddin90 / sqlalchemy_foreignkey_and_many_to_many_fied_join.py
Created October 30, 2019 11:31
Sqlalchemy foreignkey and many to many field joining
# pre rehnquist:
# >psycopg2
# >python version 3.*
#> SQLAlchemy
#
# Outcome:
# >using Sqlalchemy create table and call data from database
# >Table sync in postgresql
from sqlalchemy import (
@giasuddin90
giasuddin90 / sqlalchemy_postgrasql_connection.py
Created October 30, 2019 11:32
Sqlalchemy and postgresql connection
# pre rehnquist:
# >psycopg2
# >python version 3.*
#> SQLAlchemy
#
# Outcome:
# >using Sqlalchemy create table and call data from database
# >Table sync in postgresql
from sqlalchemy import (
@giasuddin90
giasuddin90 / python_pdf_mnupulation
Created December 28, 2019 16:12
pdf existing file delete and add new pdf file
from PyPDF2 import PdfFileWriter, PdfFileReader
import requests
from io import BytesIO
import os
from io import StringIO
from WordpresFileUpload.wordpressFile import wordpress_file_up
def download_pdf(page_url, page_range):
"""