Skip to content

Commit

Permalink
Changes in preparation for public release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano Marques committed Jul 21, 2020
1 parent 3f6d633 commit 81a9727
Show file tree
Hide file tree
Showing 33 changed files with 637 additions and 205 deletions.
1 change: 0 additions & 1 deletion docs/_python/sphinx-git.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

#
# TODO: extract in a Sphinx plugin
#
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# -- Project information -----------------------------------------------------

project = 'Stripping'
copyright = '2019, Adirano, Nathan, Thales'
author = 'Adirano, Nathan, Thales'
copyright = '2019, Adriano, Nathan, Thales'
author = 'Adriano, Nathan, Thales'

# The short X.Y version
version = ''
Expand Down Expand Up @@ -134,7 +134,7 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Stripping.tex', 'Stripping Documentation',
'Adirano, Nathan, Thales', 'manual'),
'Adriano, Nathan, Thales', 'manual'),
]


Expand Down
22 changes: 22 additions & 0 deletions examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env python3
##
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright (C) 2019 Exponential Ventures LLC
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##
29 changes: 18 additions & 11 deletions examples/black_friday_w_stripping.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Adriano Marques <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


from stripping.benchmark import Benchmark
benchmark = Benchmark('Black Friday with stripping')
Expand Down
29 changes: 18 additions & 11 deletions examples/black_friday_wo_stripping.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Adriano Marques <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


from stripping.benchmark import Benchmark

Expand Down
34 changes: 22 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Thales Ribeiro <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


import os
from setuptools import setup, find_packages
Expand All @@ -26,11 +33,14 @@
author_email='[email protected], [email protected], [email protected]',
python_requires='>=3.7.0',
install_requires=['catalysis-client', 'numpy'],
include_package_data=True,
include_package_data=True,,
license="GNU LGPLv3",
url='https://github.com/exponential-ventures/stripping',
packages=find_packages(exclude=['*tests*', 'test*']),
platforms=['any'],
classifiers=[
'License :: OSI Approved :: GNU LGPLv3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down
30 changes: 19 additions & 11 deletions stripping/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Adriano Marques <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


import os

from catalysis.common.configuration import ClientConfiguration
Expand Down
24 changes: 24 additions & 0 deletions stripping/benchmark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
#!/usr/bin/env python3
##
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright (C) 2019 Exponential Ventures LLC
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


import time


Expand Down
30 changes: 18 additions & 12 deletions stripping/cache.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Adriano Marques <[email protected]>
## Author: Thales Ribeiro <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


import asyncio
import datetime
Expand Down
28 changes: 17 additions & 11 deletions stripping/decorators.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Adriano Marques <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##
29 changes: 18 additions & 11 deletions stripping/elemental/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Thales Ribeiro <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


from stripping.elemental.base import Elemental
30 changes: 18 additions & 12 deletions stripping/elemental/base.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
##
## ----------------
## | |
## | CONFIDENTIAL |
## | |
## ----------------
## Authors: Adriano Marques
## Nathan Martins
## Thales Ribeiro
##
## Copyright Exponential Ventures LLC (C), 2019 All Rights Reserved
## Copyright (C) 2019 Exponential Ventures LLC
##
## Author: Thales Ribeiro <[email protected]>
## Author: Nathan Martins <[email protected]>
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Library General Public
## License as published by the Free Software Foundation; either
## version 2 of the License, or (at your option) any later version.
##
## If you do not have a written authorization to read this code
## PERMANENTLY REMOVE IT FROM YOUR SYSTEM IMMEDIATELY.
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Library General Public License for more details.
##
## You should have received a copy of the GNU Library General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##


import json
from pandas.core.frame import DataFrame
Expand Down
Loading

0 comments on commit 81a9727

Please sign in to comment.