febelfin-coda


Namefebelfin-coda JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://pypi.org/project/febelfin-coda/
SummaryA module to parse CODA files
upload_time2024-01-14 13:50:10
maintainer
docs_urlNone
authorTryton
requires_python>=3.5
licenseBSD
keywords coda parser
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            febelfin-coda
=============

febelfin-coda is a parser for `CODA files`_.

.. _CODA files: http://downloads.tryton.org/standards/coda-2.6.pdf

Nutshell
--------

Import::

    >>> import os
    >>> from coda import CODA

Instantiate::

    >>> coda = CODA('coda/CODA.txt')

The statements::

    >>> len(coda.statements)
    1
    >>> statement, = coda.statements
    >>> statement.account
    '435000000080'
    >>> statement.account_currency
    'EUR'
    >>> statement.old_balance
    Decimal('0')
    >>> statement.old_balance_date
    datetime.date(2006, 12, 6)
    >>> statement.new_balance
    Decimal('9405296.99')
    >>> statement.new_balance_date
    datetime.date(2006, 12, 7)

The transactions::

    >>> len(statement.moves)
    59
    >>> move = statement.moves[0]
    >>> move.value_date
    datetime.date(2006, 12, 6)
    >>> move.entry_date
    datetime.date(2006, 12, 6)
    >>> move.amount
    Decimal('-2578.25')
    >>> move.bank_reference
    'EPIB00048 AWIUBTKAPUO'
    >>> move.transaction_code
    '00799000'
    >>> move.communication
    "BORDEREAU DE DECOMPTE AVANCES    015 NUMERO D'OPERATION 495953"

To report issues please visit the `coda bugtracker`_.

.. _coda bugtracker: https://bugs.tryton.org/coda

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/febelfin-coda/",
    "name": "febelfin-coda",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "CODA parser",
    "author": "Tryton",
    "author_email": "foundation@tryton.org",
    "download_url": "https://files.pythonhosted.org/packages/f6/e3/5470f9a5a7e2356c2792f896b4dc95ae2af2ee23406b6dfd7b544faa78e7/febelfin-coda-0.3.0.tar.gz",
    "platform": null,
    "description": "febelfin-coda\n=============\n\nfebelfin-coda is a parser for `CODA files`_.\n\n.. _CODA files: http://downloads.tryton.org/standards/coda-2.6.pdf\n\nNutshell\n--------\n\nImport::\n\n    >>> import os\n    >>> from coda import CODA\n\nInstantiate::\n\n    >>> coda = CODA('coda/CODA.txt')\n\nThe statements::\n\n    >>> len(coda.statements)\n    1\n    >>> statement, = coda.statements\n    >>> statement.account\n    '435000000080'\n    >>> statement.account_currency\n    'EUR'\n    >>> statement.old_balance\n    Decimal('0')\n    >>> statement.old_balance_date\n    datetime.date(2006, 12, 6)\n    >>> statement.new_balance\n    Decimal('9405296.99')\n    >>> statement.new_balance_date\n    datetime.date(2006, 12, 7)\n\nThe transactions::\n\n    >>> len(statement.moves)\n    59\n    >>> move = statement.moves[0]\n    >>> move.value_date\n    datetime.date(2006, 12, 6)\n    >>> move.entry_date\n    datetime.date(2006, 12, 6)\n    >>> move.amount\n    Decimal('-2578.25')\n    >>> move.bank_reference\n    'EPIB00048 AWIUBTKAPUO'\n    >>> move.transaction_code\n    '00799000'\n    >>> move.communication\n    \"BORDEREAU DE DECOMPTE AVANCES    015 NUMERO D'OPERATION 495953\"\n\nTo report issues please visit the `coda bugtracker`_.\n\n.. _coda bugtracker: https://bugs.tryton.org/coda\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "A module to parse CODA files",
    "version": "0.3.0",
    "project_urls": {
        "Bug Tracker": "https://bugs.tryton.org/coda",
        "Download": "https://downloads.tryton.org/coda/",
        "Forum": "https://discuss.tryton.org/tags/coda",
        "Homepage": "https://pypi.org/project/febelfin-coda/",
        "Source Code": "https://code.tryton.org/coda"
    },
    "split_keywords": [
        "coda",
        "parser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94b7592a8d590867b9c88aaf97186bcd10db9ee8543e6d5d88f889ab3ee5f2f3",
                "md5": "024eb3d279efc9a31754a20bb95bf6d2",
                "sha256": "91d4bb87d3bd1ab23f6383ef44074a9c508e4c10568daeded0371802a3c61f28"
            },
            "downloads": -1,
            "filename": "febelfin_coda-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "024eb3d279efc9a31754a20bb95bf6d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 62381,
            "upload_time": "2024-01-14T13:50:08",
            "upload_time_iso_8601": "2024-01-14T13:50:08.910006Z",
            "url": "https://files.pythonhosted.org/packages/94/b7/592a8d590867b9c88aaf97186bcd10db9ee8543e6d5d88f889ab3ee5f2f3/febelfin_coda-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6e35470f9a5a7e2356c2792f896b4dc95ae2af2ee23406b6dfd7b544faa78e7",
                "md5": "3d634de1d35f127c35c33c200f81ca67",
                "sha256": "dcdd86ab7499d2994d8f4546781108c8f399d8194a03ab0cb1c2ab5b7304fb63"
            },
            "downloads": -1,
            "filename": "febelfin-coda-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3d634de1d35f127c35c33c200f81ca67",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 17214,
            "upload_time": "2024-01-14T13:50:10",
            "upload_time_iso_8601": "2024-01-14T13:50:10.885366Z",
            "url": "https://files.pythonhosted.org/packages/f6/e3/5470f9a5a7e2356c2792f896b4dc95ae2af2ee23406b6dfd7b544faa78e7/febelfin-coda-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-14 13:50:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "febelfin-coda"
}
        
Elapsed time: 0.24318s