{"id":13701142,"url":"https://github.com/akoumjian/datefinder","last_synced_at":"2026-02-06T10:02:14.507Z","repository":{"id":3272983,"uuid":"48925865","full_name":"akoumjian/datefinder","owner":"akoumjian","description":"Find dates inside text using Python and get back datetime objects","archived":false,"fork":false,"pushed_at":"2024-05-13T14:05:22.000Z","size":537,"stargazers_count":665,"open_issues_count":103,"forks_count":170,"subscribers_count":15,"default_branch":"master","last_synced_at":"2026-01-04T14:17:51.644Z","etag":null,"topics":["datetime","nlp","parser"],"latest_commit_sha":null,"homepage":"http://datefinder.readthedocs.org/en/latest/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akoumjian.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"akoumjian"}},"created_at":"2016-01-02T22:23:12.000Z","updated_at":"2025-11-12T12:44:24.000Z","dependencies_parsed_at":"2024-06-12T16:52:03.098Z","dependency_job_id":"9ddc1a54-0812-4717-a801-03828402bbf7","html_url":"https://github.com/akoumjian/datefinder","commit_stats":{"total_commits":147,"total_committers":21,"mean_commits":7.0,"dds":0.6598639455782314,"last_synced_commit":"5376ece0a522c44762b1ab656fc80737b427ed16"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/akoumjian/datefinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akoumjian%2Fdatefinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akoumjian%2Fdatefinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akoumjian%2Fdatefinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akoumjian%2Fdatefinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akoumjian","download_url":"https://codeload.github.com/akoumjian/datefinder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akoumjian%2Fdatefinder/sbom","scorecard":{"id":176569,"data":{"date":"2025-08-11","repo":{"name":"github.com/akoumjian/datefinder","commit":"5376ece0a522c44762b1ab656fc80737b427ed16"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":2,"reason":"Found 6/23 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/python-publish.yml:16","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/akoumjian/datefinder/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/akoumjian/datefinder/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/akoumjian/datefinder/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/akoumjian/datefinder/python-publish.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:32","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T17:47:34.022Z","repository_id":3272983,"created_at":"2025-08-16T17:47:34.022Z","updated_at":"2025-08-16T17:47:34.022Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29157466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["datetime","nlp","parser"],"created_at":"2024-08-02T20:01:19.686Z","updated_at":"2026-02-06T10:02:14.422Z","avatar_url":"https://github.com/akoumjian.png","language":"HTML","funding_links":["https://github.com/sponsors/akoumjian"],"categories":["HTML","Python"],"sub_categories":[],"readme":"datefinder - extract dates from text\n====================================\n\n.. image:: https://github.com/akoumjian/datefinder/actions/workflows/python-package.yml/badge.svg\n    :target: https://github.com/akoumjian/datefinder\n    :alt: Build Status\n\n.. image:: https://img.shields.io/pypi/dm/datefinder.svg\n    :target: https://pypi.python.org/pypi/datefinder/\n    :alt: pypi downloads per day\n\n.. image:: https://img.shields.io/pypi/v/datefinder.svg\n    :target: https://pypi.python.org/pypi/datefinder\n    :alt: pypi version\n\n\nA python module for locating dates inside text. Use this package to extract all sorts \nof date like strings from a document and turn them into datetime objects.\n\nThis module finds the likely datetime strings and then uses  \n`dateutil` to convert to the datetime object.\n\n\nInstallation\n------------\n\n**With pip**\n\n.. code-block:: sh\n\n    pip install datefinder\n\n**Note:  I do not publish the version on conda forge and cannot verify its integrity.**\n\nHow to Use\n----------\n\n\n.. code-block:: python\n\n    In [1]: string_with_dates = \"\"\"\n       ...: ...\n       ...: entries are due by January 4th, 2017 at 8:00pm\n       ...: ...\n       ...: created 01/15/2005 by ACME Inc. and associates.\n       ...: ...\n       ...: \"\"\"\n\n    In [2]: import datefinder\n\n    In [3]: matches = datefinder.find_dates(string_with_dates)\n\n    In [4]: for match in matches:\n       ...:     print match\n       ...:\n    2017-01-04 20:00:00\n    2005-01-15 00:00:00\n\n\nDemo\n----\n\n-  🎞️ `Video demo`_ by Calmcode.io. :star: \n\n.. _Video demo: https://calmcode.io/shorts/datefinder.py.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakoumjian%2Fdatefinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakoumjian%2Fdatefinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakoumjian%2Fdatefinder/lists"}