tefas-wrapper


Nametefas-wrapper JSON
Version 0.5.1 PyPI version JSON
download
home_pagehttps://github.com/semudu/tefas-wrapper
SummaryTefas wrapper to fetch funds data from http://tefas.gov.tr/
upload_time2024-03-02 11:39:13
maintainer
docs_urlNone
authorSerhat Mutlu Durmaz
requires_python>=3.8
licenseMIT
keywords tefas wrapper fund fon
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tefas-wrapper
Fetch funds data from https://www.tefas.gov.tr

    pip install tefas-wrapper


usage:

    from tefaswrapper import Wrapper, FundType
    
    # ...
    
    tefas = Wrapper(FundType.YAT)
    # single day
    result = tefas.fetch("AFT", "25.11.2020", "25.11.2020")
    
    # between two dates
    result = tefas.fetch("AFT", "15.11.2020", "20.11.2020")
    
    # from a cetain day until today
    result = tefas.fetch("AFT", "15.11.2020")                
    
    # latest value
    result = tefas.fetch("AFT")
    
    # latest values of all funds
    result = tefas.fetch()
    
    # fetch detail a specific fund
    detail = tefas.fetch_detail("AFT")

    # ...
    

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/semudu/tefas-wrapper",
    "name": "tefas-wrapper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "TEFAS,WRAPPER,FUND,FON",
    "author": "Serhat Mutlu Durmaz",
    "author_email": "serhat.md@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/92/7f/35e9c5fdeda4d0b50aeb760865474de3b14258f19d115a767b2b15e7fbe0/tefas-wrapper-0.5.1.tar.gz",
    "platform": null,
    "description": "# tefas-wrapper\nFetch funds data from https://www.tefas.gov.tr\n\n    pip install tefas-wrapper\n\n\nusage:\n\n    from tefaswrapper import Wrapper, FundType\n    \n    # ...\n    \n    tefas = Wrapper(FundType.YAT)\n    # single day\n    result = tefas.fetch(\"AFT\", \"25.11.2020\", \"25.11.2020\")\n    \n    # between two dates\n    result = tefas.fetch(\"AFT\", \"15.11.2020\", \"20.11.2020\")\n    \n    # from a cetain day until today\n    result = tefas.fetch(\"AFT\", \"15.11.2020\")                \n    \n    # latest value\n    result = tefas.fetch(\"AFT\")\n    \n    # latest values of all funds\n    result = tefas.fetch()\n    \n    # fetch detail a specific fund\n    detail = tefas.fetch_detail(\"AFT\")\n\n    #\u00a0...\n    \n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tefas wrapper to fetch funds data from http://tefas.gov.tr/",
    "version": "0.5.1",
    "project_urls": {
        "Download": "https://github.com/semudu/tefas-wrapper/archive/vv0.5.1.tar.gz",
        "Homepage": "https://github.com/semudu/tefas-wrapper"
    },
    "split_keywords": [
        "tefas",
        "wrapper",
        "fund",
        "fon"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d775ade2ffef78c714ff3321862872350a832f58ea7f9e16146d824ee66c68a9",
                "md5": "778a7dadf00432e1130e39df849daa6e",
                "sha256": "209aaff9b86d6c75058b9b3451512448a11c0a181bdd887d0405ba3882bcc72a"
            },
            "downloads": -1,
            "filename": "tefas_wrapper-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "778a7dadf00432e1130e39df849daa6e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5916,
            "upload_time": "2024-03-02T11:39:12",
            "upload_time_iso_8601": "2024-03-02T11:39:12.145414Z",
            "url": "https://files.pythonhosted.org/packages/d7/75/ade2ffef78c714ff3321862872350a832f58ea7f9e16146d824ee66c68a9/tefas_wrapper-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "927f35e9c5fdeda4d0b50aeb760865474de3b14258f19d115a767b2b15e7fbe0",
                "md5": "f6871c8cade091209a3de1ff5d83a9e8",
                "sha256": "56675257502b4248f68c85ba04790fdd682a92cca1c4abe01bc334d5444f4b5d"
            },
            "downloads": -1,
            "filename": "tefas-wrapper-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f6871c8cade091209a3de1ff5d83a9e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5480,
            "upload_time": "2024-03-02T11:39:13",
            "upload_time_iso_8601": "2024-03-02T11:39:13.642952Z",
            "url": "https://files.pythonhosted.org/packages/92/7f/35e9c5fdeda4d0b50aeb760865474de3b14258f19d115a767b2b15e7fbe0/tefas-wrapper-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-02 11:39:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "semudu",
    "github_project": "tefas-wrapper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "tefas-wrapper"
}
        
Elapsed time: 0.58371s