otovo / python-netsgiro Goto Github PK
View Code? Open in Web Editor NEWFile parsers for Nets AvtaleGiro and OCR Giro
Home Page: https://netsgiro.readthedocs.io/
License: Apache License 2.0
File parsers for Nets AvtaleGiro and OCR Giro
Home Page: https://netsgiro.readthedocs.io/
License: Apache License 2.0
I suggest we
'Typing :: Typed'
metadata (#68)MANIFEST.in
with https://python-poetry.org/docs/pyproject/#include-and-exclude (#83)And issue a v2 release. Don't think it should take too much effort to do this.
Getting the following traceback:
Python 2.7.10 (default, Feb 6 2017, 23:53:20)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import netsgiro
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/netsgiro/__init__.py", line 6, in <module>
from netsgiro.objects import * # noqa: Reexport
File "/Library/Python/2.7/site-packages/netsgiro/objects.py", line 56
def from_records(cls, records: List[Record]) -> 'Transmission':
^
SyntaxError: invalid syntax
Is Python 2.7 supported?
We tried our first test with a file generated with the library.
Would you have any hint on how to solve this error (ERROR in submitted BBS direct debit file received from CPS)
Here is the test file we used:
NY000010000080802311221000080800000000000000000000000000000000000000000000000000
NY210020000000000000000514300824766000000000000000000000000000000000000000000000
NY2121300000001231122 00000000000031000 71888400107498000000
NY212131000000118884 P03039 00000
NY210088000000010000000400000000000031000231122231122000000000000000000000000000
NY000089000000010000000600000000000031000231122000000000000000000000000000000000
we sent the test yesterday.
I'm trying to parse a FBO file, but when I execute: netsgiro.parse(data)
I have an error: ValueError: time data '000000' does not match format '%d%m%y'
Any idea what is going wrong?
here is a sample of my FBO file:
NY000010000080805594114000000000000000000000000000000000000000000000000000000000
NY212420000000000000017114300824766000000000000000000000000000000000000000000000
NY21947000000012 71484800069387N00000000000000000000000000000000000000
NY21947000000022 71864800104450N00000000000000000000000000000000000000
NY212488000000020000000400000000000000000000000000000000000000000000000000000000
NY000089000000020000000600000000000000000000000000000000000000000000000000000000
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.