GithubHelp home page GithubHelp logo

otovo / python-netsgiro Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 5.0 889 KB

File parsers for Nets AvtaleGiro and OCR Giro

Home Page: https://netsgiro.readthedocs.io/

License: Apache License 2.0

Python 100.00%
avtalegiro ocr-giro python

python-netsgiro's People

Contributors

jodal avatar klette avatar sondrelg avatar sourcery-ai[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-netsgiro's Issues

parse a FBO file

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

ERROR in submitted BBS direct debit file received from CPS

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.

v2 release

I suggest we

  • chore: Drop support for Python 3.5 and 3.6 since they've both reached EOL (#16)
  • chore: Add pyupgrade and upgrade syntax and types (#18)
  • add a py.typed and 'Typing :: Typed' metadata (#68)
  • feat: Add Python 3.9, 3.10, and 3.11-alpha support (start by adding to the test matrix and metadata) (#17)
  • chore: Add standard isort + coverage + black configuration, and move linting to pre-commit (#20, #18)
  • chore: Replace circleci setup with Github actions to mirror other repos (#16)
  • chore: Drop tox (#16)
  • chore: Add a publication workflow which uses Github releases and poetry to build and publish the new version to PyPi (#82)
  • feat: Add support for KID-change agreements
  • feat: Add support for minimum date validation (#75)
  • feat: Add support for maximum date validation (#77)
  • chore: Replace MANIFEST.in with https://python-poetry.org/docs/pyproject/#include-and-exclude (#83)
  • chore: Add all changed to CHANGELOG
  • chore: Add back linting/mypy to pipeline

And issue a v2 release. Don't think it should take too much effort to do this.

Syntax error when loading the library on Python 2.7

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.