competitive-programming-lib


Namecompetitive-programming-lib JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/yourusername/competitive-programming-lib
SummaryA library of algorithms and data structures for competitive programming
upload_time2024-09-08 16:29:38
maintainerNone
docs_urlNone
authorYour Name
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Competitive Programming Library

A comprehensive library of algorithms and data structures commonly used in competitive programming.

## Installation

You can install the package using pip:
```
pip install competitive-programming-lib
```


## Usage

Here's a quick example of how to use some of the algorithms:

```python
from competitive_programming_lib import CompetitiveProgrammingLib as cpl

# Dijkstra's Algorithm
graph = {
    0: {1: 4, 2: 1},
    1: {3: 1},
    2: {1: 2, 3: 5},
    3: {}
}
distances, predecessors = cpl.dijkstra(graph, 0)
print("Shortest distances from node 0:", distances)

# More examples...


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/competitive-programming-lib",
    "name": "competitive-programming-lib",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/90/21/a7b371ac83a03cacb80c939d0e423b62f6d0e011387330ffb43a0124de6d/competitive-programming-lib-0.1.0.tar.gz",
    "platform": null,
    "description": "# Competitive Programming Library\r\n\r\nA comprehensive library of algorithms and data structures commonly used in competitive programming.\r\n\r\n## Installation\r\n\r\nYou can install the package using pip:\r\n```\r\npip install competitive-programming-lib\r\n```\r\n\r\n\r\n## Usage\r\n\r\nHere's a quick example of how to use some of the algorithms:\r\n\r\n```python\r\nfrom competitive_programming_lib import CompetitiveProgrammingLib as cpl\r\n\r\n# Dijkstra's Algorithm\r\ngraph = {\r\n    0: {1: 4, 2: 1},\r\n    1: {3: 1},\r\n    2: {1: 2, 3: 5},\r\n    3: {}\r\n}\r\ndistances, predecessors = cpl.dijkstra(graph, 0)\r\nprint(\"Shortest distances from node 0:\", distances)\r\n\r\n# More examples...\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A library of algorithms and data structures for competitive programming",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/yourusername/competitive-programming-lib"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6c04aa291407733f8f066db352c26747b30d754cf35aca1f7412d77cae38e266",
                "md5": "17ca47368455fece67538030f5231deb",
                "sha256": "55c520ccf4d58b18e3938dcdbd34fd506199d5bd1863c0a786bf9b71850fc3f5"
            },
            "downloads": -1,
            "filename": "competitive_programming_lib-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "17ca47368455fece67538030f5231deb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6221,
            "upload_time": "2024-09-08T16:29:37",
            "upload_time_iso_8601": "2024-09-08T16:29:37.360638Z",
            "url": "https://files.pythonhosted.org/packages/6c/04/aa291407733f8f066db352c26747b30d754cf35aca1f7412d77cae38e266/competitive_programming_lib-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9021a7b371ac83a03cacb80c939d0e423b62f6d0e011387330ffb43a0124de6d",
                "md5": "3e3bef85f61d234fd8baa51e02aadb3a",
                "sha256": "003ac58a353e54248a9c6928bd34326c49ea2e222709b5a4afe4380b3cb675de"
            },
            "downloads": -1,
            "filename": "competitive-programming-lib-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3e3bef85f61d234fd8baa51e02aadb3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5811,
            "upload_time": "2024-09-08T16:29:38",
            "upload_time_iso_8601": "2024-09-08T16:29:38.881197Z",
            "url": "https://files.pythonhosted.org/packages/90/21/a7b371ac83a03cacb80c939d0e423b62f6d0e011387330ffb43a0124de6d/competitive-programming-lib-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-08 16:29:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "competitive-programming-lib",
    "github_not_found": true,
    "lcname": "competitive-programming-lib"
}
        
Elapsed time: 1.10036s