{"id":15297409,"url":"https://github.com/idlesign/dbf_light","last_synced_at":"2025-10-09T04:42:28.857Z","repository":{"id":62567002,"uuid":"138735335","full_name":"idlesign/dbf_light","owner":"idlesign","description":"Light and easy DBF reader","archived":false,"fork":false,"pushed_at":"2020-02-18T11:51:25.000Z","size":118,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-21T17:41:13.562Z","etag":null,"topics":["cli","dbf","python","python2","python3"],"latest_commit_sha":null,"homepage":"https://github.com/idlesign/dbf_light","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idlesign.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-26T12:32:32.000Z","updated_at":"2024-05-25T23:30:37.000Z","dependencies_parsed_at":"2022-11-03T17:15:30.954Z","dependency_job_id":null,"html_url":"https://github.com/idlesign/dbf_light","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/idlesign/dbf_light","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fdbf_light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fdbf_light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fdbf_light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fdbf_light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idlesign","download_url":"https://codeload.github.com/idlesign/dbf_light/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Fdbf_light/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000706,"owners_count":26082921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dbf","python","python2","python3"],"created_at":"2024-09-30T19:17:17.886Z","updated_at":"2025-10-09T04:42:28.839Z","avatar_url":"https://github.com/idlesign.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"dbf_light\n=========\nhttps://github.com/idlesign/dbf_light\n\n.. image:: https://idlesign.github.io/lbc/py2-lbc.svg\n   :target: https://idlesign.github.io/lbc/\n   :alt: LBC Python 2\n\n----\n\n|release| |lic| |ci| |coverage|\n\n.. |release| image:: https://img.shields.io/pypi/v/dbf_light.svg\n    :target: https://pypi.python.org/pypi/dbf_light\n\n.. |lic| image:: https://img.shields.io/pypi/l/dbf_light.svg\n    :target: https://pypi.python.org/pypi/dbf_light\n\n.. |ci| image:: https://img.shields.io/travis/idlesign/dbf_light/master.svg\n    :target: https://travis-ci.org/idlesign/dbf_light\n\n.. |coverage| image:: https://img.shields.io/coveralls/idlesign/dbf_light/master.svg\n    :target: https://coveralls.io/r/idlesign/dbf_light\n\n\n\nDescription\n-----------\n\n*Light and easy DBF reader*\n\nNo fancy stuff, just DBF reading for most common format versions.\n\n* Python 2.7, 3.5+;\n* Uses `namedtuple` for row representation and iterative row reading to minimize memory usage;\n* Works fine with cyrillic (supports KLADR and CBRF databases);\n* Reads .dbf from zip files.\n\n\nAPI\n---\n\n.. code-block:: python\n\n    from dbf_light import Dbf\n\n\n    with Dbf.open('some.dbf') as dbf:\n\n        for field in dbf.fields:\n            print('Field: %s' % field)\n\n        print('Rows (%s):' % dbf.prolog.records_count)\n\n        for row in dbf:\n            print(row)\n\n    # Read `some.dbf` from zip (ignoring filename case):\n    with Dbf.open_zip('some.dbf', 'here/myarch.zip', case_sensitive=False) as dbf:\n        ...\n\n\nCLI\n---\n\nRequires `click` package (can be installed with: `pip install dbf_light[cli]`).\n\n.. code-block:: bash\n\n    $ dbf_light describe myfile.dbf\n    $ dbf_light show myfile.dbf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Fdbf_light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidlesign%2Fdbf_light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Fdbf_light/lists"}