{ "info": { "author": "Abhimanyu HK", "author_email": "manyu1994@hotmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "psycopg2 Python Library for AWS Lambda\n======================================\n\nThis is a custom compiled psycopg2 C library for Python. Due to AWS Lambda\nmissing the required PostgreSQL libraries in the AMI image, we needed to\ncompile psycopg2 with the PostgreSQL `libpq.so` library statically linked\nlibpq library instead of the default dynamic link.\n\n\n### Install and setup\n\n``` pip install aws-psycopg2 ```\n\n### Source code : https://github.com/AbhimanyuHK/aws-psycopg2 \n\n### Instructions on compiling this package from scratch\n\nHere was the process that was used to build this package. You will need to\nperform these steps if you want to build a newer version of the psycopg2\nlibrary.\n\n1. Download the\n [PostgreSQL source code](https://ftp.postgresql.org/pub/source/v9.4.3/postgresql-9.4.3.tar.gz) and extract into a directory.\n2. Download the\n [psycopg2 source code](http://initd.org/psycopg/tarballs/PSYCOPG-2-6/psycopg2-2.6.1.tar.gz) and extract into a directory.\n3. Go into the PostgreSQL source directory and execute the following commands:\n - `./configure --prefix {path_to_postgresql_source} --without-readline --without-zlib`\n - `make`\n - `make install`\n4. Go into the psycopg2 source directory and edit the `setup.cfg` file with the following:\n - `pg_config={path_to_postgresql_source/bin/pg_config}`\n - `static_libpq=1`\n5. Execute `python setup.py build` in the psycopg2 source directory.\n\nAfter the above steps have been completed you will then have a build directory\nand the custom compiled psycopg2 library will be contained within it. Copy this\ndirectory into your AWS Lambda package and you will now be able to access\nPostgreSQL from within AWS Lambda using the psycopg2 library.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AbhimanyuHK/aws-psycopg2", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aws-psycopg2", "package_url": "https://pypi.org/project/aws-psycopg2/", "platform": "", "project_url": "https://pypi.org/project/aws-psycopg2/", "project_urls": { "Homepage": "https://github.com/AbhimanyuHK/aws-psycopg2" }, "release_url": "https://pypi.org/project/aws-psycopg2/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "A aws psycopg2 package from psycopg2.", "version": "1.1.1" }, "last_serial": 4987385, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3554e1b219339c8d5b44d16f3718f53c", "sha256": "baf9036f59cb43779e0c998e6d12c072f1987e6ccac078061241941f170346f9" }, "downloads": -1, "filename": "aws_psycopg2-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "3554e1b219339c8d5b44d16f3718f53c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 43099, "upload_time": "2019-01-16T12:54:12", "url": "https://files.pythonhosted.org/packages/47/53/c11a79b100a6e0d0411a302084ddd48ee1f790f3dc5fbc53de19a4d02cdb/aws_psycopg2-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b9a6d3f5ecea64a51da7f3b3b54c74c", "sha256": "5518ce178d3fc15c2e582ec459498ee6e06aa529b6e9c90ea2309d6cb1fc2086" }, "downloads": -1, "filename": "aws-psycopg2-1.0.0.tar.gz", "has_sig": false, "md5_digest": "4b9a6d3f5ecea64a51da7f3b3b54c74c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34617, "upload_time": "2019-01-16T12:54:15", "url": "https://files.pythonhosted.org/packages/e5/b5/5240692a9f244a877c3811c590f66e8e5caac894d4d02fe2aeb0b804e37d/aws-psycopg2-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d7db832751c42946f028b38763fdb1a9", "sha256": "9a3bf9936e9736cffe0d45e1458fca1d5b3e6737ad36ea4f8d319b7f8115c68e" }, "downloads": -1, "filename": "aws_psycopg2-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "d7db832751c42946f028b38763fdb1a9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 380811, "upload_time": "2019-01-17T06:39:18", "url": "https://files.pythonhosted.org/packages/db/4b/f5cf68f870179c8a01849b93c7bbbf2030672cf3019c48c815d1d07346c2/aws_psycopg2-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45e65decce05fb7661c25068b79a417a", "sha256": "98f61f6612a3aa96540637ae1f6a9b612ab6df43887010268b91f6a3b1d644fe" }, "downloads": -1, "filename": "aws-psycopg2-1.0.1.tar.gz", "has_sig": false, "md5_digest": "45e65decce05fb7661c25068b79a417a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 372987, "upload_time": "2019-01-17T06:39:21", "url": "https://files.pythonhosted.org/packages/ef/88/870aacc93ec0ba8e43620e334864f5c30c88e9ed76734efb1730f48fcc70/aws-psycopg2-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "a088ad710cfd2b5f1a8f14c6ba5cb066", "sha256": "25c39a156632ec4b05f7d10374aa660b822278c2ef539401b9e31686128bc668" }, "downloads": -1, "filename": "aws_psycopg2-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a088ad710cfd2b5f1a8f14c6ba5cb066", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1209965, "upload_time": "2019-01-18T10:45:30", "url": "https://files.pythonhosted.org/packages/2e/f5/3debc1e939bd11629636afebb9e48089f56e54c36797d67d0d091cfec01a/aws_psycopg2-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccfcfd124895e3876e5c5cf7e4b76f00", "sha256": "67c4af1c91700786fad2494dd997b56edad79034229a87eb8fe2532f186ea9f3" }, "downloads": -1, "filename": "aws-psycopg2-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ccfcfd124895e3876e5c5cf7e4b76f00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1202342, "upload_time": "2019-01-18T10:45:34", "url": "https://files.pythonhosted.org/packages/15/44/8de4f9606c5387a2c57a3fa267774d6d66caa56b75aa041ebb4b39ec5b76/aws-psycopg2-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "07fab2cf45912a1bef3d694422cc937c", "sha256": "6651667465bea28d2aca6cb4db3335022c12b9d9f44b94a7acb3e1b46f21a75f" }, "downloads": -1, "filename": "aws_psycopg2-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "07fab2cf45912a1bef3d694422cc937c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4712130, "upload_time": "2019-03-13T06:56:47", "url": "https://files.pythonhosted.org/packages/b6/36/0ac3b64cfbbc6643182a40d24de67c01b964b5d06d163c80646460bc04c5/aws_psycopg2-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "339c603e06961ef3a5f7bb2781bba31f", "sha256": "22891a2bae107d31f6e9a0f3efece3ed6d3679ea2f4c861902e475ee2f6f17b1" }, "downloads": -1, "filename": "aws-psycopg2-1.1.0.tar.gz", "has_sig": false, "md5_digest": "339c603e06961ef3a5f7bb2781bba31f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679306, "upload_time": "2019-03-13T06:56:54", "url": "https://files.pythonhosted.org/packages/f6/d9/aaa2906c4c28ebd89341dfc94279400e422048e81710961cf1156f760da8/aws-psycopg2-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "06362f4beaa717c44637cc2ff754f600", "sha256": "59e4a14e6888a5b1bea925399218bb7bed3bb2805dcb123c1b6a5e8f0e798aa5" }, "downloads": -1, "filename": "aws_psycopg2-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "06362f4beaa717c44637cc2ff754f600", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8033355, "upload_time": "2019-03-26T12:09:04", "url": "https://files.pythonhosted.org/packages/3b/88/5411c6e0ee386feb439f6b0cee2ebde39f49c06d6303809d6e24d9e77718/aws_psycopg2-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e83b971c482194ff2c086fce6f216b4a", "sha256": "ebea06587319f5716a209ed172cb55dd68d3132c784fbbd9d3a2491833be3be5" }, "downloads": -1, "filename": "aws-psycopg2-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e83b971c482194ff2c086fce6f216b4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 104988, "upload_time": "2019-03-26T12:09:07", "url": "https://files.pythonhosted.org/packages/07/bc/9efe085e96220f56439d36b67fccb84650c20473366063cba2fa6d502d7f/aws-psycopg2-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "06362f4beaa717c44637cc2ff754f600", "sha256": "59e4a14e6888a5b1bea925399218bb7bed3bb2805dcb123c1b6a5e8f0e798aa5" }, "downloads": -1, "filename": "aws_psycopg2-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "06362f4beaa717c44637cc2ff754f600", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8033355, "upload_time": "2019-03-26T12:09:04", "url": "https://files.pythonhosted.org/packages/3b/88/5411c6e0ee386feb439f6b0cee2ebde39f49c06d6303809d6e24d9e77718/aws_psycopg2-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e83b971c482194ff2c086fce6f216b4a", "sha256": "ebea06587319f5716a209ed172cb55dd68d3132c784fbbd9d3a2491833be3be5" }, "downloads": -1, "filename": "aws-psycopg2-1.1.1.tar.gz", "has_sig": false, "md5_digest": "e83b971c482194ff2c086fce6f216b4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 104988, "upload_time": "2019-03-26T12:09:07", "url": "https://files.pythonhosted.org/packages/07/bc/9efe085e96220f56439d36b67fccb84650c20473366063cba2fa6d502d7f/aws-psycopg2-1.1.1.tar.gz" } ] }