{ "info": { "author": "Logan Gunthorpe", "author_email": "logang@deltatee.com", "bugtrack_url": null, "classifiers": [], "description": "# pyft232\n\nThis module provides a simple Serial-Like interface to FT232 chips while still\nallowing access to the CBUS pins for controlling simple signals.\n\nCtypes is used to interface with either FTDI's d2xx library (when available)\nor libftdi. In this way this package works on both Windows and Linux (and other\nlibftdi supported OS's) without needing to mess with the FTDI drivers on windows.\n\nIn contrast, pyftdi is more feature rich and also cross platform but requires\nspecial drivers on windows so you can't also use the FTDI chip as a pure\nCOM port.\n\n\n## Usage\n\n```python\nimport ft232\n\nserial_number = \"FT1234\"\n\ntry:\n sp = ft232.Ft232(serial_number, baudrate=115200)\nexcept ft232.Ft232Exception:\n print(\"Unable to open the ftdi device: %s\" % serial_number)\n sys.exit(1)\n\n#You may use sp as you would a Serial object\nsp.write(b\"Hello World!\\n\")\nresp = sp.read(100)\n\n#If you want to use the CBUS pins, you enable them with cbus_setup\n# 'mask' is a bitmask which specifies which pins to enable\n# 'init' is a bitmask for the initial value for each pin\nsp.cbus_setup(mask=3, init=3)\n\n#Change the current value of all setup pins\nsp.cbus_write(2)\n\n#Print the current value of all setup pins\nprint(\"CBUS: %s\" % sp.cbus_read())\n\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyft232", "package_url": "https://pypi.org/project/pyft232/", "platform": "", "project_url": "https://pypi.org/project/pyft232/", "project_urls": null, "release_url": "https://pypi.org/project/pyft232/0.9/", "requires_dist": null, "requires_python": "", "summary": "Python bindings to d2xx and libftdi to access FT232 chips with the same interface as pyserial. Using this method gives easy access to the additional features on the chip like CBUS GPIO.", "version": "0.9" }, "last_serial": 5652081, "releases": { "0.2": [], "0.3": [ { "comment_text": "", "digests": { "md5": "2e9658c308b1388496388857d27b6d1f", "sha256": "d3a0aa06769b3b54134df02619832b461d8d1a0dfbd5b488dbc5dd31f941fe9a" }, "downloads": -1, "filename": "pyft232-0.3.tar.gz", "has_sig": true, "md5_digest": "2e9658c308b1388496388857d27b6d1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15461, "upload_time": "2015-03-19T18:18:07", "url": "https://files.pythonhosted.org/packages/9c/c7/7bb6d4cddea025d21cd3ed154b54a34ae7327676f242269d0cbc34edb4df/pyft232-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "cd588f8a0d35f9c009d85f4da6898b49", "sha256": "d100570c3f511b80e371aaabf02ae089523a3958f2259ed0d99a21a840103a2d" }, "downloads": -1, "filename": "pyft232-0.4.tar.gz", "has_sig": false, "md5_digest": "cd588f8a0d35f9c009d85f4da6898b49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15476, "upload_time": "2015-12-03T21:50:30", "url": "https://files.pythonhosted.org/packages/1c/e5/5142dd14b93835fe37bd286649e73cd48902ee9c6d43e1423f6888e9c68d/pyft232-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "93e870011d5dd9ced4448e90c39b82f5", "sha256": "f6a46467b0cf7e55eaea1da3de3489f20530e97b1f1ac72b4527600622b4e686" }, "downloads": -1, "filename": "pyft232-0.5.tar.gz", "has_sig": false, "md5_digest": "93e870011d5dd9ced4448e90c39b82f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15494, "upload_time": "2016-06-06T17:19:05", "url": "https://files.pythonhosted.org/packages/df/12/30404905810083fd53f88e4b6a14f623fefe95ab524c13dbb311a474578c/pyft232-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "df239b6b0d9b7f84982e7aad472a4448", "sha256": "5d93c4111b4a704780c905218c49bbc08a53a0e1f2c428ea54b7d385c95557b0" }, "downloads": -1, "filename": "pyft232-0.6.tar.gz", "has_sig": false, "md5_digest": "df239b6b0d9b7f84982e7aad472a4448", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15522, "upload_time": "2017-07-13T19:43:28", "url": "https://files.pythonhosted.org/packages/d0/bf/30dc69619e2fe4759215545cfe3db0147e762fa0f64cd04af964a339cbd4/pyft232-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "2706007d9f7472dcdf8c2f9ab01a2cbc", "sha256": "e93765b383dbb7bf647bd99df9cd9c7a50a78199a7e397b68b161a79cfa07fdb" }, "downloads": -1, "filename": "pyft232-0.7.tar.gz", "has_sig": false, "md5_digest": "2706007d9f7472dcdf8c2f9ab01a2cbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15855, "upload_time": "2019-04-08T22:14:53", "url": "https://files.pythonhosted.org/packages/98/09/722234273c0353678ce08cca8d32ab8f059a53df8566512c1a0617b00876/pyft232-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "604ffa13b6fa0e6d06a4a1c5cc2eea2b", "sha256": "0b8ac7c1cc1590b6cdf0a16cd1a2a03e8c5379d9d844290cde3d7dcdb62e6416" }, "downloads": -1, "filename": "pyft232-0.8.tar.gz", "has_sig": false, "md5_digest": "604ffa13b6fa0e6d06a4a1c5cc2eea2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15917, "upload_time": "2019-05-27T22:09:04", "url": "https://files.pythonhosted.org/packages/2a/52/1e84458459e5ce152d10c4d9aef42dc4af9fa93ff829e78c526867f8c21d/pyft232-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "99860367bf42d6e2f2f42a6f87c4c456", "sha256": "dfd11ad938c1da17383619c694184d45ebefb905c908b17fbf95093af1045b76" }, "downloads": -1, "filename": "pyft232-0.9.tar.gz", "has_sig": false, "md5_digest": "99860367bf42d6e2f2f42a6f87c4c456", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16043, "upload_time": "2019-08-08T20:27:15", "url": "https://files.pythonhosted.org/packages/72/c5/8c770dbb8ca9f0576711e5bb232da8948bcf7fa4a6ce8140e9a327aaf71c/pyft232-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99860367bf42d6e2f2f42a6f87c4c456", "sha256": "dfd11ad938c1da17383619c694184d45ebefb905c908b17fbf95093af1045b76" }, "downloads": -1, "filename": "pyft232-0.9.tar.gz", "has_sig": false, "md5_digest": "99860367bf42d6e2f2f42a6f87c4c456", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16043, "upload_time": "2019-08-08T20:27:15", "url": "https://files.pythonhosted.org/packages/72/c5/8c770dbb8ca9f0576711e5bb232da8948bcf7fa4a6ce8140e9a327aaf71c/pyft232-0.9.tar.gz" } ] }