• Stars
    star
    371
  • Rank 115,103 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created almost 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

sms_verification

LICENSE Requirements Todo

This project is done for Altech (Schneider Electric Iran) as an educational series.

این پروژه ای است به سفارش آلتک (اشنایدر الکتریک ایران) برای سنجش صحت شماره سریال ها با پیامک. من پروژه رو ازشون قبول کردم به این شرط که همه مراحلش رو ضبط و منتشر کنم تا نمونه ای باشه از انجام یک پروژه واقعی توسط یک فری لنسر. در این پروژه از تکنولوژی های زیر استفاده می شه:
  • پایتون
  • فلسک
  • ای پی آی های دریافت و ارسال اسمس از درگاه پیامک کاوه نگار
  • پاس فندق
  • مای اسکوئل

کل ویدئوها رو می تونین از لینک های زیر ببینین.

Every single step of this project is screen captures and you can follow them On youtube or On Aparat.

How to run

  1. Install python3, pip3, virtualenv, MySQL in your system.
  2. Clone the project git clone https://github.com/jadijadi/sms_serial_verification && cd sms_serial_verification
  3. in the app folder, rename the config.py.sample to config.py and do proper changes.
  4. db configs are in config.py. Create the db and grant all access to the specified user with specified password.
  5. Create a virtualenv named venv using virtualenv -p python3 venv
  6. Connect to virtualenv using source venv/bin/activate
  7. From the project folder, install packages using pip install -r requirements.txt
  8. Now environment is ready. Run it by python app/main.py

Example of creating db and granting access:

Note: this is just a sample. You have to find your own systems commands.

CREATE DATABASE smsmysql;
USE smsmysql;
CREATE USER 'smsmysql'@'localhost' IDENTIFIED BY 'test' PASSWORD NEVER EXPIRE;
GRANT ALL PRIVILEGES ON smsmysql.* TO 'smsmysql'@'localhost';

More Repositories

1

bestoon

یک پروژه برای دیدن اینکه چطوری یک ایده می تونه به مرحله اجرا برسه. قدم به قدم فیلم گرفتم و منتشر کردم و خود سیستم هم برای عموم قابل استفاده است
JavaScript
766
star
2

gittutorial

HTML
652
star
3

machine_learning_with_python_jadi

The notebooks we use on ML course
Jupyter Notebook
620
star
4

linuxandlife

کتاب راهنمای لینوکس و زندگی
CSS
480
star
5

justforfun

فقط برای تفریح - داستان یک انقلابی اتفاقی: لینوس توروالدز
HTML
459
star
6

lpic1book

JavaScript
454
star
7

digikala_history

Extract and analyze the history of your purchases on Digikala
Python
241
star
8

titap_mystry

learn basics of linux command line
Roff
184
star
9

programming_class_cheats

Jupyter Notebook
147
star
10

Practical-Programming-Practices

A collection of programming exercises to help you practice your new language
C++
144
star
11

bikezenbook

HTML
130
star
12

persianwords

a collection of common Persian names, words, stop words, ...
119
star
13

pishshomare

A simple Angular search on Iran phone codes
JavaScript
111
star
14

snowcrash

اسنو کرش
HTML
79
star
15

lpic1-practice-iso

Pull this in an iso and start practicing your LPIC1
75
star
16

xo

A simple XO (toc-tac-toe) in CPP
C++
73
star
17

jaditypetutorial

A Persian type tutorial I made at 2007 as new to python/qt self learning project
Python
72
star
18

ehdatech

http://ehdatech.ir template
JavaScript
71
star
19

amiafeminist

HTML
69
star
20

educational_python_scripts

Some small sctipts I use while teaching python
Python
67
star
21

todoer

HTML
63
star
22

linuxlearner

A Pelican blog on linux
CSS
59
star
23

journal2

52
star
24

dotfiles

My DotFiles
Lua
50
star
25

cancer_call

Python
41
star
26

mac_pains

You love mac? I don't. Here is why. A static site.
40
star
27

techninjatheme

theme for www.techninja.ir
PHP
35
star
28

general_scripts

Shell
34
star
29

osxpains

A pelican site about my problems with the MacOSX
HTML
33
star
30

radiogeek

RadioGeek
HTML
32
star
31

ctf

A source for CTFs I play and my writeups
Python
28
star
32

persianlettercount

Finding the frequency of persian letters in huge text files
Python
28
star
33

timesh

timesheet tracking site / app
28
star
34

jobs

Iranian Geeky Job Market
JavaScript
27
star
35

machinetalk

27
star
36

javabeforiyegoogleine.ir

HTML
26
star
37

tmp

25
star
38

prodigy

23
star
39

wp2012

PHP
22
star
40

WhyCapitalismSucks

Objective-C++
21
star
41

astoronvim_jadi

Lua
11
star
42

utmp-classic

Rust library for reading utmp (AND NOT UTMPX) files
Rust
1
star