mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Merge branch 'master' of github.com:bt3gl/Book-Python_and_Algorithms
This commit is contained in:
commit
0c765993ce
30
.github/workflows/pythonapp.yml
vendored
Normal file
30
.github/workflows/pythonapp.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: Python application
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python 3.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pip install pytest
|
||||
pytest
|
@ -1,4 +1,4 @@
|
||||
Flask==0.10.1
|
||||
Flask==1.0
|
||||
SQLAlchemy==0.9.7
|
||||
bpython==0.13.1
|
||||
coverage==3.7.1
|
||||
@ -8,6 +8,6 @@ ipython==0.13.2
|
||||
matplotlib==1.3.1
|
||||
nose==1.3.0
|
||||
numpy==1.8.2
|
||||
scapy==2.2.0
|
||||
scapy==2.4.1
|
||||
scikit-learn==0.14.1
|
||||
scipy==0.12.1
|
@ -1,14 +1,14 @@
|
||||
## Python & Algorithms Book
|
||||
## Book on Python, Algorithms, and Data Structures
|
||||
|
||||
|
||||
➡️ [PDF (1st edition, 2014, published by Hanbit Media)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014).
|
||||
➡️ [PDF (1st edition, 2013, published by Hanbit Media in 2015)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014/ebook_pdf/book_second_edition.pdf) and [source code](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/First_edition_2014).
|
||||
|
||||
|
||||
➡️ [Source code (2nd edition, 2019)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019).
|
||||
➡️ [Source code (2nd edition, 2019, ported to Python 3.7)](https://github.com/bt3gl/Python-and-Algorithms-and-Data-Structures/blob/master/Second_edition_2019).
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
|
||||
When making a reference to my work, please use my [website](http://bt3gl.github.io/index.html).
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Flask==0.10.1
|
||||
Flask==1.0
|
||||
SQLAlchemy==0.9.7
|
||||
bpython==0.13.1
|
||||
coverage==3.7.1
|
||||
@ -8,6 +8,6 @@ ipython==0.13.2
|
||||
matplotlib==1.3.1
|
||||
nose==1.3.0
|
||||
numpy==1.8.2
|
||||
scapy==2.2.0
|
||||
scapy==2.4.1
|
||||
scikit-learn==0.14.1
|
||||
scipy==0.12.1
|
Loading…
x
Reference in New Issue
Block a user