Skip to content

Commit

Permalink
Update folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
apiad committed Jan 27, 2019
1 parent 8e3d799 commit b8d2fa0
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 28 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ ENV/
.mypy_cache/

.vscode
htmlcov
.coveragerc
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ before_install:
script:
- py.test
after_success:
- coveralls
- coveralls
28 changes: 27 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,30 @@ Contributions are highly appreciated. Just fork and submit a pull request. All c
* Basic layout of the API.
* Simple attribute and method based navigation.
* Automatic serialization to a JSON compatible object.
* Basic documentation.
* Basic documentation.

## Colaboration

This project is licensed MIT, so you know the drill. Fork, open a pull request, and make sure to have up-to-date tests with (ideally) a 100% coverage.

> MIT License
>
> Copyright (c) 2018 Alejandro Piad
>
> 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:
>
> The above copyright notice and this permission notice shall be included in all
> copies or substantial portions of the Software.
>
> 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.
25 changes: 0 additions & 25 deletions demo.py

This file was deleted.

1 change: 1 addition & 0 deletions jsonapi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from ._jsonapi import *
2 changes: 1 addition & 1 deletion jsonapi.py → jsonapi/_jsonapi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8

__all__ = ['JsonObj', 'JsonApi', 'parse']

Expand Down
2 changes: 2 additions & 0 deletions tests.py → jsonapi/tests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# coding: utf-8

import json
from jsonapi import JsonApi, JsonObj

Expand Down

0 comments on commit b8d2fa0

Please sign in to comment.