Skip to content

ieee-computer-society/python-paketler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Popüler Python Paketleri

Bu derste python için tavsiye edeceğim paketlerden bahsedeceğiz.

Ipython

Kurulum:

pip install ipython

Örnek:

ipython

PPrint (Pretty printer)

Json terminalde daha iyi görmek için kullanılan bir default kütüphane Örnek

from pprint import pprint
pprint(~data~)

More : PPrint

Requests

Kurulum:

pip install requests

Örnek:

import requests
from pprint import pprint
r = requests.get('https://www.instagram.com/tlghnzn/?__a=1')
pprint(r.json())

More : Requests

Scrapy

Kurulum:

pip install scrapy

Örnek : Code Example

More : Scrapy

WxPython

Kurulum:

pip install wxPython

Örnek : Code

More: WxPython

Pillow

Kurulum:

pip install Pillow

Örnek:

from PIL import Image
im = Image.open("resim.jpg")
im.show()
box = (100, 100, 400, 400)
region = im.crop(box)
region.show()

BeautifulSoup

More: BeautifulSoup

Twisted

More: Twisted

Numpy - Scipy

pip install numpy

Örnek:

import numpy as np
a = np.arange(15).reshape(3, 5)
a
a.shape
a.dtype.name
a.size
b = np.array([2,3,4])
c = np.zeros( (3,4) )

More: Numpy More: Scipy

Matplotlib

Kurulum:

pip install matplotlib

Örnek:

import numpy as np
import matplotlib
import matplotlib.pyplot as plt

# Fixing random state for reproducibility
np.random.seed(19680801)


matplotlib.rcParams['axes.unicode_minus'] = False
fig, ax = plt.subplots()
ax.plot(10*np.random.randn(100), 10*np.random.randn(100), 'o')
ax.set_title('Using hyphen instead of Unicode minus')
plt.show()

PyGame

More = Pygame

Python HTTP SERVER

python -m http.server 8080

About

Ders 2 için önerilen paket listesi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published