Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion .docgen
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# read docs_readme.rst
pipenv shell && pdoc3 --html upwork
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
ignore = E501, E203, W503, E231
136 changes: 113 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,114 @@
*.*~
*.pyc
*.swo
*.swp
*.vim
.project
docs/*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# pipenv
Pipfile*

# C extensions
*.so

# nox
.nox/

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.pydevproject
.settings/*
build/*
dist/*
lib/*
src/*
bin/*
include/*
man/*
.env/*
examples/upwork
upwork/__init__.py.back
python_upwork.egg-info
reference-docs
_gh-pages
.idea
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# pdoc3 documentation
html/

# mypy
.mypy_cache/

# IDE settings
.vscode/
2 changes: 1 addition & 1 deletion .tests
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nosetests
nox
27 changes: 14 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
language: python
os: linux
cache:
pip: true
matrix:
include:
- python: "3.8"
env: NOXSESSION="tests-3.8"
- python: "3.8"
env: NOXSESSION="lint"
dist: xenial
install:
- pip install nox

python:
- "2.7"
- "3.6"

install: "pip install -r requirements.py"

script: nosetests

notifications:
email:
recipients:
- apisupport@upwork.com
on_failure: change
script:
- nox --non-interactive --session "$NOXSESSION"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Release History

## 2.0.0
* Release of Python 3 compatible library
23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Install project automation tool [`nox`](https://nox.thea.codes/en/stable/):

```
python -m pip install --user nox
```

### Unit Tests

```
nox -s tests
```

### Lint

```
nox -s lint
```

### Publish to PyPI

```
nox -s publish
```
9 changes: 8 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
include README.rst
include *
include *.md LICENSE

recursive-include example *

exclude .flake8 noxfile.py .coverage .coveragerc .gitignore .travis.yml .tests .docgen Pipfile*
prune example
prune tests
110 changes: 0 additions & 110 deletions Makefile

This file was deleted.

Loading