From info at egenix.com Thu Aug 14 12:10:32 2014 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Thu Aug 14 11:10:25 2014 Subject: [egenix-users] ANN: eGenix pyOpenSSL Distribution 0.13.4.1.0.1.9 Message-ID: <53EC7D08.4020909@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix.com pyOpenSSL Distribution Version 0.13.4.1.0.1.9 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.4.1.0.1.9.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 updates the included OpenSSL version to the latest OpenSSL 1.0.1h version and adds a few more context options: New in OpenSSL -------------- * Updated included OpenSSL libraries from OpenSSL 1.0.1h to 1.0.1i. See https://www.openssl.org/news/secadv_20140806.txt for a complete list of changes. Most fixes apply to the OpenSSL DTLS implementation, which pyOpenSSL currently does not support. The following fix is relevant for pyOpenSSL applications: - CVE-2014-3511: A flaw in the OpenSSL TLS server code allows a man-in-the-middle attacker to force a downgrade to TLS 1.0. New in pyOpenSSL ---------------- * Compiled pyOpenSSL with OPENSSL_LOAD_CONF to have the OpenSSL libs automatically load the openssl.cnf configuration file. This allows easy configuration of additional OpenSSL parameters and defaults, locations of certificate files, hardware engines, etc. without having to change the application code. Please see the documentation for details. * Updated the included CA root certificate bundles to Mozilla's 2014-07-15 update. 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 x86 and x64, Linux x86 and x64, Mac OS X PPC, x86 and x64. We've 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. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 14 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: 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/ From mal at egenix.com Fri Aug 15 12:12:32 2014 From: mal at egenix.com (M.-A. Lemburg) Date: Fri Aug 15 11:12:27 2014 Subject: [egenix-users] Web Installers for mx Base and mxODBC on PyPI Message-ID: <53EDCF00.2000005@egenix.com> Dear Users, with the recent releases of egenix-mx-base and egenix-mxodbc we have uploaded a web installer to PyPI instead of just having PyPI reference our download server and letting the Python installers scrape the URLs for links. The new web installer will determine the system it is running on and automatically download the right package from our servers. This has been tested by us on all officially supported platforms (Linux, Windows, Mac OS X and FreeBSD) with easy_install, pip and zc.buildout: Here's a typical output from easy_install where you can see the web installer working: > bin/easy_install egenix-mxodbc Searching for egenix-mxodbc Reading https://pypi.python.org/simple/egenix-mxodbc/ Best match: egenix-mxodbc 3.3.1 Downloading https://pypi.python.org/packages/source/e/egenix-mxodbc/egenix-mxodbc-3.3.1.zip#md5=901db7fd0cbdea23bca02c7c9158e7d5 Processing egenix-mxodbc-3.3.1.zip Writing /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/setup.cfg Running egenix-mxodbc-3.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egg-dist-tmp-XFrgsH Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules _winreg, win32api or win32con are installed. web installer running trying to find suitable download package found package URL https://downloads.egenix.com/python/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip#md5=07932b79990adedaba2056ac7944e225&sha1=044a885335a42255c5917be38ca69dda468cab8e&sha256=231ed0b3970f414bd867f6bea220d3f2d9f957a81c83516b0661b84fb04f3e25&size=2654364 downloading web package https://downloads.egenix.com/python/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip verifying web package /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip extracting web package /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1/egenix-mxodbc-3.3.1-py2.7_ucs2-linux-x86_64-prebuilt.zip into /tmp/easy_install-qQL5pL/egenix-mxodbc-3.3.1 Adding egenix-mxodbc 3.3.1 to easy-install.pth file Installed /home/lemburg/tmp/test-easy-install-mx-base-3.2.8/lib/python2.7/site-packages/egenix_mxodbc-3.3.1-py2.7-linux-x86_64.egg Processing dependencies for egenix-mxodbc Searching for egenix-mx-base Reading https://pypi.python.org/simple/egenix_mx_base/ Best match: egenix-mx-base 3.2.8 Downloading https://pypi.python.org/packages/source/e/egenix-mx-base/egenix-mx-base-3.2.8.zip#md5=6bb912968a048426a66b9053cced3e0a Processing egenix-mx-base-3.2.8.zip Writing /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/setup.cfg Running egenix-mx-base-3.2.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egg-dist-tmp-GV2xZ3 Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules _winreg, win32api or win32con are installed. web installer running trying to find suitable download package found package URL https://downloads.egenix.com/python/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip#md5=6ddb93faa99e4a05197761716ff8e1b4&sha1=f09c67f7bf2f9985f0e5710e7945ad705b9f3b02&sha256=af74691573c32318e91ca277e9290ccd8f570198d456be0c6dad076400ec6656&size=4733120 downloading web package https://downloads.egenix.com/python/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip verifying web package /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip extracting web package /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8/egenix-mx-base-3.2.8-py2.7_ucs2-linux-x86_64-prebuilt.zip into /tmp/easy_install-awIDqs/egenix-mx-base-3.2.8 Adding egenix-mx-base 3.2.8 to easy-install.pth file Installed /home/lemburg/tmp/test-easy-install-mx-base-3.2.8/lib/python2.7/site-packages/egenix_mx_base-3.2.8-py2.7-linux-x86_64.egg Finished processing dependencies for egenix-mxodbc With the web installer, the installation experience should be a much better one. You can of course also simply download the right packages from our website product pages directly. The web installer just takes care of choosing and downloading the right package for you. It also makes sure that you are getting authentic packages by verifying the downloads against check sums. Since the technology is still very new, please let us know if you run into problems. PS: The web installer code is included in mxSetup.py which is part of our open source egenix-mx-base package. If this turns out to be a success, we will likely publish this as documented eGenix open source product, so that you can use it in your packages as well. Many thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: 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/ From baiju.m.mail at gmail.com Tue Aug 19 19:49:01 2014 From: baiju.m.mail at gmail.com (Baiju M) Date: Tue Aug 19 15:19:05 2014 Subject: [egenix-users] mxODBC Connect integration with SQLAlchemy Message-ID: Hi, Can I use mxODBC Connect with SQLAlchemy ? Is there any documentation on this ? Regards, Baiju M From mal at egenix.com Tue Aug 19 19:42:26 2014 From: mal at egenix.com (M.-A. Lemburg) Date: Tue Aug 19 18:42:11 2014 Subject: [egenix-users] mxODBC Connect integration with SQLAlchemy In-Reply-To: References: Message-ID: <53F37E72.5050201@egenix.com> Hi Baiju, On 19.08.2014 15:19, Baiju M wrote: > Hi, > > Can I use mxODBC Connect with SQLAlchemy ? > Is there any documentation on this ? It should be possible to reuse the existing mxODBC support in SQLAlchemy for mxODBC Connect as well, but we have not looked into this yet: https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/connectors/mxodbc.py Here's an example of how to use the mxODBC Connect Client (section 4.3 of the documentation): http://www.egenix.com/products/python/mxODBCConnect/doc/#_Toc388647689 >From looking at the SA code, a couple of changes seem to be necessary: * class methods need to be adapted to open the server connection to mxODBC Connect Server * error handler has to be replaced with a conn.warningformat = self.dbapi.WARN_WARNINGFORMAT or .IGNORE_WARNINGFORMAT Note that warnings will be emitted on the server, not the client side if you use .WARN_WARNINGFORMAT. * some session cleanup code will have to be added to close down the server session when it is no longer needed to free up resources Apart from that, the code should work with mxODBC Connect as well. Regards, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 19 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-19: PyCon UK 2014, Coventry, UK ... 31 days to go ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: 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/ From info at egenix.com Wed Aug 27 10:19:36 2014 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Wed Aug 27 09:19:26 2014 Subject: [egenix-users] ANN: eGenix PyRun - One file Python Runtime 2.0.1 Message-ID: <53FD8688.20904@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix PyRun - One file Python Runtime Version 2.0.1 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 and now **also for Python 3.4**. This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/eGenix-PyRun-2.0.1-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 the product internally in the mxODBC Connect Server 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 is a patch level release of eGenix PyRun 2.0. The major new feature in 2.0 is the added Python 3.4 support. New Features ------------ * Upgraded eGenix PyRun to work with and use Python 2.7.8 per default. Enhancements / Changes ---------------------- * Fixed a bug in the license printer to show the correct license URL. 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.0.1 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 Please see the eGenix PyRun 2.0.0 announcement for more details about eGenix PyRun 2.0: http://www.egenix.com/company/news/eGenix-PyRun-2.0.0-GA.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 Python (http://www.python.org/): Python is an object-oriented Open Source programming language which runs on all modern platforms. By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for today's IT challenges. About eGenix (http://www.egenix.com/): eGenix is a software project, consulting and product company specializing in expert project services and professional quality products for companies, Python users and developers. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 27 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-19: PyCon UK 2014, Coventry, UK ... 23 days to go 2014-09-27: PyDDF Sprint 2014 ... 31 days to go 2014-09-30: Python Meeting Duesseldorf ... 34 days to go 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/