sleeper-wrapper


Namesleeper-wrapper JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/dtsong/sleeper-api-wrapper
SummaryA Python API wrapper for Sleeper Fantasy sports, as well as tools to simplify received data.
upload_time2024-02-03 03:58:18
maintainer
docs_urlNone
authorDan Song, Ford Higgins
requires_python>=3.9,<4.0
licenseMIT
keywords fantasy football fantasy sports sports sleeper fantasy sleeper
VCS
bugtrack_url
requirements atomicwrites attrs certifi chardet charset-normalizer idna importlib-metadata more-itertools packaging pluggy py pyparsing pytest requests six urllib3 wcwidth zipp
Travis-CI
coveralls test coverage No coveralls.
            ![GitHub](https://img.shields.io/github/license/dtsong/sleeper-api-wrapper.svg?color=blue)
![GitHub issues](https://img.shields.io/github/issues/dtsong/sleeper-api-wrapper.svg?color=orange)
![PyPI](https://img.shields.io/pypi/v/sleeper-api-wrapper)
# sleeper-api-wrapper
A Python API wrapper for Sleeper Fantasy Sports, as well as tools to simplify data received. It makes all endpoints found in the Sleeper API docs: https://docs.sleeper.app/ available and turns the JSON response received into Python types for easy usage.

Ownership was transferred from @SwapnikKatkoori to @dtsong in March 2022 to continue efforts.
Original Repository: https://github.com/SwapnikKatkoori/sleeper-api-wrapper

# Table of Contents
1. [Project Roadmap](#roadmap)
2. [Installation](#install)
3. [Documentation](#documentation)
4. [Notes](#notes)
5. [Dependencies](#depends)
6. [License](#license)

<a name="roadmap"></a>
# Project Roadmap
* Establish solid CICD practices with automated testing and validation of pull requests via GitHub Actions
* Ensure libraries are up to date and secure.
* Update endpoints and logic with the current Sleeper API docs
* Investigate performance optimization (effort, implementation, etc)

Want to help? Send me a message to @dtsong

<a name="install"></a>
# Install
```
pip install sleeper-api-wrapper
```

<a name="documentation"></a>
# Documentation
There are five objects in the package that get data from the Sleeper API. Most of them are intuitive based on the [Sleeper API docs](https://docs.sleeper.com/), but full documentation for the Python objects and their methods can be found in the [`docs` folder](https://github.com/dtsong/sleeper-api-wrapper/tree/master/docs). There are some bespoke methods for transforming the data into more useful structures in addition to the methods that directly call the API.

<a name="notes"></a>
# Notes
This package is intended to be used by Python version 3.8 and higher. There might be some wacky results for previous versions.

<a name="depends"></a>
# Dependencies

[requests](https://github.com/kennethreitz/requests)
- Used for all http requests in sleeper_wrapper

[pytest](https://github.com/pytest-dev/pytest)
- Used for all testing in sleeper_wrapper

<a name="license"></a>
# License
This project is licensed under the terms of the MIT license.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dtsong/sleeper-api-wrapper",
    "name": "sleeper-wrapper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "fantasy football,fantasy sports,sports,sleeper fantasy,sleeper",
    "author": "Dan Song, Ford Higgins",
    "author_email": "py-sleeper-api-wrapper-maintainers@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/c9/8761439e340d055c054cb3f696ecf4a8f4d8e25485743aa978d89576895b/sleeper_wrapper-1.1.0.tar.gz",
    "platform": null,
    "description": "![GitHub](https://img.shields.io/github/license/dtsong/sleeper-api-wrapper.svg?color=blue)\n![GitHub issues](https://img.shields.io/github/issues/dtsong/sleeper-api-wrapper.svg?color=orange)\n![PyPI](https://img.shields.io/pypi/v/sleeper-api-wrapper)\n# sleeper-api-wrapper\nA Python API wrapper for Sleeper Fantasy Sports, as well as tools to simplify data received. It makes all endpoints found in the Sleeper API docs: https://docs.sleeper.app/ available and turns the JSON response received into Python types for easy usage.\n\nOwnership was transferred from @SwapnikKatkoori to @dtsong in March 2022 to continue efforts.\nOriginal Repository: https://github.com/SwapnikKatkoori/sleeper-api-wrapper\n\n# Table of Contents\n1. [Project Roadmap](#roadmap)\n2. [Installation](#install)\n3. [Documentation](#documentation)\n4. [Notes](#notes)\n5. [Dependencies](#depends)\n6. [License](#license)\n\n<a name=\"roadmap\"></a>\n# Project Roadmap\n* Establish solid CICD practices with automated testing and validation of pull requests via GitHub Actions\n* Ensure libraries are up to date and secure.\n* Update endpoints and logic with the current Sleeper API docs\n* Investigate performance optimization (effort, implementation, etc)\n\nWant to help? Send me a message to @dtsong\n\n<a name=\"install\"></a>\n# Install\n```\npip install sleeper-api-wrapper\n```\n\n<a name=\"documentation\"></a>\n# Documentation\nThere are five objects in the package that get data from the Sleeper API. Most of them are intuitive based on the [Sleeper API docs](https://docs.sleeper.com/), but full documentation for the Python objects and their methods can be found in the [`docs` folder](https://github.com/dtsong/sleeper-api-wrapper/tree/master/docs). There are some bespoke methods for transforming the data into more useful structures in addition to the methods that directly call the API.\n\n<a name=\"notes\"></a>\n# Notes\nThis package is intended to be used by Python version 3.8 and higher. There might be some wacky results for previous versions.\n\n<a name=\"depends\"></a>\n# Dependencies\n\n[requests](https://github.com/kennethreitz/requests)\n- Used for all http requests in sleeper_wrapper\n\n[pytest](https://github.com/pytest-dev/pytest)\n- Used for all testing in sleeper_wrapper\n\n<a name=\"license\"></a>\n# License\nThis project is licensed under the terms of the MIT license.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python API wrapper for Sleeper Fantasy sports, as well as tools to simplify received data.",
    "version": "1.1.0",
    "project_urls": {
        "Documentation": "https://github.com/dtsong/sleeper-api-wrapper/tree/master/docs",
        "Homepage": "https://github.com/dtsong/sleeper-api-wrapper",
        "Repository": "https://github.com/dtsong/sleeper-api-wrapper"
    },
    "split_keywords": [
        "fantasy football",
        "fantasy sports",
        "sports",
        "sleeper fantasy",
        "sleeper"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea35a240a445d2b30759706e23e7560c510793a3923c5a8a75a57390dba30ab6",
                "md5": "d5390c3366139b40be51fef5cd420993",
                "sha256": "a0dbad50b3469a6929aebbef644a99fa26c82092b4dc1013b7e7d8c15fb01d11"
            },
            "downloads": -1,
            "filename": "sleeper_wrapper-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d5390c3366139b40be51fef5cd420993",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 10437,
            "upload_time": "2024-02-03T03:58:16",
            "upload_time_iso_8601": "2024-02-03T03:58:16.141471Z",
            "url": "https://files.pythonhosted.org/packages/ea/35/a240a445d2b30759706e23e7560c510793a3923c5a8a75a57390dba30ab6/sleeper_wrapper-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4c98761439e340d055c054cb3f696ecf4a8f4d8e25485743aa978d89576895b",
                "md5": "6c5ec35ffb61c0433e08898ffd5b7983",
                "sha256": "845151186cbbc63694b45ac4e3676ec640c28fa7d6ee2b3b31989a800ac27a1b"
            },
            "downloads": -1,
            "filename": "sleeper_wrapper-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6c5ec35ffb61c0433e08898ffd5b7983",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 8963,
            "upload_time": "2024-02-03T03:58:18",
            "upload_time_iso_8601": "2024-02-03T03:58:18.150653Z",
            "url": "https://files.pythonhosted.org/packages/e4/c9/8761439e340d055c054cb3f696ecf4a8f4d8e25485743aa978d89576895b/sleeper_wrapper-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-03 03:58:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dtsong",
    "github_project": "sleeper-api-wrapper",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "atomicwrites",
            "specs": [
                [
                    "==",
                    "1.4.1"
                ]
            ]
        },
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "23.1.0"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2023.7.22"
                ]
            ]
        },
        {
            "name": "chardet",
            "specs": [
                [
                    "==",
                    "3.0.4"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "2.1.1"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "2.10"
                ]
            ]
        },
        {
            "name": "importlib-metadata",
            "specs": [
                [
                    "==",
                    "4.13.0"
                ]
            ]
        },
        {
            "name": "more-itertools",
            "specs": [
                [
                    "==",
                    "8.14.0"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "21.3"
                ]
            ]
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "0.13.1"
                ]
            ]
        },
        {
            "name": "py",
            "specs": [
                [
                    "==",
                    "1.11.0"
                ]
            ]
        },
        {
            "name": "pyparsing",
            "specs": [
                [
                    "==",
                    "3.0.7"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "4.6.11"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.22.0"
                ]
            ]
        },
        {
            "name": "six",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "1.26.18"
                ]
            ]
        },
        {
            "name": "wcwidth",
            "specs": [
                [
                    "==",
                    "0.2.8"
                ]
            ]
        },
        {
            "name": "zipp",
            "specs": [
                [
                    "==",
                    "3.17.0"
                ]
            ]
        }
    ],
    "lcname": "sleeper-wrapper"
}
        
Elapsed time: 0.17835s