{"id":21013469,"url":"https://github.com/heavenshell/py-pyltsv","last_synced_at":"2025-07-28T01:35:14.393Z","repository":{"id":6984774,"uuid":"8246933","full_name":"heavenshell/py-pyltsv","owner":"heavenshell","description":"Dead simple LTSV parser written in Python C extension","archived":false,"fork":false,"pushed_at":"2013-10-03T14:22:20.000Z","size":132,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-25T22:17:47.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/heavenshell.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-17T06:13:43.000Z","updated_at":"2017-04-21T07:06:46.000Z","dependencies_parsed_at":"2022-09-21T02:13:05.378Z","dependency_job_id":null,"html_url":"https://github.com/heavenshell/py-pyltsv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heavenshell/py-pyltsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pyltsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pyltsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pyltsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pyltsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heavenshell","download_url":"https://codeload.github.com/heavenshell/py-pyltsv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fpy-pyltsv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451161,"owners_count":24089293,"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-07-27T02:00:11.917Z","response_time":82,"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":[],"created_at":"2024-11-19T09:42:34.439Z","updated_at":"2025-07-28T01:35:14.363Z","avatar_url":"https://github.com/heavenshell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pyltsv\n======\n\nDead simple LTSV parser written in Python C Extension.\n\n- `Repository \u003chttps://github.com/heavenshell/py-pyltsv\u003e`_\n\n\nThis is a experimental library.\n\nIf you want more stable ltsv library, recommend to use `ltsv \u003chttp://pypi.python.org/pypi/ltsv\u003e`_.\n\nInstallation\n------------\n\n::\n\n  $ virtualenv --distribute pyltsv_sample\n  $ source pyltsv_sample/bin/activate\n  $ git clone https://github.com/heavenshell/py-pyltsv.git\n  $ python setup.py build\n  $ python setup.py install\n\nUsage\n-----\n\n::\n\n  \u003e\u003e\u003e from pyltsv import parse_file, parse_line\n  \u003e\u003e\u003e parse_file(\"ip:127.0.0.1\\thost:localhost\")\n  {'ip': '127.0.0.1', 'host': 'localhost'}\n\n\nBenchmark\n---------\nPyltsv is written in C extension.\nSo it's faster than pure Python imprementation.\n\nBenchmark script is in `benchmark/benchmark.py`.\n\n============== =============\nImprementation Score\n============== =============\nPure Python    111.830234528\nC Extension    80.0704956055\n============== =============\n\nIf you want to run benchmark script, copy `pyltsv.so` from `build` directory.\n\n::\n\n  $ python setup.py build\n  $ cp build/lib.macosx-10.8-x86_64-2.7/pyltsv/pyltsv.so benchmark/.\n  $ cd benchmark\n  $ python benchmark.py\n\n\nContributing\n------------\n1. Fork it\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create new Pull Request\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fpy-pyltsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheavenshell%2Fpy-pyltsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fpy-pyltsv/lists"}