{"id":13469357,"url":"https://github.com/nryoung/algorithms","last_synced_at":"2025-03-26T06:32:08.642Z","repository":{"id":4362953,"uuid":"5499296","full_name":"nryoung/algorithms","owner":"nryoung","description":"This repository is not maintained","archived":true,"fork":false,"pushed_at":"2018-10-30T18:12:00.000Z","size":1866,"stargazers_count":2850,"open_issues_count":7,"forks_count":702,"subscribers_count":189,"default_branch":"master","last_synced_at":"2024-10-29T23:55:22.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nryoung.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-21T18:43:30.000Z","updated_at":"2024-10-21T19:06:28.000Z","dependencies_parsed_at":"2022-08-06T16:15:24.546Z","dependency_job_id":null,"html_url":"https://github.com/nryoung/algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryoung%2Falgorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryoung%2Falgorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryoung%2Falgorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nryoung%2Falgorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nryoung","download_url":"https://codeload.github.com/nryoung/algorithms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245604133,"owners_count":20642944,"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-31T15:01:35.678Z","updated_at":"2025-03-26T06:32:07.750Z","avatar_url":"https://github.com/nryoung.png","language":"Python","readme":"**This repository is no longer maintained, but is being kept around for educational purposes. If you want a more complete algorithms repo check out: https://github.com/keon/algorithms**\n=====\n\nAlgorithms\n==========\n\n.. image:: https://travis-ci.org/nryoung/algorithms.svg?branch=master\n    :target: https://travis-ci.org/nryoung/algorithms\n\n.. image:: http://codecov.io/github/nryoung/algorithms/coverage.svg?branch=master\n    :target: http://codecov.io/github/nryoung/algorithms?branch=master\n\n.. image:: https://readthedocs.org/projects/algorithms/badge/?version=latest\n    :target: http://algorithms.readthedocs.org/en/latest/?badge=latest\n\n.. image:: https://badge.fury.io/py/algorithms.svg\n    :target: https://badge.fury.io/py/algorithms\n\nAlgorithms is a library of algorithms and data structures implemented in Python.\n\nThe main purpose of this library is to be an educational tool. You probably\nshouldn't use these in production, instead, opting for the optimized versions of\nthese algorithms that can be found else where.\n\nYou should totally check out the `docs`_ for implementation details, complexities\nand further info.\n\nUsage\n-----\n\nIf you want to use the algorithms in your code it is as simple as:\n\n::\n\n    from algorithms.sorting import bubble_sort\n\n    my_list = bubble_sort.sort(my_list)\n\nFeatures\n--------\n\n- Pseudo code, algorithm complexities and futher info with each algorithm.\n- Test coverage for each algorithm and data structure.\n- Super sweet `documentation`_.\n\nInstallation:\n-------------\n\nInstallation is as easy as:\n\n::\n\n    $ pip install algorithms\n\n\nTests:\n------\n\nPytest is used as the main test runner and all Unit Tests can be run with:\n\n::\n\n    $ ./run_tests.py\n\n\nContributing:\n-------------\n\nContributions are always welcome. Check out the contributing guidelines to get\nstarted.\n\n.. _`docs`: http://algorithms.readthedocs.org/en/latest/\n.. _`documentation`: http://algorithms.readthedocs.org/en/latest/\n","funding_links":[],"categories":["Python","Algorithms and Design Patterns","Github Libraries","参考和论坛"],"sub_categories":["参考"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnryoung%2Falgorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnryoung%2Falgorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnryoung%2Falgorithms/lists"}