Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.0 version #32

Merged
merged 90 commits into from
Jan 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
1a78529
WIP: Cadastrar cliente
marcelobelli May 26, 2017
9f5014b
WIP: CLI Cadastrar prestador, config e cliente funcionando
marcelobelli Aug 8, 2017
bdc040f
WIP: Envio NFSe homologação e produção operacional
marcelobelli Aug 14, 2017
68079ca
WIP: Refatoração cadastro e helpers
marcelobelli Aug 15, 2017
eabe795
Merge pull request #2 from marcelobelli/feature/cli
marcelobelli Oct 11, 2017
802a037
Create LICENSE
ficorrea Oct 11, 2017
f654e7e
Merge pull request #1 from ficorrea/add-license-1
ficorrea Oct 11, 2017
5397f08
Delete LICENSE
ficorrea Oct 11, 2017
e1438e9
Create LICENSE
ficorrea Oct 11, 2017
ae2e6cb
Update LICENSE
ficorrea Oct 11, 2017
9d94b91
Merge pull request #2 from ficorrea/enhancement/new-licence
ficorrea Oct 11, 2017
016bc4a
Update LICENSE
ficorrea Oct 11, 2017
353a55d
Merge pull request #3 from ficorrea/enhancement/new-licence-1
ficorrea Oct 11, 2017
4513fc6
Adicionado HOW-TO com a documentação da biblioteca
orlandosaraivajr Oct 11, 2017
bf54f12
Merge pull request #11 from ficorrea/development
marcelobelli Oct 11, 2017
158bca7
Correção Licença
marcelobelli Oct 11, 2017
943e467
Merge pull request #12 from marcelobelli/melhorias/mudanca-licenca
marcelobelli Oct 11, 2017
4eaeca6
Merge pull request #13 from orlandosaraivajr/feature/documentacao
marcelobelli Oct 14, 2017
55bff76
Serviço, prestador e tomador: cli e modulo conversam via obj ponta a …
marcelobelli Oct 11, 2017
d44ce41
Correção testes
marcelobelli Oct 11, 2017
945352f
RPS: cli e modulo conversam via obj ponta a ponta
marcelobelli Oct 11, 2017
8ddd10b
Refatoração serial prestador
marcelobelli Oct 14, 2017
8316ddd
Refatoração serial tomador
marcelobelli Oct 14, 2017
3e5a8ce
Refatoração serial servico
marcelobelli Oct 14, 2017
43ef8f7
Refatoração serial rps
marcelobelli Oct 14, 2017
63d2925
Refatoração imports
marcelobelli Oct 14, 2017
080e4d0
isort
marcelobelli Oct 14, 2017
965433d
autoflake
marcelobelli Oct 14, 2017
d44616b
Refatoração Facade
marcelobelli Oct 27, 2017
1d445eb
Merge pull request #14 from marcelobelli/melhorias/refatoracao-curitiba
marcelobelli Oct 27, 2017
beea988
Ajustes README.md e CLI.md
marcelobelli Oct 27, 2017
7646eb2
Merge pull request #15 from marcelobelli/melhorias/ajustes-README
marcelobelli Oct 27, 2017
4d9fb07
Movi pynfse.py para dentro da pasta do projeto
marcelobelli Oct 29, 2017
69178ab
Entry point e alteração licença no setup
marcelobelli Oct 29, 2017
a0c97b3
Alteração documentação
marcelobelli Oct 29, 2017
1d534b3
Merge pull request #16 from marcelobelli/melhorias/comportamento-nati…
marcelobelli Oct 29, 2017
b442b7c
Update requirements
marcelobelli Dec 26, 2017
01947de
Merge pull request #17 from marcelobelli/update-dependencies
marcelobelli Dec 26, 2017
8e360fb
Mudança entidades para models
marcelobelli Jan 10, 2018
a1be4b1
SimpleModel Prestador
marcelobelli Jan 10, 2018
128b635
SimpleModel Tomador
marcelobelli Jan 10, 2018
bb786db
SimpleModel RPS
marcelobelli Jan 10, 2018
e8e6cdf
SimpleModel Serviço
marcelobelli Jan 10, 2018
f88c7d8
SimpleModel Lote RPS
marcelobelli Jan 10, 2018
3655b49
Refatoração models
marcelobelli Jan 11, 2018
c5d0474
Refatoração serialização Lote RPS
marcelobelli Jan 11, 2018
733075f
Ajuste CLI
marcelobelli Jan 11, 2018
4def99b
Refatoração serialização e testes
marcelobelli Feb 13, 2018
a651c9b
Adicionado pysimplemodel no requirements e setup.py
marcelobelli Feb 13, 2018
3234403
Merge pull request #18 from marcelobelli/simple-model
marcelobelli Feb 13, 2018
b732693
Remove requests version pin
marcelobelli Oct 13, 2018
7b5c457
Update travis
marcelobelli Oct 13, 2018
0ab64b5
Make variables belongs to the instance
marcelobelli Oct 13, 2018
f9784ee
Travis adjustments
marcelobelli Oct 13, 2018
1919ba9
Remove global dist
marcelobelli Oct 13, 2018
c8b0028
Remove 3.5.*
marcelobelli Oct 13, 2018
d9d740a
Merge pull request #19 from marcelobelli/bugfix
marcelobelli Oct 13, 2018
cd749d0
Update setup requirements
marcelobelli Oct 13, 2018
89edf4f
Remove CLI
marcelobelli Oct 13, 2018
b798a0e
Merge pull request #20 from marcelobelli/cleanup
marcelobelli Oct 13, 2018
0e16c5d
Add pre-commits hooks and pytest config
marcelobelli Oct 14, 2018
8ca59dc
Rename folder utils to base
marcelobelli Oct 14, 2018
3e1c636
Refactored models and tests
marcelobelli Oct 14, 2018
b8a66e4
Create tests for the models
marcelobelli Oct 14, 2018
a2705c3
Update Travis CI
marcelobelli Oct 14, 2018
bd54110
Merge pull request #21 from marcelobelli/refactor_tests
marcelobelli Oct 14, 2018
dcd0a07
Refactor NFSeSoapClient
marcelobelli Oct 27, 2018
eb5dfe1
Merge pull request #22 from marcelobelli/refactor_soap_client
marcelobelli Oct 27, 2018
19083c8
Rename class, methods, vars and refactor tests
marcelobelli Nov 22, 2018
8969952
Rename file
marcelobelli Dec 28, 2018
f4ca37a
Create certificate tests
marcelobelli Dec 28, 2018
9aaed3b
Merge pull request #24 from marcelobelli/refactor
marcelobelli Dec 28, 2018
def6554
Create pyproject.toml and remove requirements and setup.cfg
marcelobelli Oct 25, 2019
889d534
Code format
marcelobelli Oct 25, 2019
e788f25
Merge pull request #25 from marcelobelli/poetry
marcelobelli Oct 25, 2019
b3fc941
Black formatting
marcelobelli Oct 25, 2019
4ce5c42
Merge pull request #26 from marcelobelli/black
marcelobelli Oct 25, 2019
381ede0
Create Prestador and Tomador model based on pydantic
marcelobelli Oct 28, 2019
860b961
Merge pull request #27 from marcelobelli/pydantic-01
marcelobelli Oct 28, 2019
8206b7d
Create Servico model based on pydantic
marcelobelli Oct 29, 2019
6a73496
Create RPS model based on pydantic
marcelobelli Oct 29, 2019
c497d20
Create LoteRPS and PedidoCancelamentoNFSe model based on pydantic
marcelobelli Oct 29, 2019
78eeac1
Merge pull request #28 from marcelobelli/pydantic-02
marcelobelli Oct 29, 2019
8f62ccd
Remove pysimplemodel
marcelobelli Oct 29, 2019
2746561
Merge pull request #29 from marcelobelli/pydantic-03
marcelobelli Oct 29, 2019
5f749d7
Change facade arg type
marcelobelli Jan 3, 2020
f23e0a5
Merge pull request #30 from marcelobelli/dict_insted_model
marcelobelli Jan 3, 2020
cde529b
Rename module from PyNFSe to pynfse
marcelobelli Jan 3, 2020
c0c2bd3
Organize pyproject
marcelobelli Jan 6, 2020
c64f87e
Merge pull request #31 from marcelobelli/bump_version
marcelobelli Jan 7, 2020
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
5 changes: 0 additions & 5 deletions .landscape.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
repos:
- repo: git@github.com:pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: debug-statements
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-ast
- id: check-byte-order-marker
- id: check-json
- id: check-symlinks
- id: check-vcs-permalinks
- id: check-xml
- id: check-yaml
- id: forbid-new-submodules
- id: flake8
args: ['--exclude=docs/*,*migrations*,_schema.py,_dsig.py', '--ignore=E501,W503']

- repo: local
hooks:
- id: check-datetime-now
name: check_datetime_now
description: Prefer datetime.utcnow()
language: pygrep
entry: 'datetime\.now\(\)'
types: [python]

- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
additional_dependencies: ['toml']

- repo: https://github.com/python/black
rev: 19.3b0
hooks:
- id: black
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
language: python

python:
- "3.6"
cache: pip

matrix:
include:
- python: '3.6.0'
- python: '3.6.1'
- python: '3.6.2'
- python: '3.6.3'
- python: '3.6.4'
- python: '3.6.5'
- python: '3.6.6'
- python: '3.7.0'
dist: xenial
sudo: true

install:
- pip install -r requirements.txt
- pip install coveralls

script:
- coverage run --source=PyNFSe setup.py test
- pytest

after_success:
- coveralls
21 changes: 0 additions & 21 deletions LICENCE

This file was deleted.

165 changes: 165 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.


This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.

0. Additional Definitions.

As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.

"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.

An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.

A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".

The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.

The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.

1. Exception to Section 3 of the GNU GPL.

You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.

2. Conveying Modified Versions.

If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:

a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or

b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the object code with a copy of the GNU GPL and this license
document.

4. Combined Works.

You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:

a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)

5. Combined Libraries.

You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:

a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.

b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.

6. Revised Versions of the GNU Lesser General Public License.

The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.

Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.

If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
1 change: 0 additions & 1 deletion PyNFSe/nfse/pr/curitiba/__init__.py

This file was deleted.

Loading