Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 7713741

Browse files
authored
Merge pull request #45 from upwork/v2.0.0
v2.0.0
2 parents 147fa24 + 0d9ccb7 commit 7713741

127 files changed

Lines changed: 3351 additions & 7044 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.docgen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# read docs_readme.rst
1+
pipenv shell && pdoc3 --html upwork

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 88
3+
ignore = E501, E203, W503, E231

.gitignore

Lines changed: 113 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,114 @@
1-
*.*~
2-
*.pyc
3-
*.swo
4-
*.swp
5-
*.vim
6-
.project
7-
docs/*
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# pipenv
7+
Pipfile*
8+
9+
# C extensions
10+
*.so
11+
12+
# nox
13+
.nox/
14+
15+
# Distribution / packaging
16+
.Python
17+
env/
18+
build/
19+
develop-eggs/
20+
dist/
21+
downloads/
22+
eggs/
23+
.eggs/
24+
lib/
25+
lib64/
26+
parts/
27+
sdist/
28+
var/
29+
wheels/
30+
*.egg-info/
31+
.installed.cfg
32+
*.egg
33+
34+
# PyInstaller
35+
# Usually these files are written by a python script from a template
36+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
37+
*.manifest
38+
*.spec
39+
40+
# Installer logs
41+
pip-log.txt
42+
pip-delete-this-directory.txt
43+
44+
# Unit test / coverage reports
45+
htmlcov/
46+
.tox/
847
.coverage
9-
.pydevproject
10-
.settings/*
11-
build/*
12-
dist/*
13-
lib/*
14-
src/*
15-
bin/*
16-
include/*
17-
man/*
18-
.env/*
19-
examples/upwork
20-
upwork/__init__.py.back
21-
python_upwork.egg-info
22-
reference-docs
23-
_gh-pages
24-
.idea
48+
.coverage.*
49+
.cache
50+
nosetests.xml
51+
coverage.xml
52+
*.cover
53+
.hypothesis/
54+
.pytest_cache/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# pyenv
81+
.python-version
82+
83+
# celery beat schedule file
84+
celerybeat-schedule
85+
86+
# SageMath parsed files
87+
*.sage.py
88+
89+
# dotenv
90+
.env
91+
92+
# virtualenv
93+
.venv
94+
venv/
95+
ENV/
96+
97+
# Spyder project settings
98+
.spyderproject
99+
.spyproject
100+
101+
# Rope project settings
102+
.ropeproject
103+
104+
# mkdocs documentation
105+
/site
106+
107+
# pdoc3 documentation
108+
html/
109+
110+
# mypy
111+
.mypy_cache/
112+
113+
# IDE settings
114+
.vscode/

.tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nosetests
1+
nox

.travis.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
language: python
2+
os: linux
3+
cache:
4+
pip: true
5+
matrix:
6+
include:
7+
- python: "3.8"
8+
env: NOXSESSION="tests-3.8"
9+
- python: "3.8"
10+
env: NOXSESSION="lint"
11+
dist: xenial
12+
install:
13+
- pip install nox
214

3-
python:
4-
- "2.7"
5-
- "3.6"
6-
7-
install: "pip install -r requirements.py"
8-
9-
script: nosetests
10-
11-
notifications:
12-
email:
13-
recipients:
14-
- apisupport@upwork.com
15-
on_failure: change
15+
script:
16+
- nox --non-interactive --session "$NOXSESSION"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Release History
2+
3+
## 2.0.0
4+
* Release of Python 3 compatible library

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Install project automation tool [`nox`](https://nox.thea.codes/en/stable/):
2+
3+
```
4+
python -m pip install --user nox
5+
```
6+
7+
### Unit Tests
8+
9+
```
10+
nox -s tests
11+
```
12+
13+
### Lint
14+
15+
```
16+
nox -s lint
17+
```
18+
19+
### Publish to PyPI
20+
21+
```
22+
nox -s publish
23+
```

MANIFEST.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
include README.rst
1+
include *
2+
include *.md LICENSE
3+
4+
recursive-include example *
5+
6+
exclude .flake8 noxfile.py .coverage .coveragerc .gitignore .travis.yml .tests .docgen Pipfile*
7+
prune example
8+
prune tests

Makefile

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)