Skip to content

Commit

Permalink
Added links to launch the notebook on Google Colab.
Browse files Browse the repository at this point in the history
  • Loading branch information
Naereen committed Nov 14, 2018
1 parent c29b5fd commit 90d69fc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,31 @@ lint:
cd ./parcoursup/ ; pylint -j $(NPROC) *.py */*.py | tee ../logs/pylint_log.txt
cd ./parcoursup/ ; pylint --py3k -j $(NPROC) *.py */*.py | tee ../logs/pylint3_log.txt

# --------------------------------------------------------
# Build and upload to PyPI
build_for_pypi: clean_pypi_build sdist wheel

test_twine:
twine upload --sign --repository testpypi dist/*.whl
twine:
twine upload --sign --repository pypi dist/*.whl

clean_pypi_build:
-mv -vf dist/* /tmp/
sdist: sdist.zip sdist.tar.gz
sdist.zip:
python3 setup.py sdist --formats=zip
# -gpg --detach-sign -a dist/*.zip
-ls -larth dist/*.zip
sdist.tar.gz:
python3 setup.py sdist --formats=gztar
# -gpg --detach-sign -a dist/*.tar.gz
-ls -larth dist/*.tar.gz
wheel:
python3 setup.py bdist_wheel --universal
# -gpg --detach-sign -a dist/*.whl
-ls -larth dist/*.whl


#-----------------------------------------------------------------
#
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ Les algorithmes et l'implémentation officielle (en Java) ont été distribués

[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/Naereen/ParcourSup.py/master?filepath=notebooks%2FParcourSup.py_version_simplifiee.ipynb)

[![Google Colab](https://badgen.net/badge/Lancer/sur%20Google%20Colab/blue?icon=terminal)](https://colab.research.google.com/github/Naereen/ParcourSup.py/blob/master/notebooks/ParcourSup.py_version_simplifiee.ipynb)


---

## Documentation officielle et ressources
Expand Down
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ Les algorithmes et l'implémentation officielle (en Java) ont été distribués

[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/Naereen/ParcourSup.py/master?filepath=notebooks%2FParcourSup.py_version_simplifiee.ipynb)

[![Google Colab](https://badgen.net/badge/Lancer/sur%20Google%20Colab/blue?icon=terminal)](https://colab.research.google.com/github/Naereen/ParcourSup.py/blob/master/notebooks/ParcourSup.py_version_simplifiee.ipynb)


---

## Documentation officielle et ressources
Expand Down
7 changes: 5 additions & 2 deletions notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ Ce dossier contient des ressources supplémentaires pour expliquer les algorithm
+ Cette fois on a aussi le contrôle d'un vœu en particulier, représenté en couleur plus vive. La vidéo montre l'influence des deux taux (minimum de boursiers et minimum de résidents) sur le classement final de ce vœu en comparaison à d'autres.
![Visualisation_OrdreAppel_focus_sur_un_voeu](images/Visualisation_OrdreAppel_focus_sur_un_voeu.gif)

- Voici un lien qui lance [MyBinder](https://mybinder.org/) sur le notebook, pour vous laisser exécuter le code par vous-même.
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/Naereen/ParcourSup.py/master?filepath=notebooks%2FParcourSup.py_version_simplifiee.ipynb%2FParcourSup.py_version_simplifiee.ipynb)
- Voici un lien qui ouvre le notebook avec [MyBinder](https://mybinder.org/), pour vous laisser exécuter le code par vous-même.
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/Naereen/ParcourSup.py/master?filepath=notebooks%2FParcourSup.py_version_simplifiee.ipynb)

- Voici un lien qui ouvre le notebook avec [Google Colab](https://colab.research.google.com/notebook), pour vous laisser exécuter le code par vous-même.
[![Google Colab](https://badgen.net/badge/Lancer/sur%20Google%20Colab/blue?icon=terminal)](https://colab.research.google.com/github/Naereen/ParcourSup.py/blob/master/notebooks/ParcourSup.py_version_simplifiee.ipynb)

### 2) Calcul des propositions
> C'est la partie qui est implémentée [dans ce dossier `parcoursup/propositions`](../parcoursup/propositions/).
Expand Down

0 comments on commit 90d69fc

Please sign in to comment.