Skip to content

Commit 1d15694

Browse files
author
Laurynas Butkus
committed
Add initial structure
1 parent d0285c3 commit 1d15694

File tree

7 files changed

+110
-0
lines changed

7 files changed

+110
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
5+
# C extensions
6+
*.so
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
bin/
12+
build/
13+
develop-eggs/
14+
dist/
15+
eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
25+
# Installer logs
26+
pip-log.txt
27+
pip-delete-this-directory.txt
28+
29+
# Unit test / coverage reports
30+
.tox/
31+
.coverage
32+
.cache
33+
nosetests.xml
34+
coverage.xml
35+
36+
# Translations
37+
*.mo
38+
39+
# Mr Developer
40+
.mr.developer.cfg
41+
.project
42+
.pydevproject
43+
44+
# Rope
45+
.ropeproject
46+
47+
# Django stuff:
48+
*.log
49+
*.pot
50+
51+
# Sphinx documentation
52+
docs/_build/
53+

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: python
2+
python:
3+
- 2.6
4+
- 2.7
5+
- 3.3
6+
- 3.4
7+
- 3.5
8+
- 3.6
9+
install:
10+
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install importlib unittest2; fi
11+
- pip install -r requirements.txt
12+
- pip install -r test-requirements.txt
13+
- python setup.py develop
14+
script:
15+
- nosetests
16+
env:
17+
global:
18+
secure: ppjKrL1CxLcjVt1UOop+eaPYCoB9VoXz6LyE4dGr9R9aZs6+R3y+Z0eCgXoOz82xdi/H8GbN8p/tDho5+AQyBzsIINE5W8hEfWraQo9jo3QspNjFyx5j4d5zf6dglqf3535FNEiI6NPXSlQH/WioUMpMvKS32UwBPhV+IEm7lycQevB+rOC9taDvGgapl2glTp32C7nNAS7iS7jScdhEBPFnPBhGEIUTtiWlsYAXnq1I7Jgub8GAjcFQloM5G92v7BhVQzBco8004lA5AG9zrh8aimB2KOc1ng8mot6x0how4lYImo48wBDDYqtHygO64Qg5fLm/xVtXGqlOYTO+iY0Qm1BeXQhVfmVwD+K8qq3PhZRHCCsjBcL0KTH3IMeHH4f38x0V/KZrEtE6/TPLzTZib2aWCX7Ei88aajZSq0TZA+6qqSq+G+Qs6YqapHl7E86UU+qhxO8ZIDIOsZz8Ikf09qWdwJThIROhYUHI+GB3y/5C4+jOG8hssFy2IO8mQYJRBBp0dwwyoJZq8WkPvwh5efUUReCDhl5vdNy6GE6I6NqsdyouiePAWrLhh1zr2rpZ7kgTyKGp5FInbFOJ7igDJnf5WhouPaFzgtUaVUHQlKKOPJunyxqZbMAPTea2oVRsORXObjCMU+rPSc81tgSc8xOnZKiRYfJPAUeOALI=

LICENSE.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ConvertAPI
2+
https://www.convertapi.com
3+
(c) 2011-2018 Baltsoft
4+
5+
ConvertAPI.Python
6+
https://github.com/ConvertAPI/convertapi-python
7+
Copyright (c) 2018 Tomas Rutkauskas
8+
9+
The MIT License
10+
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:
11+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12+
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.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests>=1.2.0

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[metadata]
2+
description-file = README.md
3+

setup.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env python
2+
3+
from setuptools.depends import get_module_constant
4+
from setuptools import setup
5+
6+
setup(
7+
name = 'convertapi',
8+
packages = ['convertapi'],
9+
version = get_module_constant('convertapi', '__version__'),
10+
description = 'Convert API Python Client',
11+
long_description = 'Convert various files like MS Word, Excel, PowerPoint, Images to PDF and Images. Create PDF and Images from url and raw HTML. Extract and create PowerPoint presentation from PDF. Merge, Encrypt, Split, Repair and Decrypt PDF files. All supported files conversions and manipulations can be found at https://www.convertapi.com/doc/supported-formats',
12+
author = 'Tomas Rutkauskas',
13+
author_email = 'support@convertapi.com',
14+
url = 'https://github.com/ConvertAPI/convertapi-python',
15+
download_url = 'https://github.com/ConvertAPI/convertapi-python',
16+
keywords = ['convert', 'api', 'client', 'conversion'],
17+
install_requires= ['requests>=2.4.2'],
18+
classifiers = [],
19+
license = 'MIT',
20+
)

test-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nose
2+
nose-setenv
3+
mock

0 commit comments

Comments
 (0)