{"id":13477206,"url":"https://github.com/python-excel/xlrd","last_synced_at":"2025-04-09T03:09:23.488Z","repository":{"id":2655244,"uuid":"3645885","full_name":"python-excel/xlrd","owner":"python-excel","description":"Please use openpyxl where you can...","archived":false,"fork":false,"pushed_at":"2024-07-08T18:29:05.000Z","size":3557,"stargazers_count":2173,"open_issues_count":3,"forks_count":437,"subscribers_count":95,"default_branch":"master","last_synced_at":"2025-04-02T02:08:55.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.python-excel.org/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-excel.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-03-07T04:50:48.000Z","updated_at":"2025-03-26T05:53:22.000Z","dependencies_parsed_at":"2024-06-18T19:48:48.995Z","dependency_job_id":"ebd4275f-241e-4bd6-ab53-d6de58d5b587","html_url":"https://github.com/python-excel/xlrd","commit_stats":{"total_commits":437,"total_committers":51,"mean_commits":8.568627450980392,"dds":0.6796338672768878,"last_synced_commit":"0c4e80b3d48dfe2250ac4e514c8231a742fee221"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-excel%2Fxlrd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-excel%2Fxlrd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-excel%2Fxlrd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-excel%2Fxlrd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-excel","download_url":"https://codeload.github.com/python-excel/xlrd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247968280,"owners_count":21025822,"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","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":[],"created_at":"2024-07-31T16:01:39.434Z","updated_at":"2025-04-09T03:09:23.460Z","avatar_url":"https://github.com/python-excel.png","language":"Python","readme":"xlrd\n====\n\n|Build Status|_ |Coverage Status|_ |Documentation|_ |PyPI version|_\n\n.. |Build Status| image:: https://circleci.com/gh/python-excel/xlrd/tree/master.svg?style=shield\n.. _Build Status: https://circleci.com/gh/python-excel/xlrd/tree/master\n\n.. |Coverage Status| image:: https://codecov.io/gh/python-excel/xlrd/branch/master/graph/badge.svg?token=lNSqwBBbvk\n.. _Coverage Status: https://codecov.io/gh/python-excel/xlrd\n\n.. |Documentation| image:: https://readthedocs.org/projects/xlrd/badge/?version=latest\n.. _Documentation: http://xlrd.readthedocs.io/en/latest/?badge=latest\n\n.. |PyPI version| image:: https://badge.fury.io/py/xlrd.svg\n.. _PyPI version: https://badge.fury.io/py/xlrd\n\n\nxlrd is a library for reading data and formatting information from Excel\nfiles in the historical ``.xls`` format.\n\n.. warning::\n\n  This library will no longer read anything other than ``.xls`` files. For\n  alternatives that read newer file formats, please see http://www.python-excel.org/.\n\nThe following are also not supported but will safely and reliably be ignored:\n\n*   Charts, Macros, Pictures, any other embedded object, **including** embedded worksheets.\n*   VBA modules\n*   Formulas, but results of formula calculations are extracted.\n*   Comments\n*   Hyperlinks\n*   Autofilters, advanced filters, pivot tables, conditional formatting, data validation\n\nPassword-protected files are not supported and cannot be read by this library.\n\nQuick start:\n\n.. code-block:: bash\n\n    pip install xlrd\n    \n.. code-block:: python\n\n    import xlrd\n    book = xlrd.open_workbook(\"myfile.xls\")\n    print(\"The number of worksheets is {0}\".format(book.nsheets))\n    print(\"Worksheet name(s): {0}\".format(book.sheet_names()))\n    sh = book.sheet_by_index(0)\n    print(\"{0} {1} {2}\".format(sh.name, sh.nrows, sh.ncols))\n    print(\"Cell D30 is {0}\".format(sh.cell_value(rowx=29, colx=3)))\n    for rx in range(sh.nrows):\n        print(sh.row(rx))\n\nFrom the command line, this will show the first, second and last rows of each sheet in each file:\n\n.. code-block:: bash\n\n    python PYDIR/scripts/runxlrd.py 3rows *blah*.xls\n","funding_links":[],"categories":["Python","数据读写与提取","Data Loading \u0026 Extraction","📚 فهرست","Awesome Python","Uncategorized"],"sub_categories":["Excel Integration","Excel 集成","کتابخانه هاي تحليل داده","Specific Formats Processing","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-excel%2Fxlrd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-excel%2Fxlrd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-excel%2Fxlrd/lists"}