Skip to content

Commit

Permalink
second version, empty shelve
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jun 19, 2016
1 parent c58f261 commit bcfc7f0
Show file tree
Hide file tree
Showing 34 changed files with 1,418 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .coveragerc
@@ -0,0 +1,10 @@
[run]
source = src/
data_file = ./_doc/sphinxdoc/source/coverage/.coverage

[html]
directory = ./_doc/sphinxdoc/source/coverage

[xml]
output = ._doc/sphinxdoc/source/coverage/coverage_report.xml

1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
repo_token: mHc0e5HfqNhNMWYkv9VHf4ZsMuzsJXE9i
22 changes: 22 additions & 0 deletions .gitattributes
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
248 changes: 248 additions & 0 deletions .gitignore
@@ -0,0 +1,248 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
_virtualenv/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
*.pyproj
dummy.py

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
__pycache__/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# py* packages
temp_*
out_*
*/sphinxdoc/source/index_*
*/sphinxdoc/source/readme.*
*/sphinxdoc/source/LICENSE.txt
*/sphinxdoc/source/filechanges.*
version.txt
_doc/sphinxdoc/source/python_template/
_doc/sphinxdoc/source/mlstatpy/
_doc/sphinxdoc/source/coverage/*
*/sphinxdoc/source/all*.rst
_doc/sphinxdoc/source/notebooks/*
build_help.bat
_doc/sphinxdoc/source/blog/*.rst
_doc/sphinxdoc/source/blog/rss.xml
_doc/sphinxdoc/source/phdoc_templates/*.html
_doc/sphinxdoc/source/blog/feed-icon*.png
_doc/sphinxdoc/source/phdoc_static/reveal.js/*
_doc/notebooks/.ipynb_checkpoints/*
dist_module27/*
auto_*.bat
auto_*.sh
auto_*.py
auto_*.xml
auto_*.db3
_doc/sphinxdoc/source/phdoc_static/require.js
_doc/sphinxdoc/require.js
16 changes: 16 additions & 0 deletions .landscape.yml
@@ -0,0 +1,16 @@
doc-warnings: yes
test-warnings: no
strictness: veryhigh
max-line-length: 120
autodetect: yes
requirements:
- requirement.txt
ignore-paths:
- _unittests
- _doc
- src
- dist
- build
ignore-patterns:
- .*Parser\.py$
- .*Lexer\.py$
7 changes: 7 additions & 0 deletions .travis.yml
@@ -0,0 +1,7 @@
language: python
python:
- "3.5"
install:
- pip install -r requirements.txt
script:
- python setup.py unittests
19 changes: 19 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,19 @@
Copyright (c) 2016-2016, Xavier Dupré

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
9 changes: 9 additions & 0 deletions _doc/sphinxdoc/source/blog/2016/2016-06-19_first_blog.rst
@@ -0,0 +1,9 @@


.. blogpost::
:title: Premier blog, juste un essai
:keywords:
:date: 2016-06-19
:categories: blog

Premier blog.
7 changes: 7 additions & 0 deletions _doc/sphinxdoc/source/c_ml/index.rst
@@ -0,0 +1,7 @@


################
Machine Learning
################

A venir.
28 changes: 28 additions & 0 deletions _doc/sphinxdoc/source/conf.py
@@ -0,0 +1,28 @@
#-*- coding: utf-8 -*-
import sys
import os
import datetime
import re
import sphinx_theme_pd as sphtheme
# import hbp_sphinx_theme as sphtheme

sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0])))
sys.path.insert(
0,
os.path.abspath(
os.path.join(
os.path.split(__file__)[0],
"..",
"..",
"..",
"..",
"pyquickhelper",
"src")))

from pyquickhelper.helpgen.default_conf import set_sphinx_variables
set_sphinx_variables(__file__, "mlstatpy", "Xavier Dupré", 2016,
sphtheme.__name__, [sphtheme.get_html_theme_path()], locals(),
extlinks=dict(issue=('https://github.com/sdpython/mlstatpy/issues/%s', 'issue')),
title="Machine Learning, Statistiques et Programmation", book=True)

blog_root = "http://www.xavierdupre.fr/app/mlstatpy/helpsphinx/"
14 changes: 14 additions & 0 deletions _doc/sphinxdoc/source/doctestunit.rst
@@ -0,0 +1,14 @@
.. _l-doctestunit:

Documentation, unit tests, setup
================================


See `Unit tests with pyquickhelper <http://www.xavierdupre.fr/app/pyquickhelper/helpsphinx/doctestunit.html>`_.

Extensions to install
+++++++++++++++++++++

* `pyquickhelper <https://pypi.python.org/pypi/pyquickhelper/>`_


0 comments on commit bcfc7f0

Please sign in to comment.