Skip to content

Commit be3e206

Browse files
committed
initial commit
0 parents  commit be3e206

File tree

11 files changed

+187
-0
lines changed

11 files changed

+187
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
envs/
2+
*.egg-info
3+
build/
4+
lib/
5+
__pycache__/

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2018, Nicholas Bollweg
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the <organization> nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.md

README.md

Whitespace-only changes.

anaconda-project.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: robotframework-jupyterlibrary
2+
3+
channels:
4+
- conda-forge
5+
- defaults
6+
7+
commands:
8+
lab:
9+
unix: jupyter lab --no-browser --debug
10+
env_spec: rfjl37
11+
12+
list:
13+
unix: jupyter serverextension list
14+
env_spec: rfjl37
15+
16+
setup:
17+
unix: pip install -e . --no-deps --ignore-installed --no-cache-dir -vvv
18+
env_spec: rfjl37
19+
20+
lint:
21+
unix: |-
22+
isort -rc src \
23+
&& black src setup.py
24+
env_spec: rfjl37
25+
26+
env_specs:
27+
robotframework-jupyterlibrary:
28+
packages:
29+
- black
30+
- flake8
31+
- geckodriver
32+
- isort
33+
- jupyterlab
34+
- nodejs >8,<9
35+
- pillow
36+
- pytest
37+
- pytest-cov
38+
- python-chromedriver-binary
39+
- robotframework
40+
- robotframework-lint
41+
- robotframework-seleniumlibrary
42+
- sphinx
43+
- sphinx_rtd_theme
44+
- pip:
45+
- nteract_on_jupyter
46+
channels:
47+
- conda-forge
48+
- defaults
49+
rfjl37:
50+
inherit_from:
51+
- robotframework-jupyterlibrary
52+
packages:
53+
- python >=3.7,<3.8
54+
55+
rfjl2:
56+
inherit_from:
57+
- robotframework-jupyterlibrary
58+
packages:
59+
- python >=2.7,<3

azure-pipelines.yml

Whitespace-only changes.

environment.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: robotframework-jupyterlibrary
2+
3+
channels:
4+
- conda-forge
5+
- defaults
6+
7+
dependencies:
8+
- black
9+
- flake8
10+
- geckodriver
11+
- isort
12+
- jupyterlab
13+
- nodejs >8,<9
14+
- pillow
15+
- pytest
16+
- pytest-cov
17+
- python-chromedriver-binary
18+
- robotframework
19+
- robotframework-lint
20+
- robotframework-seleniumlibrary
21+
- sphinx
22+
- sphinx_rtd_theme
23+
- pip:
24+
- nteract_on_jupyter

setup.cfg

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
[metadata]
2+
name = robotframework-jupyterlibrary
3+
description = A Robot Framework library for testing Jupyter end-user applications
4+
long_description = file: README.md, CHANGELOG.md
5+
url = https://github.com/robots-from-jupyter/robotframework-jupyterlibrary
6+
author = Nicholas Bollweg
7+
author_email = nick.bollweg@gmail.com
8+
license = BSD-3-Clause
9+
keywords =
10+
Interactive
11+
Interpreter
12+
Shell
13+
Testing
14+
Web
15+
classifiers =
16+
Framework :: Jupyter
17+
Intended Audience :: Developers
18+
Intended Audience :: Information Technology
19+
License :: OSI Approved :: BSD License
20+
Programming Language :: Python
21+
Programming Language :: Python :: 3.6
22+
Programming Language :: Python :: 3 :: Only
23+
Topic :: Software Development :: Quality Assurance
24+
Topic :: Software Development :: Testing
25+
26+
[options]
27+
test_require =
28+
pytest
29+
install_requires =
30+
robotframework >3
31+
seleniumlibrary
32+
pillow
33+
package_dir =
34+
= src
35+
packages = find:
36+
include_package_data = True
37+
zip_safe = False
38+
39+
[options.package_data]
40+
* =
41+
resources/
42+
static/
43+
44+
[options.packages.find]
45+
where =
46+
src
47+
48+
[aliases]
49+
test = pytest
50+
51+
[flake8]
52+
exclude = .git,__pycache__,envs
53+
max-complexity = 10
54+
55+
[isort]
56+
force_alphabetical_sort = True
57+
force_single_line = True
58+
lines_after_imports = 2
59+
line_length = 200
60+
not_skip = __init__.py

setup.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import os
2+
import re
3+
4+
from setuptools import setup
5+
6+
7+
HERE = os.path.dirname(__file__)
8+
9+
with open(os.path.join(HERE, "src", "JupyterLibrary", "_version.py")) as fp:
10+
version = re.findall(r"""__version__ = "([^"]+)""", fp.read())[0]
11+
12+
setup(version=version)

src/JupyterLibrary/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from ._version import __version__ # noqa

0 commit comments

Comments
 (0)