{ "info": { "author": "Keegan Callin", "author_email": "kc@kcallin.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.4", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "======\npybctc\n======\n\n*pybctc* is a python package that makes access to British Columbia[,\nCanada,] Transmission Corporation (BCTC) electric data easier.\n\nThe British Columbia [Canada] Transmission Corporation\n is a crown corporation with a mandate to plan,\nbuild, and operate the province of British Columbia's electricity\ntransmission system. It publishes valuable information on electicity\ngeneration, transmission, and consumption to its website. This\ninformation is useful for many purposes including economic analysis,\npower trading, electric system study, and forecasting. The first step\nin using such information is to download it an parse it into useful data\nstructures - a task performed by this library. The processed data\nnormally will feed statistical methods, heuristics, and system models to\nprovide a useful analysis of the British Columbia electric system.\n\nThe *pybctc* project is hosted at and\nreleases are made via the Python Package Index at\n. Online documentation is available\nat .\n\n\nRequirements\n============\n* *Python 2.4 or better* - Available at \n (2009-11-25).\n\n* *pytz* - \"World timezone definitions, modern and historical\".\n Available at (2009-11-14).\n\n* *xlrd* - \"Library for developers to extract data from Microsoft Excel\n (tm) spreadsheet files\". Available at\n (2010-02-20).\n\n\nInstallation\n============\n\nExtract the archive, enter the recovered directory and type:\n\n``python setup.py install``\n\nAlternatively, the library can be installed via easy_install, or pip via\nthe \"pybctc\" package name.\n\n\nUsage\n=====\n\nSome code samples that use *pybctc* are availble in the ``examples``\ndirectory. One sample is listed here::\n\n >>> '''List BCTC Control Area Load Points for 2010'''\n >>> # Standard library imports\n >>> import sys\n >>> from datetime import datetime\n >>>\n >>> # 3rd Party Libraries\n >>> import pytz\n >>> from bctc import BC_TZ\n >>> from bctc.load import yield_load_points\n >>>\n >>> start_dt = pytz.utc.localize(datetime(2010, 1, 1))\n >>> end_dt = pytz.utc.localize(datetime(2011, 1, 1))\n >>>\n >>> print '''2010 BCTC Control Area Load Points'''\n >>> print 'Date, Load'\n >>> for p in yield_load_points(start_dt, end_dt):\n >>> # Time calculations are easier when done in UTC so that no timezone\n >>> # conversions or daylist-savings time conversions need to be made. For\n >>> # this reason all times yielded by pyaeso are UTC.\n >>> #\n >>> # UTC times are converted to local times when they are displayed to the\n >>> # user.\n >>> print p.t.astimezone(BC_TZ), str(p.load) +'MW'\n >>>\n >>> return(0)\n\n\nKnown Incompatibilities\n=======================\n\n* *Python <= 2.3* - Fails because of requirement for decimal module\n introduced in Python 2.4.\n\n* *Python 3* - *pybctc* uses two underlying libraries, pytz and xlrd,\n that have no Python 3 version available (2010-02-20). When these\n underlying libraries support Python 3 the *pybctc* library can quickly\n be made to work.\n\n\nBugs and Enhancements\n=====================\n\nIf you would like to file a bug report or feature request then you can\ndo so at .\n\n\nContact\n=======\n\nAs the maintainer of this library I, Keegan Callin, would welcome your\npolite, constructive comments and criticisms of this library. I can\nbe reached by email using the address kc (at) kcallin.net. If you need\nto talk to me on the telephone or send me something by snail mail, send\nme an email and I'll gladly mail you instructions on how to reach me.", "description_content_type": null, "docs_url": "https://pythonhosted.org/pybctc/", "download_url": "http://pypi.python.org/pypi/pybctc", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/kc/pybctc/wiki/Home", "keywords": null, "license": "GNU General Public License Version 3 (GPLv3)", "maintainer": null, "maintainer_email": null, "name": "pybctc", "package_url": "https://pypi.org/project/pybctc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pybctc/", "project_urls": { "Download": "http://pypi.python.org/pypi/pybctc", "Homepage": "http://bitbucket.org/kc/pybctc/wiki/Home" }, "release_url": "https://pypi.org/project/pybctc/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Pythonic access to the British Columbia[, Canada,] Transmission Corporation (BCTC) public electric data.", "version": "0.1.2" }, "last_serial": 797003, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a03880bcf4625a589b8c1324da78e322", "sha256": "a76b369ba1ec40a75dfa3ae227f3b26fffdca95744a31a901147f21dbb5745e3" }, "downloads": -1, "filename": "pybctc-0.1.tar.bz2", "has_sig": false, "md5_digest": "a03880bcf4625a589b8c1324da78e322", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52720, "upload_time": "2010-02-24T22:06:24", "url": "https://files.pythonhosted.org/packages/06/c5/e74608204ede7feb544fd785a08621b22d973edde1569f6df9054de9a666/pybctc-0.1.tar.bz2" }, { "comment_text": "", "digests": { "md5": "e938a7202acce10feb46b2e550e3435b", "sha256": "b09e045f385517fb0f9ddd80d0c8ff4300f70a0b8329dd724f84d9561c6d40d9" }, "downloads": -1, "filename": "pybctc-0.1.tar.gz", "has_sig": false, "md5_digest": "e938a7202acce10feb46b2e550e3435b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53794, "upload_time": "2010-02-24T22:06:22", "url": "https://files.pythonhosted.org/packages/3b/de/e2b7a003f82475197983965dd9c7b2b2a34034b475918c58dce864c77e31/pybctc-0.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "3ac3508ed14df818877f99995f3ed0eb", "sha256": "47a605fc718977b1a7d8f8a9592f2c731dad6523606d2c25a2ac3daac69121ae" }, "downloads": -1, "filename": "pybctc-0.1.zip", "has_sig": false, "md5_digest": "3ac3508ed14df818877f99995f3ed0eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60493, "upload_time": "2010-02-24T22:06:31", "url": "https://files.pythonhosted.org/packages/04/39/9d0a03047a705fac39d871453bd10616830fe58caacdc45d61c75ac02089/pybctc-0.1.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9810463b59791a22d92b8b09436a871e", "sha256": "0049871bc66c2ca72a47a9b851069f793bc36c6d11d1dd3432493a1064a76f31" }, "downloads": -1, "filename": "pybctc-0.1.1.tar.bz2", "has_sig": false, "md5_digest": "9810463b59791a22d92b8b09436a871e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53461, "upload_time": "2010-03-02T02:43:09", "url": "https://files.pythonhosted.org/packages/4e/3f/cfe53c30d9f792887553162009e167765aaf9c37b9eea563e913a06809e9/pybctc-0.1.1.tar.bz2" }, { "comment_text": "", "digests": { "md5": "088c9a079d7e3c145727eb74a54ddebe", "sha256": "0106099f868bbc725160e85c4cc603204f27afe530fbb802f21c828b3799a6f2" }, "downloads": -1, "filename": "pybctc-0.1.1.tar.gz", "has_sig": false, "md5_digest": "088c9a079d7e3c145727eb74a54ddebe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55491, "upload_time": "2010-03-02T02:43:02", "url": "https://files.pythonhosted.org/packages/8a/e6/f673f78e023d869bccde36bd80aebb4e6656b7c5589f3ca2774e0a604744/pybctc-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "bd81fea5e660e05b9b286fed88a568ae", "sha256": "4a0b0f4a42225fbc8d290939e2717dd0d7be045c1e7c87de7e4388ae9a72e9ee" }, "downloads": -1, "filename": "pybctc-0.1.1.zip", "has_sig": false, "md5_digest": "bd81fea5e660e05b9b286fed88a568ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61725, "upload_time": "2010-03-02T02:43:15", "url": "https://files.pythonhosted.org/packages/81/08/b82c2f4e1533b6c4834ec6e4538d12fe98d92b6345a18e54d412d7e2d4dd/pybctc-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bfd03041b1413c8e81a58a570af271b0", "sha256": "fcb942d7450ac226cf8708950a3a7ee685e198cf8062e829db788979300c2812" }, "downloads": -1, "filename": "pybctc-0.1.2.tar.bz2", "has_sig": false, "md5_digest": "bfd03041b1413c8e81a58a570af271b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53676, "upload_time": "2010-03-03T17:26:02", "url": "https://files.pythonhosted.org/packages/f3/bb/beedd0afd01882696eb57527ab66a4ada7459c94aa67f77a5fd765c606ef/pybctc-0.1.2.tar.bz2" }, { "comment_text": "", "digests": { "md5": "66a3100e617439da987c4d2773a0aeb7", "sha256": "13ae758715fa27693a8acca3fc4b1de96257d145397ae892e4fd8aab2e9ba441" }, "downloads": -1, "filename": "pybctc-0.1.2.tar.gz", "has_sig": false, "md5_digest": "66a3100e617439da987c4d2773a0aeb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55638, "upload_time": "2010-03-03T17:25:55", "url": "https://files.pythonhosted.org/packages/59/f8/4d0bfbae9dcc3bc1dc3392e4d943cb10fc174603b8e5e5169c0fb3dac110/pybctc-0.1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "75444344b939b5705ed37c63fd1e99cc", "sha256": "66839a9b3f6471ca8972079d072a189aade9eb0a5d8d5243845306f8f15d4043" }, "downloads": -1, "filename": "pybctc-0.1.2.zip", "has_sig": false, "md5_digest": "75444344b939b5705ed37c63fd1e99cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63732, "upload_time": "2010-03-03T17:26:09", "url": "https://files.pythonhosted.org/packages/cc/60/4816e7660960e13cb2a00fd8c4cb8473b44deb8d71744758a3991c75bbe2/pybctc-0.1.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfd03041b1413c8e81a58a570af271b0", "sha256": "fcb942d7450ac226cf8708950a3a7ee685e198cf8062e829db788979300c2812" }, "downloads": -1, "filename": "pybctc-0.1.2.tar.bz2", "has_sig": false, "md5_digest": "bfd03041b1413c8e81a58a570af271b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53676, "upload_time": "2010-03-03T17:26:02", "url": "https://files.pythonhosted.org/packages/f3/bb/beedd0afd01882696eb57527ab66a4ada7459c94aa67f77a5fd765c606ef/pybctc-0.1.2.tar.bz2" }, { "comment_text": "", "digests": { "md5": "66a3100e617439da987c4d2773a0aeb7", "sha256": "13ae758715fa27693a8acca3fc4b1de96257d145397ae892e4fd8aab2e9ba441" }, "downloads": -1, "filename": "pybctc-0.1.2.tar.gz", "has_sig": false, "md5_digest": "66a3100e617439da987c4d2773a0aeb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55638, "upload_time": "2010-03-03T17:25:55", "url": "https://files.pythonhosted.org/packages/59/f8/4d0bfbae9dcc3bc1dc3392e4d943cb10fc174603b8e5e5169c0fb3dac110/pybctc-0.1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "75444344b939b5705ed37c63fd1e99cc", "sha256": "66839a9b3f6471ca8972079d072a189aade9eb0a5d8d5243845306f8f15d4043" }, "downloads": -1, "filename": "pybctc-0.1.2.zip", "has_sig": false, "md5_digest": "75444344b939b5705ed37c63fd1e99cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63732, "upload_time": "2010-03-03T17:26:09", "url": "https://files.pythonhosted.org/packages/cc/60/4816e7660960e13cb2a00fd8c4cb8473b44deb8d71744758a3991c75bbe2/pybctc-0.1.2.zip" } ] }