From info at egenix.com Tue May 10 11:18:25 2016 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Tue May 10 10:18:43 2016 Subject: [egenix-users] ANN: eGenix pyOpenSSL Distribution 0.13.15 Message-ID: <57319951.1040507@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.15 An easy-to-install and easy-to-use distribution of the pyOpenSSL Python interface for OpenSSL - available for Windows, Mac OS X and Unix platforms This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-pyOpenSSL-Distribution-0.13.15.html ________________________________________________________________________ INTRODUCTION The eGenix.com pyOpenSSL Distribution includes everything you need to get started with SSL in Python. It comes with an easy-to-use installer that includes the most recent OpenSSL library versions in pre-compiled form, making your application independent of OS provided OpenSSL libraries: http://www.egenix.com/products/python/pyOpenSSL/ pyOpenSSL is an open-source Python add-on that allows writing SSL/TLS- aware network applications as well as certificate management tools: https://launchpad.net/pyopenssl/ OpenSSL is an open-source implementation of the SSL/TLS protocol: http://www.openssl.org/ ________________________________________________________________________ NEWS This new release of the eGenix.com pyOpenSSL Distribution includes the following updates: New in OpenSSL -------------- * Switched the included OpenSSL libraries to 1.0.2h. The OpenSSL 1.0.2 branch will receive long term support (LTS), so is an ideal basis for development. See https://openssl.org/news/secadv/20160503.txt ?for a complete list of security fixes in 1.0.2h. The following fixes are relevant for pyOpenSSL applications: - CVE-2016-2108 Two bugs in the ASN.1 parser were found which could cause memory corruption issues. - CVE-2016-2107 A MITM attacker can use a padding oracle attack to decrypt traffic when the connection uses an AES CBC cipher and the server support AES-NI. This issue was introduced as part of the fix for Lucky 13 padding attack (CVE-2013-0169). - Several low priority issues were fixed as well. * Updated the Mozilla CA root bundle to version 2016-04-16. Please see the product changelog for the full set of changes. http://www.egenix.com/products/python/pyOpenSSL/changelog.html pyOpenSSL / OpenSSL Binaries Included ------------------------------------- In addition to providing sources, we make binaries available that include both pyOpenSSL and the necessary OpenSSL libraries for all supported platforms: Windows, Linux, Mac OS X and FreeBSD, for x86 and x64. To simplify installation, we have uploaded a web installer to PyPI which will automatically choose the right binary for your platform, so a simple pip install egenix-pyopenssl will get you the package with OpenSSL libraries installed. Please see our installation instructions for details: http://www.egenix.com/products/python/pyOpenSSL/#Installation We have also added .egg-file distribution versions of our eGenix.com pyOpenSSL Distribution for Windows, Linux and Mac OS X to the available download options. These make setups using e.g. zc.buildout and other egg-file based installers a lot easier. ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing the package can be found at: http://www.egenix.com/products/python/pyOpenSSL/ ________________________________________________________________________ UPGRADING Before installing this version of pyOpenSSL, please make sure that you uninstall any previously installed pyOpenSSL version. Otherwise, you could end up not using the included OpenSSL libs. _______________________________________________________________________ SUPPORT Commercial support for these packages is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. ________________________________________________________________________ MORE INFORMATION For more information about the eGenix pyOpenSSL Distribution, licensing and download instructions, please visit our web-site or write to sales@egenix.com. About eGenix (http://www.egenix.com/): eGenix is a Python software project, consulting and product company delivering expert services and professional quality products for companies, Python users and developers. We specialize in database driven applications, large scale software designs and integration. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, May 10 2016) >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ >>> Python Database Interfaces ... http://products.egenix.com/ >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/ From info at egenix.com Wed May 11 14:28:19 2016 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Wed May 11 13:28:35 2016 Subject: [egenix-users] ANN: eGenix PyRun - One file Python Runtime 2.2.0 Message-ID: <57331753.7010502@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix PyRun - One file Python Runtime Version 2.2.0 An easy-to-use single file relocatable Python run-time - available for Linux, Mac OS X and Unix platforms, with support for Python 2.6, 2.7, 3.4 and * now also for Python 3.5 * This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-PyRun-2.2.0-GA.html ________________________________________________________________________ INTRODUCTION eGenix PyRun is our open source, one file, no installation version of Python, making the distribution of a Python interpreter to run based scripts and applications to Unix based systems as simple as copying a single file. eGenix PyRun's executable only needs 11MB for Python 2 and 13MB for Python 3, but still supports most Python application and scripts - and it can be compressed to just 3-4MB using upx, if needed. Compared to a regular Python installation of typically 100MB on disk, eGenix PyRun is ideal for applications and scripts that need to be distributed to several target machines, client installations or customers. It makes "installing" Python on a Unix based system as simple as copying a single file. eGenix has been using eGenix PyRun internally in the mxODBC Connect Server product since 2008 with great success and decided to make it available as a stand-alone open-source product. We provide both the source archive to build your own eGenix PyRun, as well as pre-compiled binaries for Linux, FreeBSD and Mac OS X, as 32- and 64-bit versions. The binaries can be downloaded manually, or you can let our automatic install script install-pyrun take care of the installation: ./install-pyrun dir and you're done. Please see the product page for more details: http://www.egenix.com/products/python/PyRun/ ________________________________________________________________________ NEWS This minor level release of eGenix PyRun comes with the following enhancements: Enhancements / Changes ---------------------- * Ported eGenix PyRun to Python 3.5.1. install-pyrun Quick Install Enhancements --------------------------------------------- eGenix PyRun includes a shell script called install-pyrun, which greatly simplifies installation of PyRun. It works much like the virtualenv shell script used for creating new virtual environments (except that there's nothing virtual about PyRun environments). https://downloads.egenix.com/python/install-pyrun With the script, an eGenix PyRun installation is as simple as running: ./install-pyrun targetdir This will automatically detect the platform, download and install the right pyrun version into targetdir. We have updated this script since the last release: * Updated install-pyrun to default to eGenix PyRun 2.2.0 and its feature set. For a complete list of changes, please see the eGenix PyRun Changelog: http://www.egenix.com/products/python/PyRun/changelog.html ________________________________________________________________________ LICENSE eGenix PyRun is distributed under the eGenix.com Public License 1.1.0 which is an Open Source license similar to the Python license. You can use eGenix PyRun in both commercial and non-commercial settings without fee or charge. Please see our license page for more details: http://www.egenix.com/products/python/PyRun/license.html The package comes with full source code. ________________________________________________________________________ DOWNLOADS The download archives and instructions for installing eGenix PyRun can be found at: http://www.egenix.com/products/python/PyRun/ As always, we are providing pre-built binaries for all common platforms: Windows 32/64-bit, Linux 32/64-bit, FreeBSD 32/64-bit, Mac OS X 32/64-bit. Source code archives are available for installation on other platforms, such as Solaris, AIX, HP-UX, etc. _______________________________________________________________________ SUPPORT Commercial support for this product is available from eGenix.com. Please see http://www.egenix.com/services/support/ for details about our support offerings. ________________________________________________________________________ MORE INFORMATION For more information about eGenix PyRun, licensing and download instructions, please visit our web-site: http://www.egenix.com/products/python/PyRun/ About eGenix (http://www.egenix.com/): eGenix is a Python software project, consulting and product company delivering expert services and professional quality products for companies, Python users and developers. We specialize in database driven applications, large scale software designs and integration. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, May 11 2016) >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ >>> Python Database Interfaces ... http://products.egenix.com/ >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/ From melamed at uchicago.edu Fri May 20 11:00:06 2016 From: melamed at uchicago.edu (Rachel Melamed) Date: Tue May 24 16:27:05 2016 Subject: [egenix-users] memory leak with large-entry BeeStringDict? Message-ID: <044EE336-D880-49A6-A9E0-579AF561C976@uchicago.edu> Hello, I am using a BeeStringDict to store data with about 4000 keys, but the values can range up to list of 3 million floats. When I try to loop through the key-value pairs, it?s clear that there is a memory leak. Please let me know if you have any suggestions. Thank you, Rachel From kingsley.turner at openfieldcommunications.com Wed May 25 09:16:17 2016 From: kingsley.turner at openfieldcommunications.com (Kingsley Turner) Date: Wed May 25 00:16:29 2016 Subject: [egenix-users] memory leak with large-entry BeeStringDict? In-Reply-To: <044EE336-D880-49A6-A9E0-579AF561C976@uchicago.edu> References: <044EE336-D880-49A6-A9E0-579AF561C976@uchicago.edu> Message-ID: <5744D2B1.6050504@openfieldcommunications.com> On 20/05/16 20:00, Rachel Melamed wrote: > Hello, > I am using a BeeStringDict to store data with about 4000 keys, but the values can range up to list of 3 million floats. When I try to loop through the key-value pairs, it?s clear that there is a memory leak. > Please let me know if you have any suggestions. Have you tried using a numpy array for the "list of 3 million floats" ? Can you please explain why you think there is a memory leak. Maybe reading this would help: http://chase-seibert.github.io/blog/2013/08/03/diagnosing-memory-leaks-python.html It has a few suggestions towards the end. What OS are you running on ? cheers, -kt -- *Kingsley Turner* /Software Architect/ Open Field Communications (An Endress+Hauser Company) PO Box 426 AUSTRALIA 2264 E-Mail: kingsley.turner@openfieldcommunications.com Web: OpenFieldCommunications.com -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman-archives/egenix-users/attachments/20160525/5a80fd40/attachment.htm From mal at egenix.com Wed May 25 10:32:42 2016 From: mal at egenix.com (M.-A. Lemburg) Date: Wed May 25 09:32:50 2016 Subject: [egenix-users] memory leak with large-entry BeeStringDict? In-Reply-To: <044EE336-D880-49A6-A9E0-579AF561C976@uchicago.edu> References: <044EE336-D880-49A6-A9E0-579AF561C976@uchicago.edu> Message-ID: <5745551A.2060807@egenix.com> On 20.05.2016 12:00, Rachel Melamed wrote: > Hello, > I am using a BeeStringDict to store data with about 4000 keys, but the values can range up to list of 3 million floats. When I try to loop through the key-value pairs, it?s clear that there is a memory leak. > Please let me know if you have any suggestions. Hi Rachel, could you send an example script demonstrating the memory leak. We can then try to track it down. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, May 25 2016) >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ >>> Python Database Interfaces ... http://products.egenix.com/ >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ ________________________________________________________________________ ::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/