{"id":16387867,"url":"https://github.com/dotmpe/uriref","last_synced_at":"2025-02-22T12:21:18.003Z","repository":{"id":62586614,"uuid":"1965261","full_name":"dotmpe/uriref","owner":"dotmpe","description":"RegEx URIRef parser","archived":false,"fork":false,"pushed_at":"2021-12-23T17:49:24.000Z","size":281,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-03T07:29:04.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotmpe.png","metadata":{"files":{"readme":"ReadMe.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-06-28T08:43:28.000Z","updated_at":"2021-12-23T17:49:27.000Z","dependencies_parsed_at":"2022-11-03T22:16:13.196Z","dependency_job_id":null,"html_url":"https://github.com/dotmpe/uriref","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Furiref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Furiref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Furiref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmpe%2Furiref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotmpe","download_url":"https://codeload.github.com/dotmpe/uriref/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240171739,"owners_count":19759414,"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-10-11T04:27:47.063Z","updated_at":"2025-02-22T12:21:17.984Z","avatar_url":"https://github.com/dotmpe.png","language":"Python","readme":"Python uriref\n==============\n:version: 0.0.3-dev-20170106\n:last-update: 2020-10-11\n:description:\n  URL and URN parser written in regular expressions.\n  Based on RFC 2396 BNF terms, update to RFC 3986 planned but not started.\n:license: FreeBSD\n:status:\n  .. image:: https://requires.io/github/bvberkum/uriref/requirements.svg?branch=master\n    :target: https://requires.io/github/bvberkum/uriref/requirements/?branch=master\n    :alt: Requirements Status\n\n  .. image:: http://img.shields.io/travis/bvberkum/uriref.svg\n    :target: http://travis-ci.org/bvberkum/uriref\n    :alt: Build Status\n\n  .. image:: https://badge.fury.io/gh/bvberkum%2Furiref.png\n    :target: http://badge.fury.io/gh/bvberkum%2Furiref\n    :alt: GIT\n\n  .. image:: https://img.shields.io/github/license/bvberkum/uriref.svg\n    :alt: repo license\n\n  .. image:: https://img.shields.io/github/issues/bvberkum/uriref.svg\n    :alt: issues\n\n  .. image:: https://img.shields.io/github/commit-activity/y/bvberkum/uriref.svg\n    :alt: commits per year\n\n  .. image:: https://img.shields.io/maintenance/yes/2017.svg\n    :alt: maintained last year\n\n\nThis is an experimental library. Do not use it in production unless you are\nprepared to put in time for testing that it does what you need.\n\n.. figure:: doc/stdlib-comparison.svg\n   :target: doc/stdlib-comparison.png\n   :class: diagram\n\n   uriref reference matching, compared to stdlib urlparse for several\n   iteration-counts. The implementations are not tested for identical\n   operation.\n\n   The diagram shows constant times for each iteration count.\n   The regex implementation outperforms stdlib's urlparse module\n   by almost 100%. The latter runs at slighty above 6e-4 seconds,\n   with the former at ~3.5e-4 seconds (at my machine).\n\n   Memory profiling remains to be done, I expect regex is taking a lot\n   more.\n\nThere are almost 100 tests, a good bunch of which need to be reviewed (33\nfailures). The modules has 34% test coverage.\n\nInstallation of library and `parseuri.py` is via::\n\n  python setup.py install\n\nFor lib source see `uriref \u003curiref/__init__.py\u003e`__.\n\nUsage\n-----\nExamples::\n\n  uriref-cli.py -qs absolute \u003cURL\u003e # Quietly validate URL reference\n  uriref-cli.py --pretty \u003cURL\u003e     # Parse URI parts to human readable table\n  uriref-cli.py -O yaml \u003cURL\u003e      # Parse URI parts to YAML\n  uriref-cli.py --pretty -O json \u003cURL\u003e # etc.\n\nSee also ``bin/examples.py``.\n\nTests\n-----\n::\n\n  python test/py/main.py\n\nOr::\n\n  make test\n\n`Coverage report \u003cdoc/htmlcov/index.html\u003e`_\nand `test results \u003cdoc/uriref_testreport.html\u003e`_ are available in html.\n\nThere are tests that show for which sort of URLs uriref is compatible with\nstdlib urlparse.\n\nTODO The setup should be fixed by splitting up the expected test results to\nfunction. Currently there is one set of parameters for all test methods.\n\n.. XXX: rSt includes dont work on github\n.. .. include:: uriref/__init__.py\n      :start-line: 1\n      :end-line: 189\n\n.. vim:ft=rst:\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Furiref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotmpe%2Furiref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmpe%2Furiref/lists"}