{ "info": { "author": "Peter Viglucci", "author_email": "pviglucci@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Office/Business :: Financial :: Investment" ], "description": "====\npypf\n====\n\nSimple set of classes that can be used to generate point and figure charts.\nThe package also includes a script (pf.py) that can be used to create charts\nat the command line that look like this::\n\n BAC (2017-08-25 o: 23.89 h: 24.07 l: 23.75 c: 23.77)\n 1.00% box, 3 box reversal, HL method\n signal: sell status: bear correction\n\n 25.42| . |25.42\n 25.17| x . |25.17\n 24.92| d x x d . |24.92\n 24.68| d 7 d 8 d u . |24.68\n 24.43| d x d u d u d . |24.43\n 24.19| o x x x d u d u d |24.19\n 23.95| o x d u d x u x d u o d u |<< 23.77\n 23.71| o x u x d u d x d u d x o d u |23.71\n 23.48| o u 4 u d x d 5 d x x d u d u o u |23.48\n 23.25| o u u d u d x o d u d x d d u o . |23.25\n 23.02| o u d u d d u d u d u o u . |23.02\n 22.79| o u d u o u d u d u o |22.79\n 22.56| o d u o u d d u |22.56\n 22.34| d u o d 6 |22.34\n 22.12| d d |22.12\n 21.90| |21.90\n\nInstallation\n------------\n\nInstall using pip::\n\n $ pip install pypf\n\nUsage\n-----\n\nTo use in a program, simply do::\n\n from pypf.chart import PFChart\n from pypf.instrument import Security\n security = Security(symbol, force_download, force_cache, interval, period)\n chart = PFChart(security, duration, box_size, reversal, method, style)\n chart.create_chart(dump=True)\n\nTo use at the command line::\n\n $ pf.py -d pf --duration 1 --box-size .01 --reversal 3 AAPL\n\npf.py supports the following arguments::\n\n usage: pf.py [-h] [-d] [--interval INTERVAL] [--force-cache]\n [--force-download] [--period PERIOD] [--provider PROVIDER]\n command ...\n\n positional arguments:\n command description\n pf create point and figure charts\n\n optional arguments:\n -h, --help show this help message and exit\n -d, --debug print debug messages to stdout\n --interval INTERVAL specify day (1d), week (1wk), or month (1mo) interval\n [default: 1d]\n --force-cache force use of cached data [default: False]\n --force-download force download of data [default: False]\n --period PERIOD set the years of data to download [default: 10]\n --provider PROVIDER specify the data provider (yahoo or google) [default:\n yahoo]\n\nThe pf command supports the following arguments::\n\n usage: pf.py pf [-h] [--box-size BOX_SIZE] [--duration DURATION]\n [--method METHOD] [--reversal REVERSAL] [--style]\n [--trend-lines]\n SYMBOL\n\n positional arguments:\n SYMBOL the symbol of the security to chart\n\n optional arguments:\n -h, --help show this help message and exit\n --box-size BOX_SIZE set the % box size [default: 0.01]\n --duration DURATION set the duration in years for the chart [default: 1]\n --method METHOD specify High/Low (HL) or Close (C) [default: HL]\n --reversal REVERSAL set the box reversal [default: 3]\n --style use color and style in terminal output [default: False]\n --trend-lines draw support and resistance lines [default: False]\n\nLicense\n-------\n\nCopyright (c) 2017 Peter J. Viglucci\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pviglucci/pypf", "keywords": "point figure stock chart", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pypf", "package_url": "https://pypi.org/project/pypf/", "platform": "", "project_url": "https://pypi.org/project/pypf/", "project_urls": { "Homepage": "http://github.com/pviglucci/pypf" }, "release_url": "https://pypi.org/project/pypf/0.9.6/", "requires_dist": null, "requires_python": "", "summary": "Create point and figure charts", "version": "0.9.6" }, "last_serial": 3197932, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "de2ed142bba33f0392e4026c5b971663", "sha256": "e31abe617aec4607ef3542b97e7f24e32b2177fde853a50b974f8a2ae4fbea59" }, "downloads": -1, "filename": "pypf-0.9.tar.gz", "has_sig": false, "md5_digest": "de2ed142bba33f0392e4026c5b971663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11615, "upload_time": "2017-08-19T20:47:05", "url": "https://files.pythonhosted.org/packages/eb/42/adcf8d057bf1edea5f264749dd7faa860ed9d8790547da04eeb1873312b0/pypf-0.9.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "ecb15b3a8f451a1d2110696c5a5cc0a5", "sha256": "ce394fce5fef4add3e129a624ac214fd967bb78939f9927bb5fd815237268132" }, "downloads": -1, "filename": "pypf-0.9.1.tar.gz", "has_sig": false, "md5_digest": "ecb15b3a8f451a1d2110696c5a5cc0a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11608, "upload_time": "2017-08-19T21:08:22", "url": "https://files.pythonhosted.org/packages/03/7b/ef826d4fc16cbe65624f30fa5620ab15d324dadba3785a5ca49fddcd08a2/pypf-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "365fa83105757ced763d173762b539ae", "sha256": "ca1438940a03b489be987328015aa739b113d5ba91631fd39477002bb57e277e" }, "downloads": -1, "filename": "pypf-0.9.2.tar.gz", "has_sig": false, "md5_digest": "365fa83105757ced763d173762b539ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11565, "upload_time": "2017-08-19T21:36:50", "url": "https://files.pythonhosted.org/packages/4d/0c/f9e893b4d1a5115706a8d2d0d9cd8693ce22d3ef36f664b5b4e048783408/pypf-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "12eb8bdaa9dd746adfef8f917d480927", "sha256": "067294d5211b1aa6a19119e99ae8cd73812dbb92cc7ca570ad6a5ee54d9cd4db" }, "downloads": -1, "filename": "pypf-0.9.3.tar.gz", "has_sig": false, "md5_digest": "12eb8bdaa9dd746adfef8f917d480927", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11701, "upload_time": "2017-08-23T15:11:26", "url": "https://files.pythonhosted.org/packages/2f/32/6ce97d3ef529fb6d8bebeeaea19db2a12fbaf458947b7bfc8a386f25549a/pypf-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "9630d5366030197a011b56cd05a8e3e4", "sha256": "b982568ea94ea6d3c3c6cd722fdee46695548e8472be98c9710a7f74c80b80df" }, "downloads": -1, "filename": "pypf-0.9.4.tar.gz", "has_sig": false, "md5_digest": "9630d5366030197a011b56cd05a8e3e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12096, "upload_time": "2017-08-26T19:14:47", "url": "https://files.pythonhosted.org/packages/70/02/8e8e6bb04874c9472165d2d4bad124b9444b21ff669ad5548ac673be1744/pypf-0.9.4.tar.gz" } ], "0.9.5": [ { "comment_text": "", "digests": { "md5": "a4d038d1897ca9c717d05cb16d19bcfc", "sha256": "142710af8f5c3144b08dc5ece576c8b20a2b5dcd4d094526371ccaaa8c5bf9ab" }, "downloads": -1, "filename": "pypf-0.9.5.tar.gz", "has_sig": false, "md5_digest": "a4d038d1897ca9c717d05cb16d19bcfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12316, "upload_time": "2017-08-27T14:24:34", "url": "https://files.pythonhosted.org/packages/34/79/127d20dd52d157f3e9378d3f22ec6ec710a6d7dc4d69184de26d2de9d91d/pypf-0.9.5.tar.gz" } ], "0.9.6": [ { "comment_text": "", "digests": { "md5": "8a538053f44c029058016f018a91a377", "sha256": "6ed6d6fd886ae50f6192030e2cb3d920722784f3a13a01d0951666d380544d71" }, "downloads": -1, "filename": "pypf-0.9.6.tar.gz", "has_sig": false, "md5_digest": "8a538053f44c029058016f018a91a377", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13173, "upload_time": "2017-09-24T00:30:13", "url": "https://files.pythonhosted.org/packages/13/da/558e308dacc1e3b83ef529fb1e6196c689aa2495092963cf962838fb9866/pypf-0.9.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8a538053f44c029058016f018a91a377", "sha256": "6ed6d6fd886ae50f6192030e2cb3d920722784f3a13a01d0951666d380544d71" }, "downloads": -1, "filename": "pypf-0.9.6.tar.gz", "has_sig": false, "md5_digest": "8a538053f44c029058016f018a91a377", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13173, "upload_time": "2017-09-24T00:30:13", "url": "https://files.pythonhosted.org/packages/13/da/558e308dacc1e3b83ef529fb1e6196c689aa2495092963cf962838fb9866/pypf-0.9.6.tar.gz" } ] }