-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyss3.server quiet mode added; live_test improved (documents without …
…categories option + loading animation); ReadTheDocs - files added; README.md
- Loading branch information
1 parent
e9b02b4
commit 00bd71f
Showing
20 changed files
with
520 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
.. _contributing: | ||
|
||
|
||
************* | ||
Contributions | ||
************* | ||
|
||
PySS3 is open for contributions. New features, documentations, tests or | ||
bug reports are welcome. Following is the guide to contribute to PySS3: | ||
|
||
|
||
Bug Report | ||
========== | ||
|
||
If you have determined that your code doesn’t work and it comes from | ||
PySS3, please follow the following step to report a bug. | ||
|
||
1. Make sure your code is up-to-date with our current code on the master | ||
branch. | ||
|
||
2. Make sure to check the `issue section`_ before filing an issue on our | ||
github project. The bug might already be reported. | ||
|
||
3. Create an issue in `issue section`_. Give detailed description of | ||
your system configuration: What OS you are using? What is the python | ||
version? What is the PySS3 version? In addition, make sure to include | ||
a complete example which we can use to trigger the bug. | ||
|
||
4. If you know how to fix the bug, please make a request to contribute! | ||
|
||
|
||
Pull Request | ||
============ | ||
|
||
If you want to contribute to our codebase, please send an email to | ||
sergio.burdisso@gmail.com to with subject "PYSS3 DEVELOPMENT" to discuss | ||
your plan which should include the description of the contribution (bug | ||
fix, interface improvement, new feature, new test or documentation) and | ||
potential interface (for code contribution). Once we reach the agreement | ||
on how to proceed, you can | ||
|
||
1. Fork `PySS3 on github`_ | ||
|
||
2. Clone your fork to local machine | ||
|
||
3. Inside the top level project directory, install the project for development purpose | ||
|
||
.. code:: bash | ||
pip install -e . | ||
4. Make a new branch for development | ||
|
||
5. Hook your Travis CI to your development branch to enable continuous | ||
testing | ||
|
||
6. Write code in the development branch | ||
|
||
7. Write unit tests in :code:`tests/` and run pytest to test your code locally | ||
|
||
8. Write documentation in :code:`tests/` | ||
|
||
9. Make a Pull Request `here`_ | ||
|
||
.. _issue section: https://github.com/sergioburdisso/pyss3/issues | ||
.. _PySS3 on github: https://github.com/sergioburdisso/pyss3/ | ||
.. _here: https://github.com/sergioburdisso/pyss3/pulls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. _license: | ||
|
||
******** | ||
License | ||
******** | ||
|
||
PySS3 is released under the terms of the MIT License | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2019 Sergio Burdisso | ||
|
||
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. _changelog: | ||
|
||
************* | ||
Change Log | ||
************* | ||
|
||
All notable changes to PySS3 will be documented here. | ||
|
||
[0.3.5] 2019-11-12 | ||
================== | ||
|
||
Added | ||
----- | ||
- PySS3 Command Line Python 2 full compatibility support | ||
|
||
Fixed | ||
----- | ||
- Matplotlib set_yaxis bug fixed | ||
|
||
|
||
[0.3.4] 2019-11-12 | ||
================== | ||
|
||
Fixed | ||
----- | ||
- Dependencies and compatibility with python 2 Improved | ||
|
||
|
||
[0.3.3] 2019-11-12 | ||
================== | ||
|
||
Fixed | ||
----- | ||
- Setup and tests fixed | ||
|
||
|
||
[0.3.2] 2019-11-12 | ||
================== | ||
|
||
Added | ||
----- | ||
- Summary operators: now it is possible to use user-defined summary operators, the following static methods were added to the ``SS3`` class: `summary_op_ngrams`, `summary_op_sentences`, and `summary_op_paragraphs`. | ||
|
||
|
||
[0.3.1] 2019-11-11 | ||
================== | ||
|
||
Added | ||
----- | ||
- update: some docstrings were improved | ||
- update: the README.md / Pypi Description file. | ||
|
||
Fixed | ||
----- | ||
- Python 2 and 3 compatibility problem with scikit-learn (using version 0.20.1 from now on) | ||
- PyPi: setup.py: `long_description_content_type` set to `'text/markdown'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. _installation: | ||
|
||
************ | ||
Installation | ||
************ | ||
|
||
PyPi installation | ||
================= | ||
|
||
Simply type:: | ||
|
||
pip install pyss3 | ||
|
||
|
||
|
||
Installation from source | ||
======================== | ||
|
||
To install latest version from github, clone the source from the project repository and install with setup.py:: | ||
|
||
git clone https://github.com/sergioburdisso/pyss3 | ||
cd pyss3 | ||
pip install -r requirements.txt | ||
pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
.. _short-description: | ||
|
||
********* | ||
Overview | ||
********* | ||
|
||
.. _ss3-classifier: | ||
|
||
The SS3 Classifier | ||
================== | ||
|
||
[Work in Progress] | ||
|
||
|
||
|
||
PySS3's Features | ||
================== | ||
|
||
[Work in Progress] | ||
|
||
|
||
Documentation Overview | ||
======================= | ||
|
||
Home | ||
----- | ||
|
||
* :ref:`short-description` gives an overview of *PySS3* | ||
|
||
* :ref:`installation` gives instruction on how to install *PySS3* through pip or source. | ||
|
||
* :ref:`changelog` documents major changes between versions. | ||
|
||
User Guide | ||
----------- | ||
|
||
* :ref:`quickstart` gives a brief introduction on how to use *PySS3* interface. | ||
|
||
* :ref:`workflow` [Work in Progress]. | ||
|
||
* :ref:`customization` details how to customize *PySS3*. | ||
|
||
|
||
Tutorials | ||
---------- | ||
|
||
* :ref:`topic-categorization` [Work in Progress]. | ||
|
||
* :ref:`movie-reviews` [Work in Progress]. | ||
|
||
About | ||
------- | ||
|
||
* :ref:`contributing` gives instructions on how to contribute to *PySS3*. | ||
|
||
* :ref:`license` details license statement. |
Oops, something went wrong.