From wereapwhatwesow at gmail.com Tue Oct 7 18:41:19 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Tue, 7 Oct 2014 11:41:19 -0500 Subject: [omaha] PDF creation Message-ID: Does anyone have experience with creating PDF's? I want to 'export' text and images from models in Django to create multi-page PDF's. The formatting is not complex, but I do need the output to be PDF/X-1a:2001 I am using Python 3.3 and Django 1.7. Thanks. Steve From jeffh at delasco.com Tue Oct 7 18:58:33 2014 From: jeffh at delasco.com (Jeff Hinrichs) Date: Tue, 7 Oct 2014 11:58:33 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: Depending on your formatting requirements: Reportlabs has a library that allows adjustments down to the pixel and lots of other tools/features. https://pypi.python.org/pypi/reportlab We tend to use xhtml2pdf for layout control. http://www.xhtml2pdf.com/ -- makes it faster to develop, as we can use our normal html/css tools for creation. Although there can be a few layout vagaries when you hit corner cases. For us, ease still out-weighs corner cases. I think most pdf libraries now are 3.x/2.x compatible. As for specific PDF version, I have no idea if it supports that exact spec. sorry. -Jeff On Tue, Oct 7, 2014 at 11:41 AM, Steve Young wrote: > Does anyone have experience with creating PDF's? > > I want to 'export' text and images from models in Django to create > multi-page PDF's. The formatting is not complex, but I do need the output > to be PDF/X-1a:2001 > > I am using Python 3.3 and Django 1.7. > > Thanks. > > Steve > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Tue Oct 7 19:51:20 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Tue, 7 Oct 2014 12:51:20 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: Thanks Jeff. Both packages look good. PDF/X-1a:2001 is a normal pdf with certain restrictions like fonts must be embedded, ... Some printers require it. I have not been able to figure out yet if either of the packages you mentioned can do this. I may have to create the pdf and then use Acrobat or other software to convert to PDF/X-1a:2001. On Tue, Oct 7, 2014 at 11:58 AM, Jeff Hinrichs wrote: > Depending on your formatting requirements: > > Reportlabs has a library that allows adjustments down to the pixel and lots > of other tools/features. https://pypi.python.org/pypi/reportlab > > We tend to use xhtml2pdf for layout control. http://www.xhtml2pdf.com/ -- > makes it faster to develop, as we can use our normal html/css tools for > creation. Although there can be a few layout vagaries when you hit corner > cases. For us, ease still out-weighs corner cases. > > I think most pdf libraries now are 3.x/2.x compatible. > > As for specific PDF version, I have no idea if it supports that exact spec. > sorry. > > > > -Jeff > > On Tue, Oct 7, 2014 at 11:41 AM, Steve Young > wrote: > > > Does anyone have experience with creating PDF's? > > > > I want to 'export' text and images from models in Django to create > > multi-page PDF's. The formatting is not complex, but I do need the > output > > to be PDF/X-1a:2001 > > > > I am using Python 3.3 and Django 1.7. > > > > Thanks. > > > > Steve > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wes.turner at gmail.com Tue Oct 7 20:11:21 2014 From: wes.turner at gmail.com (Wes Turner) Date: Tue, 7 Oct 2014 13:11:21 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: Jinja2 + escaping + alternate syntax ('{{' is a reserved word) -> LaTeX (.tex) -> http://en.wikibooks.org/wiki/LaTeX/Export_To_Other_Formats#Convert_to_PDF Report lab and rst2pdf were not as accurate as LaTeX. ... http://jinja.pocoo.org/docs/dev/switching/#django On Oct 7, 2014 11:41 AM, "Steve Young" wrote: > Does anyone have experience with creating PDF's? > > I want to 'export' text and images from models in Django to create > multi-page PDF's. The formatting is not complex, but I do need the output > to be PDF/X-1a:2001 > > I am using Python 3.3 and Django 1.7. > > Thanks. > > Steve > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From mike at squarepegsystems.com Tue Oct 7 20:20:09 2014 From: mike at squarepegsystems.com (Mike Hostetler) Date: Tue, 7 Oct 2014 13:20:09 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: Kinda what Jeff said -- I've had good luck with reportlab's Platypus: http://www.reportlab.com/software/documentation/faq/#2.3 I've started a Platypus document and manually put in the data via Django models. Platypus supports page breaks, etc. To embed fonts, see: http://www.reportlab.com/software/documentation/faq/#2.6.2 Not sure how to marry those two together but I'd be surprised if you couldn't. Not sure if you can combine embedding fonts and Platypus On Tue, Oct 7, 2014 at 11:41 AM, Steve Young wrote: > Does anyone have experience with creating PDF's? > > I want to 'export' text and images from models in Django to create > multi-page PDF's. The formatting is not complex, but I do need the output > to be PDF/X-1a:2001 > > I am using Python 3.3 and Django 1.7. > > Thanks. > > Steve > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Mike Hostetler SquarePeg Systems http://www.squarepegsystems.com From dude.michael at gmail.com Tue Oct 7 18:52:11 2014 From: dude.michael at gmail.com (mike) Date: Tue, 7 Oct 2014 10:52:11 -0600 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: http://wkhtmltopdf.org On Tue, Oct 7, 2014 at 10:41 AM, Steve Young wrote: > Does anyone have experience with creating PDF's? > > I want to 'export' text and images from models in Django to create > multi-page PDF's. The formatting is not complex, but I do need the output > to be PDF/X-1a:2001 > > I am using Python 3.3 and Django 1.7. > > Thanks. > > Steve > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From rob.townley at gmail.com Wed Oct 8 06:42:47 2014 From: rob.townley at gmail.com (Rob Townley) Date: Tue, 7 Oct 2014 23:42:47 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: The letter 'A' is usually for archival purposes which requires embedded fonts so that it is readable hundred years from now. US govt archives require 'A'. The byte size of the PDF goes way up of course. On Oct 7, 2014 12:51 PM, "Steve Young" wrote: > Thanks Jeff. Both packages look good. > > PDF/X-1a:2001 is a normal pdf with certain restrictions like fonts must be > embedded, ... Some printers require it. I have not been able to figure > out yet if either of the packages you mentioned can do this. I may have to > create the pdf and then use Acrobat or other software to convert to > PDF/X-1a:2001. > > > > On Tue, Oct 7, 2014 at 11:58 AM, Jeff Hinrichs wrote: > > > Depending on your formatting requirements: > > > > Reportlabs has a library that allows adjustments down to the pixel and > lots > > of other tools/features. https://pypi.python.org/pypi/reportlab > > > > We tend to use xhtml2pdf for layout control. http://www.xhtml2pdf.com/ > -- > > makes it faster to develop, as we can use our normal html/css tools for > > creation. Although there can be a few layout vagaries when you hit > corner > > cases. For us, ease still out-weighs corner cases. > > > > I think most pdf libraries now are 3.x/2.x compatible. > > > > As for specific PDF version, I have no idea if it supports that exact > spec. > > sorry. > > > > > > > > -Jeff > > > > On Tue, Oct 7, 2014 at 11:41 AM, Steve Young > > wrote: > > > > > Does anyone have experience with creating PDF's? > > > > > > I want to 'export' text and images from models in Django to create > > > multi-page PDF's. The formatting is not complex, but I do need the > > output > > > to be PDF/X-1a:2001 > > > > > > I am using Python 3.3 and Django 1.7. > > > > > > Thanks. > > > > > > Steve > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Wed Oct 8 21:52:31 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Wed, 8 Oct 2014 14:52:31 -0500 Subject: [omaha] PDF creation In-Reply-To: References: Message-ID: Thanks! I will let you know what I come up with. On Tue, Oct 7, 2014 at 11:42 PM, Rob Townley wrote: > The letter 'A' is usually for archival purposes which requires embedded > fonts so that it is readable hundred years from now. US govt archives > require 'A'. The byte size of the PDF goes way up of course. > On Oct 7, 2014 12:51 PM, "Steve Young" wrote: > > > Thanks Jeff. Both packages look good. > > > > PDF/X-1a:2001 is a normal pdf with certain restrictions like fonts must > be > > embedded, ... Some printers require it. I have not been able to figure > > out yet if either of the packages you mentioned can do this. I may have > to > > create the pdf and then use Acrobat or other software to convert to > > PDF/X-1a:2001. > > > > > > > > On Tue, Oct 7, 2014 at 11:58 AM, Jeff Hinrichs > wrote: > > > > > Depending on your formatting requirements: > > > > > > Reportlabs has a library that allows adjustments down to the pixel and > > lots > > > of other tools/features. https://pypi.python.org/pypi/reportlab > > > > > > We tend to use xhtml2pdf for layout control. http://www.xhtml2pdf.com/ > > -- > > > makes it faster to develop, as we can use our normal html/css tools for > > > creation. Although there can be a few layout vagaries when you hit > > corner > > > cases. For us, ease still out-weighs corner cases. > > > > > > I think most pdf libraries now are 3.x/2.x compatible. > > > > > > As for specific PDF version, I have no idea if it supports that exact > > spec. > > > sorry. > > > > > > > > > > > > -Jeff > > > > > > On Tue, Oct 7, 2014 at 11:41 AM, Steve Young < > wereapwhatwesow at gmail.com> > > > wrote: > > > > > > > Does anyone have experience with creating PDF's? > > > > > > > > I want to 'export' text and images from models in Django to create > > > > multi-page PDF's. The formatting is not complex, but I do need the > > > output > > > > to be PDF/X-1a:2001 > > > > > > > > I am using Python 3.3 and Django 1.7. > > > > > > > > Thanks. > > > > > > > > Steve > > > > _______________________________________________ > > > > Omaha Python Users Group mailing list > > > > Omaha at python.org > > > > https://mail.python.org/mailman/listinfo/omaha > > > > http://www.OmahaPython.org > > > > > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Tue Oct 14 16:02:21 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Tue, 14 Oct 2014 09:02:21 -0500 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 Message-ID: Please respond if you can make it. Aaron - are you wiling/able to host again? Or does someone else want to? Steve From jeffh at dundeemt.com Tue Oct 14 16:38:34 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Tue, 14 Oct 2014 09:38:34 -0500 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 In-Reply-To: References: Message-ID: I'll be there. Topics? Best, Jeff On Tue, Oct 14, 2014 at 9:02 AM, Steve Young wrote: > Please respond if you can make it. > > Aaron - are you wiling/able to host again? Or does someone else want to? > > Steve > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From keckbug at gmail.com Tue Oct 14 16:48:42 2014 From: keckbug at gmail.com (Aaron Keck) Date: Tue, 14 Oct 2014 09:48:42 -0500 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 In-Reply-To: References: Message-ID: I'd be happy to host again if nobody has any objections On Tue, Oct 14, 2014 at 9:38 AM, Jeff Hinrichs - DM&T wrote: > I'll be there. > Topics? > > Best, > Jeff > > On Tue, Oct 14, 2014 at 9:02 AM, Steve Young > wrote: > > > Please respond if you can make it. > > > > Aaron - are you wiling/able to host again? Or does someone else want to? > > > > Steve > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > > > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Tue Oct 14 16:59:48 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Tue, 14 Oct 2014 09:59:48 -0500 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 In-Reply-To: References: Message-ID: I have not heard any complaints about Gordman's, so I am for it. Topics - I have been working a bit with Reportlabs creating PDF's. Not ready for prime time but I could share a few minutes and get some ideas from the group. Should we try opening this meeting up to others with a Google Hangout? On Tue, Oct 14, 2014 at 9:48 AM, Aaron Keck wrote: > I'd be happy to host again if nobody has any objections > > On Tue, Oct 14, 2014 at 9:38 AM, Jeff Hinrichs - DM&T > wrote: > > > I'll be there. > > Topics? > > > > Best, > > Jeff > > > > On Tue, Oct 14, 2014 at 9:02 AM, Steve Young > > wrote: > > > > > Please respond if you can make it. > > > > > > Aaron - are you wiling/able to host again? Or does someone else want > to? > > > > > > Steve > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > > > > > > > -- > > Best, > > > > Jeff Hinrichs > > 402.218.1473 > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jrguliz at yahoo.com Tue Oct 14 17:58:41 2014 From: jrguliz at yahoo.com (Joe Gulizia) Date: Tue, 14 Oct 2014 08:58:41 -0700 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 In-Reply-To: References: Message-ID: <1413302321.33422.YahooMailNeo@web126204.mail.ne1.yahoo.com> Can't make it....working. Hope to join up after the holidays. Joe On Tuesday, October 14, 2014 9:59 AM, Steve Young wrote: I have not heard any complaints about Gordman's, so I am for it. Topics - I have been working a bit with Reportlabs creating PDF's. Not ready for prime time but I could share a few minutes and get some ideas from the group. Should we try opening this meeting up to others with a Google Hangout? On Tue, Oct 14, 2014 at 9:48 AM, Aaron Keck wrote: > I'd be happy to host again if nobody has any objections > > On Tue, Oct 14, 2014 at 9:38 AM, Jeff Hinrichs - DM&T > wrote: > > > I'll be there. > > Topics? > > > > Best, > > Jeff > > > > On Tue, Oct 14, 2014 at 9:02 AM, Steve Young > > wrote: > > > > > Please respond if you can make it. > > > > > > Aaron - are you wiling/able to host again? Or does someone else want > to? > > > > > > Steve > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > > > > > > > -- > > Best, > > > > Jeff Hinrichs > > 402.218.1473 > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > _______________________________________________ Omaha Python Users Group mailing list Omaha at python.org https://mail.python.org/mailman/listinfo/omaha http://www.OmahaPython.org From bob.haffner at gmail.com Tue Oct 14 18:14:14 2014 From: bob.haffner at gmail.com (Bob Haffner) Date: Tue, 14 Oct 2014 11:14:14 -0500 Subject: [omaha] October Meeting Tomorrow/Wednesday, 10/15 In-Reply-To: <1413302321.33422.YahooMailNeo@web126204.mail.ne1.yahoo.com> References: <1413302321.33422.YahooMailNeo@web126204.mail.ne1.yahoo.com> Message-ID: I'll all for Gordmans as well. Good location and facility. Thanks for offering, Aaron. I'll be there On Tue, Oct 14, 2014 at 10:58 AM, Joe Gulizia < jrguliz at yahoo.com.dmarc.invalid> wrote: > Can't make it....working. Hope to join up after the holidays. > > Joe > > > On Tuesday, October 14, 2014 9:59 AM, Steve Young < > wereapwhatwesow at gmail.com> wrote: > > > > I have not heard any complaints about Gordman's, so I am for it. > > Topics - I have been working a bit with Reportlabs creating PDF's. Not > ready for prime time but I could share a few minutes and get some ideas > from the group. > > Should we try opening this meeting up to others with a Google Hangout? > > On Tue, Oct 14, 2014 at 9:48 AM, Aaron Keck wrote: > > > I'd be happy to host again if nobody has any objections > > > > On Tue, Oct 14, 2014 at 9:38 AM, Jeff Hinrichs - DM&T < > jeffh at dundeemt.com> > > wrote: > > > > > I'll be there. > > > Topics? > > > > > > Best, > > > Jeff > > > > > > On Tue, Oct 14, 2014 at 9:02 AM, Steve Young < > wereapwhatwesow at gmail.com> > > > wrote: > > > > > > > Please respond if you can make it. > > > > > > > > Aaron - are you wiling/able to host again? Or does someone else want > > to? > > > > > > > > Steve > > > > _______________________________________________ > > > > Omaha Python Users Group mailing list > > > > Omaha at python.org > > > > https://mail.python.org/mailman/listinfo/omaha > > > > http://www.OmahaPython.org > > > > > > > > > > > > > > > > -- > > > Best, > > > > > > Jeff Hinrichs > > > 402.218.1473 > > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at dundeemt.com Thu Oct 16 06:58:58 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Wed, 15 Oct 2014 23:58:58 -0500 Subject: [omaha] Great Meeting tonight. Message-ID: Got back from the meeting tonight and after Bob's presentation on getting started with Pandas and ipython notebook, I come across this article in my news feed: Simple Interactive Data Analysis with Python http://pbpython.com/simple-data-analysis.html I liked Bob's presentation more but thought I would throw this out there. -- Best, Jeff Hinrichs 402.218.1473 From bob.haffner at gmail.com Thu Oct 16 15:02:09 2014 From: bob.haffner at gmail.com (Bob Haffner) Date: Thu, 16 Oct 2014 08:02:09 -0500 Subject: [omaha] Great Meeting tonight. In-Reply-To: References: Message-ID: Good find, Jeff! Ipython and Pandas are a great combo Here's a nice tutorial series on Pandas by Greg Reda that helped me get going. Good for those with a sql background Part 1 of 3 http://www.gregreda.com/2013/10/26/intro-to-pandas-data-structures/ On Wed, Oct 15, 2014 at 11:58 PM, Jeff Hinrichs - DM&T wrote: > Got back from the meeting tonight and after Bob's presentation on getting > started with Pandas and ipython notebook, I come across this article in my > news feed: > > Simple Interactive Data Analysis with Python > http://pbpython.com/simple-data-analysis.html > > I liked Bob's presentation more but thought I would throw this out there. > > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at dundeemt.com Fri Oct 17 07:29:18 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 17 Oct 2014 00:29:18 -0500 Subject: [omaha] pycharm: what theme do you use? Message-ID: Ok, so I ponied up my subscription to get to 3.x Now, I'm trying to find a theme -- darcula is annoying but not as bad as the other light chromes. I've been trying to find something approaching sublime's default theme. I found obsidian, https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar Which is better but still has problems with the Tabs being way to dark or more correctly, not enough contrast to be able to read the filename in the tab. The editor window is better than darcula. So I am still hunting. What themes do you use? and where did you find it.? -- Best, Jeff Hinrichs 402.218.1473 From wereapwhatwesow at gmail.com Fri Oct 17 15:36:11 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 17 Oct 2014 08:36:11 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: I use Monokai with a few color changes. I think it came with the default install. I intentionally tried to not spend a lot of time tweaking the display as I can go way overboard with that type of thing. Here is a post with some suggestions: http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file and someone has posted Textmate themes for Pycharm here: https://github.com/d1ffuz0r/pycharm-themes I did not see a repository for Pycharm themes anywhere, just various people who uploaded something at various places on the internet. So if you come up with something please share so we can code review it! Steve On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T wrote: > Ok, so I ponied up my subscription to get to 3.x > Now, I'm trying to find a theme -- darcula is annoying but not as bad as > the other light chromes. > I've been trying to find something approaching sublime's default theme. > I found obsidian, > > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > > Which is better but still has problems with the Tabs being way to dark or > more correctly, not enough contrast to be able to read the filename in the > tab. The editor window is better than darcula. > > So I am still hunting. What themes do you use? and where did you find it.? > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Fri Oct 17 15:41:36 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 17 Oct 2014 08:41:36 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: btw, I hope the upgrade will be useful to you - we were kind of zealous about how much we liked PyCharm the other night. On Fri, Oct 17, 2014 at 8:36 AM, Steve Young wrote: > I use Monokai with a few color changes. I think it came with the default > install. I intentionally tried to not spend a lot of time tweaking the > display as I can go way overboard with that type of thing. > > Here is a post with some suggestions: > > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > > and someone has posted Textmate themes for Pycharm here: > https://github.com/d1ffuz0r/pycharm-themes > > I did not see a repository for Pycharm themes anywhere, just various > people who uploaded something at various places on the internet. > > So if you come up with something please share so we can code review it! > > Steve > > On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T > wrote: > >> Ok, so I ponied up my subscription to get to 3.x >> Now, I'm trying to find a theme -- darcula is annoying but not as bad as >> the other light chromes. >> I've been trying to find something approaching sublime's default theme. >> I found obsidian, >> >> https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar >> >> Which is better but still has problems with the Tabs being way to dark or >> more correctly, not enough contrast to be able to read the filename in the >> tab. The editor window is better than darcula. >> >> So I am still hunting. What themes do you use? and where did you find >> it.? >> >> -- >> Best, >> >> Jeff Hinrichs >> 402.218.1473 >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > > From wereapwhatwesow at gmail.com Fri Oct 17 15:57:07 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 17 Oct 2014 08:57:07 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: Did I mention I can get sidetracked with this type of thing? I tried the textmate themes but did not find anything I liked better than my theme. Here it is if you want to take a look. Sorry for the large font size, but I don't have to wear the bifocals with this one! Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in settings, IDE, Editor, Colors & Fonts. On Fri, Oct 17, 2014 at 8:41 AM, Steve Young wrote: > btw, I hope the upgrade will be useful to you - we were kind of zealous > about how much we liked PyCharm the other night. > > On Fri, Oct 17, 2014 at 8:36 AM, Steve Young > wrote: > >> I use Monokai with a few color changes. I think it came with the default >> install. I intentionally tried to not spend a lot of time tweaking the >> display as I can go way overboard with that type of thing. >> >> Here is a post with some suggestions: >> >> http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file >> >> and someone has posted Textmate themes for Pycharm here: >> https://github.com/d1ffuz0r/pycharm-themes >> >> I did not see a repository for Pycharm themes anywhere, just various >> people who uploaded something at various places on the internet. >> >> So if you come up with something please share so we can code review it! >> >> Steve >> >> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < >> jeffh at dundeemt.com> wrote: >> >>> Ok, so I ponied up my subscription to get to 3.x >>> Now, I'm trying to find a theme -- darcula is annoying but not as bad as >>> the other light chromes. >>> I've been trying to find something approaching sublime's default theme. >>> I found obsidian, >>> >>> https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar >>> >>> Which is better but still has problems with the Tabs being way to dark or >>> more correctly, not enough contrast to be able to read the filename in >>> the >>> tab. The editor window is better than darcula. >>> >>> So I am still hunting. What themes do you use? and where did you find >>> it.? >>> >>> -- >>> Best, >>> >>> Jeff Hinrichs >>> 402.218.1473 >>> _______________________________________________ >>> Omaha Python Users Group mailing list >>> Omaha at python.org >>> https://mail.python.org/mailman/listinfo/omaha >>> http://www.OmahaPython.org >>> >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: MonokaiLargeSY.icls Type: application/octet-stream Size: 60236 bytes Desc: not available URL: From tmseiler at gmail.com Fri Oct 17 17:27:10 2014 From: tmseiler at gmail.com (Tom Seiler) Date: Fri, 17 Oct 2014 10:27:10 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: I use a modified version of Solarized Light (changed to make the backgounds white so that they don't clash with the system UI). On Fri, Oct 17, 2014 at 8:57 AM, Steve Young wrote: > Did I mention I can get sidetracked with this type of thing? > > I tried the textmate themes but did not find anything I liked better than > my theme. Here it is if you want to take a look. Sorry for the large font > size, but I don't have to wear the bifocals with this one! > > Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in > settings, IDE, Editor, Colors & Fonts. > > > On Fri, Oct 17, 2014 at 8:41 AM, Steve Young > wrote: > > > btw, I hope the upgrade will be useful to you - we were kind of zealous > > about how much we liked PyCharm the other night. > > > > On Fri, Oct 17, 2014 at 8:36 AM, Steve Young > > wrote: > > > >> I use Monokai with a few color changes. I think it came with the > default > >> install. I intentionally tried to not spend a lot of time tweaking the > >> display as I can go way overboard with that type of thing. > >> > >> Here is a post with some suggestions: > >> > >> > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > >> > >> and someone has posted Textmate themes for Pycharm here: > >> https://github.com/d1ffuz0r/pycharm-themes > >> > >> I did not see a repository for Pycharm themes anywhere, just various > >> people who uploaded something at various places on the internet. > >> > >> So if you come up with something please share so we can code review it! > >> > >> Steve > >> > >> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < > >> jeffh at dundeemt.com> wrote: > >> > >>> Ok, so I ponied up my subscription to get to 3.x > >>> Now, I'm trying to find a theme -- darcula is annoying but not as bad > as > >>> the other light chromes. > >>> I've been trying to find something approaching sublime's default theme. > >>> I found obsidian, > >>> > >>> > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > >>> > >>> Which is better but still has problems with the Tabs being way to dark > or > >>> more correctly, not enough contrast to be able to read the filename in > >>> the > >>> tab. The editor window is better than darcula. > >>> > >>> So I am still hunting. What themes do you use? and where did you find > >>> it.? > >>> > >>> -- > >>> Best, > >>> > >>> Jeff Hinrichs > >>> 402.218.1473 > >>> _______________________________________________ > >>> Omaha Python Users Group mailing list > >>> Omaha at python.org > >>> https://mail.python.org/mailman/listinfo/omaha > >>> http://www.OmahaPython.org > >>> > >> > >> > > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From rob.townley at gmail.com Fri Oct 17 21:29:43 2014 From: rob.townley at gmail.com (Rob Townley) Date: Fri, 17 Oct 2014 14:29:43 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: Free raffle for pro license open to groups like ours. https://www.jetbrains.com/devnet/sponsorship/usergroups/ On Oct 17, 2014 10:27 AM, "Tom Seiler" wrote: > I use a modified version of Solarized Light (changed to make the backgounds > white so that they don't clash with the system UI). > > On Fri, Oct 17, 2014 at 8:57 AM, Steve Young > wrote: > > > Did I mention I can get sidetracked with this type of thing? > > > > I tried the textmate themes but did not find anything I liked better than > > my theme. Here it is if you want to take a look. Sorry for the large > font > > size, but I don't have to wear the bifocals with this one! > > > > Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in > > settings, IDE, Editor, Colors & Fonts. > > > > > > On Fri, Oct 17, 2014 at 8:41 AM, Steve Young > > wrote: > > > > > btw, I hope the upgrade will be useful to you - we were kind of zealous > > > about how much we liked PyCharm the other night. > > > > > > On Fri, Oct 17, 2014 at 8:36 AM, Steve Young < > wereapwhatwesow at gmail.com> > > > wrote: > > > > > >> I use Monokai with a few color changes. I think it came with the > > default > > >> install. I intentionally tried to not spend a lot of time tweaking > the > > >> display as I can go way overboard with that type of thing. > > >> > > >> Here is a post with some suggestions: > > >> > > >> > > > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > > >> > > >> and someone has posted Textmate themes for Pycharm here: > > >> https://github.com/d1ffuz0r/pycharm-themes > > >> > > >> I did not see a repository for Pycharm themes anywhere, just various > > >> people who uploaded something at various places on the internet. > > >> > > >> So if you come up with something please share so we can code review > it! > > >> > > >> Steve > > >> > > >> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < > > >> jeffh at dundeemt.com> wrote: > > >> > > >>> Ok, so I ponied up my subscription to get to 3.x > > >>> Now, I'm trying to find a theme -- darcula is annoying but not as bad > > as > > >>> the other light chromes. > > >>> I've been trying to find something approaching sublime's default > theme. > > >>> I found obsidian, > > >>> > > >>> > > > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > > >>> > > >>> Which is better but still has problems with the Tabs being way to > dark > > or > > >>> more correctly, not enough contrast to be able to read the filename > in > > >>> the > > >>> tab. The editor window is better than darcula. > > >>> > > >>> So I am still hunting. What themes do you use? and where did you > find > > >>> it.? > > >>> > > >>> -- > > >>> Best, > > >>> > > >>> Jeff Hinrichs > > >>> 402.218.1473 > > >>> _______________________________________________ > > >>> Omaha Python Users Group mailing list > > >>> Omaha at python.org > > >>> https://mail.python.org/mailman/listinfo/omaha > > >>> http://www.OmahaPython.org > > >>> > > >> > > >> > > > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at delasco.com Fri Oct 17 23:04:23 2014 From: jeffh at delasco.com (Jeff Hinrichs) Date: Fri, 17 Oct 2014 16:04:23 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: I just emailed them last night to see if we could get get one. Nice catch though. Often times vendors offer these to user groups. So if anyone knows of others we could get for "door prizes" for the group, let me know. Best, Jeff -Jeff On Fri, Oct 17, 2014 at 2:29 PM, Rob Townley wrote: > Free raffle for pro license open to groups like ours. > > https://www.jetbrains.com/devnet/sponsorship/usergroups/ > On Oct 17, 2014 10:27 AM, "Tom Seiler" wrote: > > > I use a modified version of Solarized Light (changed to make the > backgounds > > white so that they don't clash with the system UI). > > > > On Fri, Oct 17, 2014 at 8:57 AM, Steve Young > > wrote: > > > > > Did I mention I can get sidetracked with this type of thing? > > > > > > I tried the textmate themes but did not find anything I liked better > than > > > my theme. Here it is if you want to take a look. Sorry for the large > > font > > > size, but I don't have to wear the bifocals with this one! > > > > > > Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in > > > settings, IDE, Editor, Colors & Fonts. > > > > > > > > > On Fri, Oct 17, 2014 at 8:41 AM, Steve Young < > wereapwhatwesow at gmail.com> > > > wrote: > > > > > > > btw, I hope the upgrade will be useful to you - we were kind of > zealous > > > > about how much we liked PyCharm the other night. > > > > > > > > On Fri, Oct 17, 2014 at 8:36 AM, Steve Young < > > wereapwhatwesow at gmail.com> > > > > wrote: > > > > > > > >> I use Monokai with a few color changes. I think it came with the > > > default > > > >> install. I intentionally tried to not spend a lot of time tweaking > > the > > > >> display as I can go way overboard with that type of thing. > > > >> > > > >> Here is a post with some suggestions: > > > >> > > > >> > > > > > > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > > > >> > > > >> and someone has posted Textmate themes for Pycharm here: > > > >> https://github.com/d1ffuz0r/pycharm-themes > > > >> > > > >> I did not see a repository for Pycharm themes anywhere, just various > > > >> people who uploaded something at various places on the internet. > > > >> > > > >> So if you come up with something please share so we can code review > > it! > > > >> > > > >> Steve > > > >> > > > >> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < > > > >> jeffh at dundeemt.com> wrote: > > > >> > > > >>> Ok, so I ponied up my subscription to get to 3.x > > > >>> Now, I'm trying to find a theme -- darcula is annoying but not as > bad > > > as > > > >>> the other light chromes. > > > >>> I've been trying to find something approaching sublime's default > > theme. > > > >>> I found obsidian, > > > >>> > > > >>> > > > > > > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > > > >>> > > > >>> Which is better but still has problems with the Tabs being way to > > dark > > > or > > > >>> more correctly, not enough contrast to be able to read the filename > > in > > > >>> the > > > >>> tab. The editor window is better than darcula. > > > >>> > > > >>> So I am still hunting. What themes do you use? and where did you > > find > > > >>> it.? > > > >>> > > > >>> -- > > > >>> Best, > > > >>> > > > >>> Jeff Hinrichs > > > >>> 402.218.1473 > > > >>> _______________________________________________ > > > >>> Omaha Python Users Group mailing list > > > >>> Omaha at python.org > > > >>> https://mail.python.org/mailman/listinfo/omaha > > > >>> http://www.OmahaPython.org > > > >>> > > > >> > > > >> > > > > > > > > > > _______________________________________________ > > > Omaha Python Users Group mailing list > > > Omaha at python.org > > > https://mail.python.org/mailman/listinfo/omaha > > > http://www.OmahaPython.org > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Sat Oct 25 00:39:19 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 24 Oct 2014 17:39:19 -0500 Subject: [omaha] Where does installing from source install to? Message-ID: I downloaded the current source code from reportlab into my Downloads folder in Ubuntu. Then to install it I ran: sudo venv/bin/python ~/Downloads/reportlab/setup.py install and it installed, but I cannot figure out where it installed to - where is the reportlab folder that I expected to be in venv/lib/python/site-packages/? There is a reportlab....egg file there... Thanks. From jeffh at dundeemt.com Sat Oct 25 00:52:31 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 24 Oct 2014 17:52:31 -0500 Subject: [omaha] Where does installing from source install to? In-Reply-To: References: Message-ID: steve, if installing to a user or virtualenv then sudo is not required. The egg file is just a zip'd install, fire up your python in your virtualenv and import reportlab should work. Any reason why you didn't pip install ? -j On Fri, Oct 24, 2014 at 5:39 PM, Steve Young wrote: > I downloaded the current source code from reportlab into my Downloads > folder in Ubuntu. > > Then to install it I ran: > sudo venv/bin/python ~/Downloads/reportlab/setup.py install > > and it installed, but I cannot figure out where it installed to - where is > the reportlab folder that I expected to be in > venv/lib/python/site-packages/? > > There is a reportlab....egg file there... > > Thanks. > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From wereapwhatwesow at gmail.com Sat Oct 25 01:06:24 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 24 Oct 2014 18:06:24 -0500 Subject: [omaha] Where does installing from source install to? In-Reply-To: References: Message-ID: Hi Jeff, see below: On Fri, Oct 24, 2014 at 5:52 PM, Jeff Hinrichs - DM&T wrote: > steve, > if installing to a user or virtualenv then sudo is not required. > When I did not use sudo I got permission errors. Maybe because it was using the build modules from Ubuntu? > > The egg file is just a zip'd install, fire up your python in your > virtualenv and import reportlab > should work. > It does work, I was trying to add some fonts to a folder in the package but could not locate it. As you said I did find the reportlab folder inside of the .egg folder, with root permissions. site-packages > reportlab....egg > reportlab All the other pip installed packages placed the package folder and the .egg folder in the same location. site-packages > reportlab site-packeges > reportlab...egg ( I know I should put the fonts somewhere else, but while I am testing this was the easiest place to store them.) > Any reason why you didn't pip install ? > pip install does not get the latest version, so I had to download the source and build it. > -j > > On Fri, Oct 24, 2014 at 5:39 PM, Steve Young > wrote: > > > I downloaded the current source code from reportlab into my Downloads > > folder in Ubuntu. > > > > Then to install it I ran: > > sudo venv/bin/python ~/Downloads/reportlab/setup.py install > > > > and it installed, but I cannot figure out where it installed to - where > is > > the reportlab folder that I expected to be in > > venv/lib/python/site-packages/? > > > > There is a reportlab....egg file there... > > > > Thanks. > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > > > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From wereapwhatwesow at gmail.com Sat Oct 25 01:14:33 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Fri, 24 Oct 2014 18:14:33 -0500 Subject: [omaha] Where does installing from source install to? In-Reply-To: References: Message-ID: I did all of this to try and use the Google font, NotoSans hoping I could use it for all the languages and scripts, but it does not display Hindi, and possibly some other Asian characters. Is there a font that supports all scripts and languages? I thought unicode was taking care of this as the django site handles all the languages without a hitch (so far). On Fri, Oct 24, 2014 at 6:06 PM, Steve Young wrote: > Hi Jeff, see below: > > On Fri, Oct 24, 2014 at 5:52 PM, Jeff Hinrichs - DM&T > wrote: > >> steve, >> if installing to a user or virtualenv then sudo is not required. >> > > When I did not use sudo I got permission errors. Maybe because it was > using the build modules from Ubuntu? > > >> >> The egg file is just a zip'd install, fire up your python in your >> virtualenv and import reportlab >> should work. >> > > It does work, I was trying to add some fonts to a folder in the package > but could not locate it. As you said I did find the reportlab folder > inside of the .egg folder, with root permissions. > > site-packages > reportlab....egg > reportlab > > All the other pip installed packages placed the package folder and the > .egg folder in the same location. > > site-packages > reportlab > site-packeges > reportlab...egg > > > ( I know I should put the fonts somewhere else, but while I am testing > this was the easiest place to store them.) > > >> Any reason why you didn't pip install ? >> > > pip install does not get the latest version, so I had to download the > source and build it. > > >> -j >> >> On Fri, Oct 24, 2014 at 5:39 PM, Steve Young >> wrote: >> >> > I downloaded the current source code from reportlab into my Downloads >> > folder in Ubuntu. >> > >> > Then to install it I ran: >> > sudo venv/bin/python ~/Downloads/reportlab/setup.py install >> > >> > and it installed, but I cannot figure out where it installed to - where >> is >> > the reportlab folder that I expected to be in >> > venv/lib/python/site-packages/? >> > >> > There is a reportlab....egg file there... >> > >> > Thanks. >> > _______________________________________________ >> > Omaha Python Users Group mailing list >> > Omaha at python.org >> > https://mail.python.org/mailman/listinfo/omaha >> > http://www.OmahaPython.org >> > >> >> >> >> -- >> Best, >> >> Jeff Hinrichs >> 402.218.1473 >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > > From jeffh at dundeemt.com Sat Oct 25 02:28:00 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 24 Oct 2014 19:28:00 -0500 Subject: [omaha] Where does installing from source install to? In-Reply-To: References: Message-ID: The following installs the absolute latest in a flat (not egg) https://bitbucket.org/rptlab/reportlab/src/f14cb807aa3d5b61ecf3e71c2c59a9acc523f04f/setup.py?at=default just uninstall the reportlab you have: https://bitbucket.org/rptlab/reportlab/src/f14cb807aa3d5b61ecf3e71c2c59a9acc523f04f/setup.py?at=default then use the above to install the latest version from bitbucket. hth, j On Fri, Oct 24, 2014 at 6:14 PM, Steve Young wrote: > I did all of this to try and use the Google font, NotoSans hoping I could > use it for all the languages and scripts, but it does not display Hindi, > and possibly some other Asian characters. > > Is there a font that supports all scripts and languages? I thought unicode > was taking care of this as the django site handles all the languages > without a hitch (so far). > > > On Fri, Oct 24, 2014 at 6:06 PM, Steve Young > wrote: > > > Hi Jeff, see below: > > > > On Fri, Oct 24, 2014 at 5:52 PM, Jeff Hinrichs - DM&T < > jeffh at dundeemt.com> > > wrote: > > > >> steve, > >> if installing to a user or virtualenv then sudo is not required. > >> > > > > When I did not use sudo I got permission errors. Maybe because it was > > using the build modules from Ubuntu? > > > > > >> > >> The egg file is just a zip'd install, fire up your python in your > >> virtualenv and import reportlab > >> should work. > >> > > > > It does work, I was trying to add some fonts to a folder in the package > > but could not locate it. As you said I did find the reportlab folder > > inside of the .egg folder, with root permissions. > > > > site-packages > reportlab....egg > reportlab > > > > All the other pip installed packages placed the package folder and the > > .egg folder in the same location. > > > > site-packages > reportlab > > site-packeges > reportlab...egg > > > > > > ( I know I should put the fonts somewhere else, but while I am testing > > this was the easiest place to store them.) > > > > > >> Any reason why you didn't pip install ? > >> > > > > pip install does not get the latest version, so I had to download the > > source and build it. > > > > > >> -j > >> > >> On Fri, Oct 24, 2014 at 5:39 PM, Steve Young > > >> wrote: > >> > >> > I downloaded the current source code from reportlab into my Downloads > >> > folder in Ubuntu. > >> > > >> > Then to install it I ran: > >> > sudo venv/bin/python ~/Downloads/reportlab/setup.py install > >> > > >> > and it installed, but I cannot figure out where it installed to - > where > >> is > >> > the reportlab folder that I expected to be in > >> > venv/lib/python/site-packages/? > >> > > >> > There is a reportlab....egg file there... > >> > > >> > Thanks. > >> > _______________________________________________ > >> > Omaha Python Users Group mailing list > >> > Omaha at python.org > >> > https://mail.python.org/mailman/listinfo/omaha > >> > http://www.OmahaPython.org > >> > > >> > >> > >> > >> -- > >> Best, > >> > >> Jeff Hinrichs > >> 402.218.1473 > >> _______________________________________________ > >> Omaha Python Users Group mailing list > >> Omaha at python.org > >> https://mail.python.org/mailman/listinfo/omaha > >> http://www.OmahaPython.org > >> > > > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From jeffh at dundeemt.com Sat Oct 25 07:48:06 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Sat, 25 Oct 2014 00:48:06 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: Found this site: http://www.ideacolorthemes.org/home/ On Fri, Oct 17, 2014 at 10:27 AM, Tom Seiler wrote: > I use a modified version of Solarized Light (changed to make the backgounds > white so that they don't clash with the system UI). > > On Fri, Oct 17, 2014 at 8:57 AM, Steve Young > wrote: > > > Did I mention I can get sidetracked with this type of thing? > > > > I tried the textmate themes but did not find anything I liked better than > > my theme. Here it is if you want to take a look. Sorry for the large > font > > size, but I don't have to wear the bifocals with this one! > > > > Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in > > settings, IDE, Editor, Colors & Fonts. > > > > > > On Fri, Oct 17, 2014 at 8:41 AM, Steve Young > > wrote: > > > > > btw, I hope the upgrade will be useful to you - we were kind of zealous > > > about how much we liked PyCharm the other night. > > > > > > On Fri, Oct 17, 2014 at 8:36 AM, Steve Young < > wereapwhatwesow at gmail.com> > > > wrote: > > > > > >> I use Monokai with a few color changes. I think it came with the > > default > > >> install. I intentionally tried to not spend a lot of time tweaking > the > > >> display as I can go way overboard with that type of thing. > > >> > > >> Here is a post with some suggestions: > > >> > > >> > > > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > > >> > > >> and someone has posted Textmate themes for Pycharm here: > > >> https://github.com/d1ffuz0r/pycharm-themes > > >> > > >> I did not see a repository for Pycharm themes anywhere, just various > > >> people who uploaded something at various places on the internet. > > >> > > >> So if you come up with something please share so we can code review > it! > > >> > > >> Steve > > >> > > >> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < > > >> jeffh at dundeemt.com> wrote: > > >> > > >>> Ok, so I ponied up my subscription to get to 3.x > > >>> Now, I'm trying to find a theme -- darcula is annoying but not as bad > > as > > >>> the other light chromes. > > >>> I've been trying to find something approaching sublime's default > theme. > > >>> I found obsidian, > > >>> > > >>> > > > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > > >>> > > >>> Which is better but still has problems with the Tabs being way to > dark > > or > > >>> more correctly, not enough contrast to be able to read the filename > in > > >>> the > > >>> tab. The editor window is better than darcula. > > >>> > > >>> So I am still hunting. What themes do you use? and where did you > find > > >>> it.? > > >>> > > >>> -- > > >>> Best, > > >>> > > >>> Jeff Hinrichs > > >>> 402.218.1473 > > >>> _______________________________________________ > > >>> Omaha Python Users Group mailing list > > >>> Omaha at python.org > > >>> https://mail.python.org/mailman/listinfo/omaha > > >>> http://www.OmahaPython.org > > >>> > > >> > > >> > > > > > > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From wereapwhatwesow at gmail.com Sat Oct 25 16:13:40 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Sat, 25 Oct 2014 09:13:40 -0500 Subject: [omaha] Languages, fonts, scripts? Message-ID: Question about fonts: Still working on a flashcard site with Django 1.7 and python 3.3. So far the website has handled all the text in latin, cyrillic, arabic, hindi, without a hitch. I copy the text and paste it into the django admin for that field and it just works. I thought this magic was working because of unicode fonts, but while working with reportlab and creating pdfs the magic goes away and I have to choose fonts that contain the correct characters for the languages. Has anyone worked with languages and can point me in the right direction to learn about this? Thanks. From wereapwhatwesow at gmail.com Sat Oct 25 16:26:42 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Sat, 25 Oct 2014 09:26:42 -0500 Subject: [omaha] Languages, fonts, scripts? In-Reply-To: References: Message-ID: I just found this https://code.google.com/p/noto/issues/detail?id=13, which describes my question exactly. And gives the answer that, no, there is not on font to rule them all, and I am going to have to deal with multiple fonts creating my PDFs. But can someone answer how the website manages this? Does it have something to do with specifying font families instead of individual fonts? On Sat, Oct 25, 2014 at 9:13 AM, Steve Young wrote: > Question about fonts: > > Still working on a flashcard site with Django 1.7 and python 3.3. So far > the website has handled all the text in latin, cyrillic, arabic, hindi, > without a hitch. I copy the text and paste it into the django admin for > that field and it just works. > > I thought this magic was working because of unicode fonts, but while > working with reportlab and creating pdfs the magic goes away and I have to > choose fonts that contain the correct characters for the languages. > > Has anyone worked with languages and can point me in the right direction > to learn about this? > > Thanks. > From wereapwhatwesow at gmail.com Sat Oct 25 16:33:08 2014 From: wereapwhatwesow at gmail.com (Steve Young) Date: Sat, 25 Oct 2014 09:33:08 -0500 Subject: [omaha] Languages, fonts, scripts? In-Reply-To: References: Message-ID: Sorry for the run on thread. For example on my site I have: font-family: "Lucida Grande", Verdana, Arial, sans-serif; and this has so far been able to display all the text properly in its respective languages. On Sat, Oct 25, 2014 at 9:26 AM, Steve Young wrote: > I just found this https://code.google.com/p/noto/issues/detail?id=13, > which describes my question exactly. And gives the answer that, no, there > is not on font to rule them all, and I am going to have to deal with > multiple fonts creating my PDFs. > > But can someone answer how the website manages this? Does it have > something to do with specifying font families instead of individual fonts? > > On Sat, Oct 25, 2014 at 9:13 AM, Steve Young > wrote: > >> Question about fonts: >> >> Still working on a flashcard site with Django 1.7 and python 3.3. So far >> the website has handled all the text in latin, cyrillic, arabic, hindi, >> without a hitch. I copy the text and paste it into the django admin for >> that field and it just works. >> >> I thought this magic was working because of unicode fonts, but while >> working with reportlab and creating pdfs the magic goes away and I have to >> choose fonts that contain the correct characters for the languages. >> >> Has anyone worked with languages and can point me in the right direction >> to learn about this? >> >> Thanks. >> > > From jeffh at dundeemt.com Sat Oct 25 18:46:19 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Sat, 25 Oct 2014 11:46:19 -0500 Subject: [omaha] Languages, fonts, scripts? In-Reply-To: References: Message-ID: In general, for the web, you need to always think about graceful degradation. Our designers, who generally work in print, or like to submit a graphic, tend to specify individual fonts, without considering what happens if a specified font is not available to the users browser. http://ffffallback.com/ http://blog.typekit.com/2011/03/24/type-study-choosing-fallback-fonts/ -j On Sat, Oct 25, 2014 at 9:33 AM, Steve Young wrote: > Sorry for the run on thread. > > For example on my site I have: > > font-family: "Lucida Grande", Verdana, Arial, sans-serif; > > and this has so far been able to display all the text properly in its > respective languages. > > On Sat, Oct 25, 2014 at 9:26 AM, Steve Young > wrote: > > > I just found this https://code.google.com/p/noto/issues/detail?id=13, > > which describes my question exactly. And gives the answer that, no, there > > is not on font to rule them all, and I am going to have to deal with > > multiple fonts creating my PDFs. > > > > But can someone answer how the website manages this? Does it have > > something to do with specifying font families instead of individual > fonts? > > > > On Sat, Oct 25, 2014 at 9:13 AM, Steve Young > > wrote: > > > >> Question about fonts: > >> > >> Still working on a flashcard site with Django 1.7 and python 3.3. So > far > >> the website has handled all the text in latin, cyrillic, arabic, hindi, > >> without a hitch. I copy the text and paste it into the django admin for > >> that field and it just works. > >> > >> I thought this magic was working because of unicode fonts, but while > >> working with reportlab and creating pdfs the magic goes away and I have > to > >> choose fonts that contain the correct characters for the languages. > >> > >> Has anyone worked with languages and can point me in the right direction > >> to learn about this? > >> > >> Thanks. > >> > > > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From varun.sagi20 at gmail.com Mon Oct 27 20:36:09 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Mon, 27 Oct 2014 14:36:09 -0500 Subject: [omaha] Iterators vs Generator!! Message-ID: Hi all I have a query regarding the Iterator vs Generator. Generator is specific type of Iterator. But both still use next function to produce next value and save memory. So, which should be preferred? Any advantage of one over other? Warm Regards Varun Mehta From wes.turner at gmail.com Tue Oct 28 01:07:39 2014 From: wes.turner at gmail.com (Wes Turner) Date: Mon, 27 Oct 2014 19:07:39 -0500 Subject: [omaha] Iterators vs Generator!! In-Reply-To: References: Message-ID: Both iterators and generators can be functionally composed. Generators can maintain local state as they are iterated through. Learning not to consume iterators and generators is a good thing; both for Python 3 (where things like .keys() are now .iterkeys()) and for asyncio ("yield from"). An object can implement .__iter__() /.next()) and not .__len__(). Docs: https://docs.python.org/2/reference/datamodel.html#the-standard-type-hierarchy https://docs.python.org/2/glossary.html#term-generator https://docs.python.org/2/glossary.html#term-iterator https://docs.python.org/2/tutorial/classes.html#generators https://docs.python.org/2/howto/functional.html#iterators https://docs.python.org/2/tutorial/classes.html#iterators https://docs.python.org/2/library/itertools.html https://scipy-lectures.github.io/advanced/advanced_python/index.html#iterators-generator-expressions-and-generators https://docs.python.org/3/library/asyncio.html (3.4+) Tools for working functionally with iterators and generators: https://github.com/pytoolz/toolz https://github.com/kachayev/fn.py/blob/master/README.rst http://funcy.readthedocs.org/en/latest/ On Oct 27, 2014 4:02 PM, "Varun Mehta" wrote: > Hi all > > I have a query regarding the Iterator vs Generator. > Generator is specific type of Iterator. > But both still use next function to produce next value and save memory. > > So, which should be preferred? > Any advantage of one over other? > > Warm Regards > Varun Mehta > > > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From varun.sagi20 at gmail.com Tue Oct 28 01:19:19 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Mon, 27 Oct 2014 19:19:19 -0500 Subject: [omaha] Iterators vs Generator!! In-Reply-To: References: Message-ID: <8D7A114E-B835-4A60-882D-7F64A0A5B67F@gmail.com> Thank you for inputs Wes. I guess i?ll find my answers in one of the links. -Varun On Oct 27, 2014, at 7:07 PM, Wes Turner wrote: > Both iterators and generators can be functionally composed. > > Generators can maintain local state as they are iterated through. > > Learning not to consume iterators and generators is a good thing; both for > Python 3 (where things like .keys() are now .iterkeys()) and for asyncio > ("yield from"). > > An object can implement .__iter__() /.next()) and not .__len__(). > > Docs: > > https://docs.python.org/2/reference/datamodel.html#the-standard-type-hierarchy > > https://docs.python.org/2/glossary.html#term-generator > > https://docs.python.org/2/glossary.html#term-iterator > > https://docs.python.org/2/tutorial/classes.html#generators > > https://docs.python.org/2/howto/functional.html#iterators > > https://docs.python.org/2/tutorial/classes.html#iterators > > https://docs.python.org/2/library/itertools.html > > https://scipy-lectures.github.io/advanced/advanced_python/index.html#iterators-generator-expressions-and-generators > > https://docs.python.org/3/library/asyncio.html (3.4+) > > Tools for working functionally with iterators and generators: > > https://github.com/pytoolz/toolz > > https://github.com/kachayev/fn.py/blob/master/README.rst > > http://funcy.readthedocs.org/en/latest/ > On Oct 27, 2014 4:02 PM, "Varun Mehta" wrote: > >> Hi all >> >> I have a query regarding the Iterator vs Generator. >> Generator is specific type of Iterator. >> But both still use next function to produce next value and save memory. >> >> So, which should be preferred? >> Any advantage of one over other? >> >> Warm Regards >> Varun Mehta >> >> >> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From varun.sagi20 at gmail.com Tue Oct 28 01:49:19 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Mon, 27 Oct 2014 19:49:19 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: References: Message-ID: <9886F591-9F80-45C6-B7CB-E8CB7EBE85BF@gmail.com> Jeff Have you got some response from JetBrains? Varun On Oct 17, 2014, at 4:04 PM, Jeff Hinrichs wrote: > I just emailed them last night to see if we could get get one. Nice catch > though. Often times vendors offer these to user groups. So if anyone > knows of others we could get for "door prizes" for the group, let me know. > > Best, > Jeff > > -Jeff > > On Fri, Oct 17, 2014 at 2:29 PM, Rob Townley wrote: > >> Free raffle for pro license open to groups like ours. >> >> https://www.jetbrains.com/devnet/sponsorship/usergroups/ >> On Oct 17, 2014 10:27 AM, "Tom Seiler" wrote: >> >>> I use a modified version of Solarized Light (changed to make the >> backgounds >>> white so that they don't clash with the system UI). >>> >>> On Fri, Oct 17, 2014 at 8:57 AM, Steve Young >>> wrote: >>> >>>> Did I mention I can get sidetracked with this type of thing? >>>> >>>> I tried the textmate themes but did not find anything I liked better >> than >>>> my theme. Here it is if you want to take a look. Sorry for the large >>> font >>>> size, but I don't have to wear the bifocals with this one! >>>> >>>> Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in >>>> settings, IDE, Editor, Colors & Fonts. >>>> >>>> >>>> On Fri, Oct 17, 2014 at 8:41 AM, Steve Young < >> wereapwhatwesow at gmail.com> >>>> wrote: >>>> >>>>> btw, I hope the upgrade will be useful to you - we were kind of >> zealous >>>>> about how much we liked PyCharm the other night. >>>>> >>>>> On Fri, Oct 17, 2014 at 8:36 AM, Steve Young < >>> wereapwhatwesow at gmail.com> >>>>> wrote: >>>>> >>>>>> I use Monokai with a few color changes. I think it came with the >>>> default >>>>>> install. I intentionally tried to not spend a lot of time tweaking >>> the >>>>>> display as I can go way overboard with that type of thing. >>>>>> >>>>>> Here is a post with some suggestions: >>>>>> >>>>>> >>>> >>> >> http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file >>>>>> >>>>>> and someone has posted Textmate themes for Pycharm here: >>>>>> https://github.com/d1ffuz0r/pycharm-themes >>>>>> >>>>>> I did not see a repository for Pycharm themes anywhere, just various >>>>>> people who uploaded something at various places on the internet. >>>>>> >>>>>> So if you come up with something please share so we can code review >>> it! >>>>>> >>>>>> Steve >>>>>> >>>>>> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < >>>>>> jeffh at dundeemt.com> wrote: >>>>>> >>>>>>> Ok, so I ponied up my subscription to get to 3.x >>>>>>> Now, I'm trying to find a theme -- darcula is annoying but not as >> bad >>>> as >>>>>>> the other light chromes. >>>>>>> I've been trying to find something approaching sublime's default >>> theme. >>>>>>> I found obsidian, >>>>>>> >>>>>>> >>>> >>> >> https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar >>>>>>> >>>>>>> Which is better but still has problems with the Tabs being way to >>> dark >>>> or >>>>>>> more correctly, not enough contrast to be able to read the filename >>> in >>>>>>> the >>>>>>> tab. The editor window is better than darcula. >>>>>>> >>>>>>> So I am still hunting. What themes do you use? and where did you >>> find >>>>>>> it.? >>>>>>> >>>>>>> -- >>>>>>> Best, >>>>>>> >>>>>>> Jeff Hinrichs >>>>>>> 402.218.1473 >>>>>>> _______________________________________________ >>>>>>> Omaha Python Users Group mailing list >>>>>>> Omaha at python.org >>>>>>> https://mail.python.org/mailman/listinfo/omaha >>>>>>> http://www.OmahaPython.org >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Omaha Python Users Group mailing list >>>> Omaha at python.org >>>> https://mail.python.org/mailman/listinfo/omaha >>>> http://www.OmahaPython.org >>>> >>> _______________________________________________ >>> Omaha Python Users Group mailing list >>> Omaha at python.org >>> https://mail.python.org/mailman/listinfo/omaha >>> http://www.OmahaPython.org >>> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From jeffh at dundeemt.com Tue Oct 28 02:11:33 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Mon, 27 Oct 2014 20:11:33 -0500 Subject: [omaha] pycharm: what theme do you use? In-Reply-To: <9886F591-9F80-45C6-B7CB-E8CB7EBE85BF@gmail.com> References: <9886F591-9F80-45C6-B7CB-E8CB7EBE85BF@gmail.com> Message-ID: not as of yet. On Mon, Oct 27, 2014 at 7:49 PM, Varun Mehta wrote: > Jeff > > Have you got some response from JetBrains? > > Varun > > On Oct 17, 2014, at 4:04 PM, Jeff Hinrichs wrote: > > > I just emailed them last night to see if we could get get one. Nice > catch > > though. Often times vendors offer these to user groups. So if anyone > > knows of others we could get for "door prizes" for the group, let me > know. > > > > Best, > > Jeff > > > > -Jeff > > > > On Fri, Oct 17, 2014 at 2:29 PM, Rob Townley > wrote: > > > >> Free raffle for pro license open to groups like ours. > >> > >> https://www.jetbrains.com/devnet/sponsorship/usergroups/ > >> On Oct 17, 2014 10:27 AM, "Tom Seiler" wrote: > >> > >>> I use a modified version of Solarized Light (changed to make the > >> backgounds > >>> white so that they don't clash with the system UI). > >>> > >>> On Fri, Oct 17, 2014 at 8:57 AM, Steve Young < > wereapwhatwesow at gmail.com> > >>> wrote: > >>> > >>>> Did I mention I can get sidetracked with this type of thing? > >>>> > >>>> I tried the textmate themes but did not find anything I liked better > >> than > >>>> my theme. Here it is if you want to take a look. Sorry for the large > >>> font > >>>> size, but I don't have to wear the bifocals with this one! > >>>> > >>>> Copy to Home/.PyCharm30/config/colors, restart PyCharm, and look in > >>>> settings, IDE, Editor, Colors & Fonts. > >>>> > >>>> > >>>> On Fri, Oct 17, 2014 at 8:41 AM, Steve Young < > >> wereapwhatwesow at gmail.com> > >>>> wrote: > >>>> > >>>>> btw, I hope the upgrade will be useful to you - we were kind of > >> zealous > >>>>> about how much we liked PyCharm the other night. > >>>>> > >>>>> On Fri, Oct 17, 2014 at 8:36 AM, Steve Young < > >>> wereapwhatwesow at gmail.com> > >>>>> wrote: > >>>>> > >>>>>> I use Monokai with a few color changes. I think it came with the > >>>> default > >>>>>> install. I intentionally tried to not spend a lot of time tweaking > >>> the > >>>>>> display as I can go way overboard with that type of thing. > >>>>>> > >>>>>> Here is a post with some suggestions: > >>>>>> > >>>>>> > >>>> > >>> > >> > http://stackoverflow.com/questions/3238893/does-anyone-have-a-dark-pycharm-schema-file > >>>>>> > >>>>>> and someone has posted Textmate themes for Pycharm here: > >>>>>> https://github.com/d1ffuz0r/pycharm-themes > >>>>>> > >>>>>> I did not see a repository for Pycharm themes anywhere, just various > >>>>>> people who uploaded something at various places on the internet. > >>>>>> > >>>>>> So if you come up with something please share so we can code review > >>> it! > >>>>>> > >>>>>> Steve > >>>>>> > >>>>>> On Fri, Oct 17, 2014 at 12:29 AM, Jeff Hinrichs - DM&T < > >>>>>> jeffh at dundeemt.com> wrote: > >>>>>> > >>>>>>> Ok, so I ponied up my subscription to get to 3.x > >>>>>>> Now, I'm trying to find a theme -- darcula is annoying but not as > >> bad > >>>> as > >>>>>>> the other light chromes. > >>>>>>> I've been trying to find something approaching sublime's default > >>> theme. > >>>>>>> I found obsidian, > >>>>>>> > >>>>>>> > >>>> > >>> > >> > https://raw.githubusercontent.com/mekwall/obsidian-color-scheme/master/webide/Obsidian_Color_Scheme.jar > >>>>>>> > >>>>>>> Which is better but still has problems with the Tabs being way to > >>> dark > >>>> or > >>>>>>> more correctly, not enough contrast to be able to read the filename > >>> in > >>>>>>> the > >>>>>>> tab. The editor window is better than darcula. > >>>>>>> > >>>>>>> So I am still hunting. What themes do you use? and where did you > >>> find > >>>>>>> it.? > >>>>>>> > >>>>>>> -- > >>>>>>> Best, > >>>>>>> > >>>>>>> Jeff Hinrichs > >>>>>>> 402.218.1473 > >>>>>>> _______________________________________________ > >>>>>>> Omaha Python Users Group mailing list > >>>>>>> Omaha at python.org > >>>>>>> https://mail.python.org/mailman/listinfo/omaha > >>>>>>> http://www.OmahaPython.org > >>>>>>> > >>>>>> > >>>>>> > >>>>> > >>>> > >>>> _______________________________________________ > >>>> Omaha Python Users Group mailing list > >>>> Omaha at python.org > >>>> https://mail.python.org/mailman/listinfo/omaha > >>>> http://www.OmahaPython.org > >>>> > >>> _______________________________________________ > >>> Omaha Python Users Group mailing list > >>> Omaha at python.org > >>> https://mail.python.org/mailman/listinfo/omaha > >>> http://www.OmahaPython.org > >>> > >> _______________________________________________ > >> Omaha Python Users Group mailing list > >> Omaha at python.org > >> https://mail.python.org/mailman/listinfo/omaha > >> http://www.OmahaPython.org > >> > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From jeffh at dundeemt.com Tue Oct 28 05:09:45 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Mon, 27 Oct 2014 23:09:45 -0500 Subject: [omaha] Iterators vs Generator!! In-Reply-To: <8D7A114E-B835-4A60-882D-7F64A0A5B67F@gmail.com> References: <8D7A114E-B835-4A60-882D-7F64A0A5B67F@gmail.com> Message-ID: The primary difference is that generators are not reusable. see http://pymbook.readthedocs.org/en/latest/igd.html for additional information. essentially, when you hit the end of your generator, because it holds state, it keeps saying, "stop iteration" by returing None and not yield'ing a value. Where an iterator has no state. When it goes out of scope, like in a "for" block, the next time you use it, it starts over. You can make a generator reusable, but it takes work and purpose, since you are working against it's reason for existing and attempting to turn it back into a more general iterator. Best, Jeff On Mon, Oct 27, 2014 at 7:19 PM, Varun Mehta wrote: > Thank you for inputs Wes. > > I guess i?ll find my answers in one of the links. > > -Varun > > On Oct 27, 2014, at 7:07 PM, Wes Turner wrote: > > > Both iterators and generators can be functionally composed. > > > > Generators can maintain local state as they are iterated through. > > > > Learning not to consume iterators and generators is a good thing; both > for > > Python 3 (where things like .keys() are now .iterkeys()) and for asyncio > > ("yield from"). > > > > An object can implement .__iter__() /.next()) and not .__len__(). > > > > Docs: > > > > > https://docs.python.org/2/reference/datamodel.html#the-standard-type-hierarchy > > > > https://docs.python.org/2/glossary.html#term-generator > > > > https://docs.python.org/2/glossary.html#term-iterator > > > > https://docs.python.org/2/tutorial/classes.html#generators > > > > https://docs.python.org/2/howto/functional.html#iterators > > > > https://docs.python.org/2/tutorial/classes.html#iterators > > > > https://docs.python.org/2/library/itertools.html > > > > > https://scipy-lectures.github.io/advanced/advanced_python/index.html#iterators-generator-expressions-and-generators > > > > https://docs.python.org/3/library/asyncio.html (3.4+) > > > > Tools for working functionally with iterators and generators: > > > > https://github.com/pytoolz/toolz > > > > https://github.com/kachayev/fn.py/blob/master/README.rst > > > > http://funcy.readthedocs.org/en/latest/ > > On Oct 27, 2014 4:02 PM, "Varun Mehta" wrote: > > > >> Hi all > >> > >> I have a query regarding the Iterator vs Generator. > >> Generator is specific type of Iterator. > >> But both still use next function to produce next value and save memory. > >> > >> So, which should be preferred? > >> Any advantage of one over other? > >> > >> Warm Regards > >> Varun Mehta > >> > >> > >> > >> _______________________________________________ > >> Omaha Python Users Group mailing list > >> Omaha at python.org > >> https://mail.python.org/mailman/listinfo/omaha > >> http://www.OmahaPython.org > >> > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From varun.sagi20 at gmail.com Tue Oct 28 17:26:58 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Tue, 28 Oct 2014 11:26:58 -0500 Subject: [omaha] Iterators vs Generator!! In-Reply-To: References: <8D7A114E-B835-4A60-882D-7F64A0A5B67F@gmail.com> Message-ID: Thank you Jeff for the crisp inputs. That is exactly what i was looking for. Varun On Oct 27, 2014, at 11:09 PM, Jeff Hinrichs - DM&T wrote: > The primary difference is that generators are not reusable. see > http://pymbook.readthedocs.org/en/latest/igd.html for additional > information. > > essentially, when you hit the end of your generator, because it holds > state, it keeps saying, "stop iteration" by returing None and not yield'ing > a value. Where an iterator has no state. When it goes out of scope, like > in a "for" block, the next time you use it, it starts over. > > You can make a generator reusable, but it takes work and purpose, since you > are working against it's reason for existing and attempting to turn it back > into a more general iterator. > > Best, > Jeff > > On Mon, Oct 27, 2014 at 7:19 PM, Varun Mehta wrote: > >> Thank you for inputs Wes. >> >> I guess i?ll find my answers in one of the links. >> >> -Varun >> >> On Oct 27, 2014, at 7:07 PM, Wes Turner wrote: >> >>> Both iterators and generators can be functionally composed. >>> >>> Generators can maintain local state as they are iterated through. >>> >>> Learning not to consume iterators and generators is a good thing; both >> for >>> Python 3 (where things like .keys() are now .iterkeys()) and for asyncio >>> ("yield from"). >>> >>> An object can implement .__iter__() /.next()) and not .__len__(). >>> >>> Docs: >>> >>> >> https://docs.python.org/2/reference/datamodel.html#the-standard-type-hierarchy >>> >>> https://docs.python.org/2/glossary.html#term-generator >>> >>> https://docs.python.org/2/glossary.html#term-iterator >>> >>> https://docs.python.org/2/tutorial/classes.html#generators >>> >>> https://docs.python.org/2/howto/functional.html#iterators >>> >>> https://docs.python.org/2/tutorial/classes.html#iterators >>> >>> https://docs.python.org/2/library/itertools.html >>> >>> >> https://scipy-lectures.github.io/advanced/advanced_python/index.html#iterators-generator-expressions-and-generators >>> >>> https://docs.python.org/3/library/asyncio.html (3.4+) >>> >>> Tools for working functionally with iterators and generators: >>> >>> https://github.com/pytoolz/toolz >>> >>> https://github.com/kachayev/fn.py/blob/master/README.rst >>> >>> http://funcy.readthedocs.org/en/latest/ >>> On Oct 27, 2014 4:02 PM, "Varun Mehta" wrote: >>> >>>> Hi all >>>> >>>> I have a query regarding the Iterator vs Generator. >>>> Generator is specific type of Iterator. >>>> But both still use next function to produce next value and save memory. >>>> >>>> So, which should be preferred? >>>> Any advantage of one over other? >>>> >>>> Warm Regards >>>> Varun Mehta >>>> >>>> >>>> >>>> _______________________________________________ >>>> Omaha Python Users Group mailing list >>>> Omaha at python.org >>>> https://mail.python.org/mailman/listinfo/omaha >>>> http://www.OmahaPython.org >>>> >>> _______________________________________________ >>> Omaha Python Users Group mailing list >>> Omaha at python.org >>> https://mail.python.org/mailman/listinfo/omaha >>> http://www.OmahaPython.org >> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > > > > -- > Best, > > Jeff Hinrichs > 402.218.1473 > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From varun.sagi20 at gmail.com Fri Oct 31 19:10:13 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Fri, 31 Oct 2014 13:10:13 -0500 Subject: [omaha] Which Relational Database!! Message-ID: Hi I am learning Django and i wanted to use MySql as database with Python 3.4.2. But i learnt that MySQL_Python is not supported for Python3.x.(http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database) So,i have a few queries: Which is best performing relational Database with Python? Would it be beneficial to use a Python based driver (PyMySQL) for a commercial solution? Are there any other libraries which are not supported in 3.x? Thanks in advance. Varun From elicriffield at gmail.com Fri Oct 31 19:48:09 2014 From: elicriffield at gmail.com (Eli Criffield) Date: Fri, 31 Oct 2014 13:48:09 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: References: Message-ID: While I haven't used it I'm sure that python 3.x and the latest django support MySql. Mysql is by far the most popular relational database for use with python and django. It must be just that driver that is deprecated. I'm not sure what driver is most common these days, anyone? The only other real choice is postgres. It is supported very well by django and is the database of choice for the django development team and a lot of the django community. Either postgres or MySql should work fine with django, it comes down to more of where do you plan to host it and what databases do they offer. I use google's app engine a lot and they offer hosted mysql (they call it clould sql) so that's what i use most of the time. If you are managing your own server then go with the database you know more about or the one you want to learn more about. Eli On Fri, Oct 31, 2014 at 1:10 PM, Varun Mehta wrote: > Hi > > I am learning Django and i wanted to use MySql as database with Python > 3.4.2. > But i learnt that MySQL_Python is not supported for Python3.x.( > http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database > ) > > So,i have a few queries: > Which is best performing relational Database with Python? > Would it be beneficial to use a Python based driver (PyMySQL) for a > commercial solution? > Are there any other libraries which are not supported in 3.x? > > Thanks in advance. > > Varun > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From jeffh at dundeemt.com Fri Oct 31 19:43:46 2014 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 31 Oct 2014 13:43:46 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: References: Message-ID: We/I have mainly used MySQL with Django where Python < 3.0. As we start new projects with Python 3, I will be looking at PostgreSQL. There are lots of things to like about it. It is favored by Django (not to the detriment of other DBs though) There are some excellent videos to get up to speed using it from a Python perspective. For instance: http://pyvideo.org/video/2573/postgresql-proficiency-for-python-people On Fri, Oct 31, 2014 at 1:10 PM, Varun Mehta wrote: > Hi > > I am learning Django and i wanted to use MySql as database with Python > 3.4.2. > But i learnt that MySQL_Python is not supported for Python3.x.( > http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database > ) > > So,i have a few queries: > Which is best performing relational Database with Python? > Would it be beneficial to use a Python based driver (PyMySQL) for a > commercial solution? > Are there any other libraries which are not supported in 3.x? > > Thanks in advance. > > Varun > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Best, Jeff Hinrichs 402.218.1473 From mike at hostetlerhome.com Fri Oct 31 19:56:26 2014 From: mike at hostetlerhome.com (Mike Hostetler) Date: Fri, 31 Oct 2014 13:56:26 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: References: Message-ID: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> I use PostgreSQL for all my Django apps. The default MySQL tables didn't use to have referential integrity and transactions by default (you had to change table types to get those). I don't thing that is the case anymore. In the end I think that's a preference and a case-by-case basis. If it's just a CRUD app, either one is just fine -- Mike Hostetler mike at hostetlerhome.com On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: > Hi > > I am learning Django and i wanted to use MySql as database with Python > 3.4.2. > But i learnt that MySQL_Python is not supported for > Python3.x.(http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database) > > So,i have a few queries: > Which is best performing relational Database with Python? > Would it be beneficial to use a Python based driver (PyMySQL) for a > commercial solution? > Are there any other libraries which are not supported in 3.x? > > Thanks in advance. > > Varun > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From varun.sagi20 at gmail.com Fri Oct 31 20:14:25 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Fri, 31 Oct 2014 14:14:25 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> References: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> Message-ID: <533D0C2D-B247-41D9-8F3B-23A17D0930E2@gmail.com> Thanks Jeff. Instagram with PostgreSQL is definitely a convincing reasoning. Eli, Mysql C wrapper is definitely not working directly in current version of 3.4. A python alternative might not be a viable commercial solution. But thank you for Google App engine which powers quite large apps. So, now, i have a very interesting point for evaluation - Google App Engine with MySQL and Amazon EC2 with PostgreSQL. And I agree Mike, it?s case by case basis. But i have no preference at the moment as i have to learn both and i am quite open with only consideration of reaping benefits of today?s effort in future. :) But i still have an unanswered question: Where i can check for libraries yet to be ported to Python 3.4? Which is better for commercial solution - Python 2.x vs 3.x? Thank you all once again for prompt and detailed. :) Varun On Oct 31, 2014, at 1:56 PM, Mike Hostetler wrote: > > I use PostgreSQL for all my Django apps. > > The default MySQL tables didn't use to have referential integrity and > transactions by default (you had to change table types to get those). I > don't thing that is the case anymore. > > In the end I think that's a preference and a case-by-case basis. If it's > just a CRUD app, either one is just fine > -- > Mike Hostetler > mike at hostetlerhome.com > > On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: >> Hi >> >> I am learning Django and i wanted to use MySql as database with Python >> 3.4.2. >> But i learnt that MySQL_Python is not supported for >> Python3.x.(http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database) >> >> So,i have a few queries: >> Which is best performing relational Database with Python? >> Would it be beneficial to use a Python based driver (PyMySQL) for a >> commercial solution? >> Are there any other libraries which are not supported in 3.x? >> >> Thanks in advance. >> >> Varun >> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From varun.sagi20 at gmail.com Fri Oct 31 20:14:39 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Fri, 31 Oct 2014 14:14:39 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> References: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> Message-ID: <229BE0D0-9F6E-4559-B8E3-5A90AAAA1370@gmail.com> Thanks Jeff. Instagram with PostgreSQL is definitely a convincing reasoning. Eli, Mysql C wrapper is definitely not working directly in current version of 3.4. A python alternative might not be a viable commercial solution. But thank you for Google App engine which powers quite large apps. So, now, i have a very interesting point for evaluation - Google App Engine with MySQL and Amazon EC2 with PostgreSQL. And I agree Mike, it?s case by case basis. But i have no preference at the moment as i have to learn both and i am quite open with only consideration of reaping benefits of today?s effort in future. :) But i still have an unanswered question: Where i can check for libraries yet to be ported to Python 3.4? Which is better for commercial solution - Python 2.x vs 3.x? Thank you all once again for prompt and deta :) Varun On Oct 31, 2014, at 1:56 PM, Mike Hostetler wrote: > > I use PostgreSQL for all my Django apps. > > The default MySQL tables didn't use to have referential integrity and > transactions by default (you had to change table types to get those). I > don't thing that is the case anymore. > > In the end I think that's a preference and a case-by-case basis. If it's > just a CRUD app, either one is just fine > -- > Mike Hostetler > mike at hostetlerhome.com > > On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: >> Hi >> >> I am learning Django and i wanted to use MySql as database with Python >> 3.4.2. >> But i learnt that MySQL_Python is not supported for >> Python3.x.(http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database) >> >> So,i have a few queries: >> Which is best performing relational Database with Python? >> Would it be beneficial to use a Python based driver (PyMySQL) for a >> commercial solution? >> Are there any other libraries which are not supported in 3.x? >> >> Thanks in advance. >> >> Varun >> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From keckbug at gmail.com Fri Oct 31 22:44:06 2014 From: keckbug at gmail.com (Aaron Keck) Date: Fri, 31 Oct 2014 16:44:06 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: <229BE0D0-9F6E-4559-B8E3-5A90AAAA1370@gmail.com> References: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> <229BE0D0-9F6E-4559-B8E3-5A90AAAA1370@gmail.com> Message-ID: You can check the https://python3wos.appspot.com/ Wall of Shame/Superpowers for quick support info on the major libraries. Even if supported, it's important to look into each library's support for Python3. For example, boto supports Python 3 for most of the AWS integrations, but not for Google App Engine yet. Unless you're dependent on a particular library that is Python 2.x only, Python 3.x is a perfectly valid commercial product. I don't see 2.7 support dropping any time soon, but the Python 3 train seems to keep moving steadily forward. If you're looking at a long-term product, I'd try to go Python 3. On Fri, Oct 31, 2014 at 2:14 PM, Varun Mehta wrote: > Thanks Jeff. Instagram with PostgreSQL is definitely a convincing > reasoning. > > Eli, Mysql C wrapper is definitely not working directly in current version > of 3.4. A python alternative might not be a viable commercial solution. > But thank you for Google App engine which powers quite large apps. > > So, now, i have a very interesting point for evaluation - Google App > Engine with MySQL and Amazon EC2 with PostgreSQL. > > And I agree Mike, it?s case by case basis. But i have no preference at the > moment as i have to learn both and i am quite open with only consideration > of reaping benefits of today?s effort in future. :) > > But i still have an unanswered question: > Where i can check for libraries yet to be ported to Python 3.4? > Which is better for commercial solution - Python 2.x vs 3.x? > > Thank you all once again for prompt and deta :) > > Varun > > On Oct 31, 2014, at 1:56 PM, Mike Hostetler > wrote: > > > > > I use PostgreSQL for all my Django apps. > > > > The default MySQL tables didn't use to have referential integrity and > > transactions by default (you had to change table types to get those). I > > don't thing that is the case anymore. > > > > In the end I think that's a preference and a case-by-case basis. If it's > > just a CRUD app, either one is just fine > > -- > > Mike Hostetler > > mike at hostetlerhome.com > > > > On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: > >> Hi > >> > >> I am learning Django and i wanted to use MySql as database with Python > >> 3.4.2. > >> But i learnt that MySQL_Python is not supported for > >> Python3.x.( > http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database > ) > >> > >> So,i have a few queries: > >> Which is best performing relational Database with Python? > >> Would it be beneficial to use a Python based driver (PyMySQL) for a > >> commercial solution? > >> Are there any other libraries which are not supported in 3.x? > >> > >> Thanks in advance. > >> > >> Varun > >> > >> _______________________________________________ > >> Omaha Python Users Group mailing list > >> Omaha at python.org > >> https://mail.python.org/mailman/listinfo/omaha > >> http://www.OmahaPython.org > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > From varun.sagi20 at gmail.com Fri Oct 31 23:00:35 2014 From: varun.sagi20 at gmail.com (Varun Mehta) Date: Fri, 31 Oct 2014 17:00:35 -0500 Subject: [omaha] Which Relational Database!! In-Reply-To: References: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> <229BE0D0-9F6E-4559-B8E3-5A90AAAA1370@gmail.com> Message-ID: Thanks for this one stop shop info Aaron. Varun On Oct 31, 2014, at 4:44 PM, Aaron Keck wrote: > You can check the https://python3wos.appspot.com/ Wall of Shame/Superpowers > for quick support info on the major libraries. Even if supported, it's > important to look into each library's support for Python3. For example, > boto supports Python 3 for most of the AWS integrations, but not for Google > App Engine yet. > > Unless you're dependent on a particular library that is Python 2.x only, > Python 3.x is a perfectly valid commercial product. I don't see 2.7 > support dropping any time soon, but the Python 3 train seems to keep > moving steadily forward. > > If you're looking at a long-term product, I'd try to go Python 3. > > On Fri, Oct 31, 2014 at 2:14 PM, Varun Mehta wrote: > >> Thanks Jeff. Instagram with PostgreSQL is definitely a convincing >> reasoning. >> >> Eli, Mysql C wrapper is definitely not working directly in current version >> of 3.4. A python alternative might not be a viable commercial solution. >> But thank you for Google App engine which powers quite large apps. >> >> So, now, i have a very interesting point for evaluation - Google App >> Engine with MySQL and Amazon EC2 with PostgreSQL. >> >> And I agree Mike, it?s case by case basis. But i have no preference at the >> moment as i have to learn both and i am quite open with only consideration >> of reaping benefits of today?s effort in future. :) >> >> But i still have an unanswered question: >> Where i can check for libraries yet to be ported to Python 3.4? >> Which is better for commercial solution - Python 2.x vs 3.x? >> >> Thank you all once again for prompt and deta :) >> >> Varun >> >> On Oct 31, 2014, at 1:56 PM, Mike Hostetler >> wrote: >> >>> >>> I use PostgreSQL for all my Django apps. >>> >>> The default MySQL tables didn't use to have referential integrity and >>> transactions by default (you had to change table types to get those). I >>> don't thing that is the case anymore. >>> >>> In the end I think that's a preference and a case-by-case basis. If it's >>> just a CRUD app, either one is just fine >>> -- >>> Mike Hostetler >>> mike at hostetlerhome.com >>> >>> On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: >>>> Hi >>>> >>>> I am learning Django and i wanted to use MySql as database with Python >>>> 3.4.2. >>>> But i learnt that MySQL_Python is not supported for >>>> Python3.x.( >> http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database >> ) >>>> >>>> So,i have a few queries: >>>> Which is best performing relational Database with Python? >>>> Would it be beneficial to use a Python based driver (PyMySQL) for a >>>> commercial solution? >>>> Are there any other libraries which are not supported in 3.x? >>>> >>>> Thanks in advance. >>>> >>>> Varun >>>> >>>> _______________________________________________ >>>> Omaha Python Users Group mailing list >>>> Omaha at python.org >>>> https://mail.python.org/mailman/listinfo/omaha >>>> http://www.OmahaPython.org >>> _______________________________________________ >>> Omaha Python Users Group mailing list >>> Omaha at python.org >>> https://mail.python.org/mailman/listinfo/omaha >>> http://www.OmahaPython.org >> >> _______________________________________________ >> Omaha Python Users Group mailing list >> Omaha at python.org >> https://mail.python.org/mailman/listinfo/omaha >> http://www.OmahaPython.org >> > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From jaybocc2 at gmail.com Fri Oct 31 23:35:08 2014 From: jaybocc2 at gmail.com (Jay Bendon) Date: Fri, 31 Oct 2014 15:35:08 -0700 Subject: [omaha] Which Relational Database!! In-Reply-To: References: <1414781786.1353957.185653521.6DCB7792@webmail.messagingengine.com> <229BE0D0-9F6E-4559-B8E3-5A90AAAA1370@gmail.com> Message-ID: SQLAlchemy supports pytnon 2.5-3.x (including 3.4 as i understand it) http://www.sqlalchemy.org/features.html http://docs.sqlalchemy.org/en/latest/changelog/changelog_09.html#change-0.9.8 --Jay On Fri, Oct 31, 2014 at 3:00 PM, Varun Mehta wrote: > Thanks for this one stop shop info Aaron. > > Varun > > On Oct 31, 2014, at 4:44 PM, Aaron Keck wrote: > > > You can check the https://python3wos.appspot.com/ Wall of > Shame/Superpowers > > for quick support info on the major libraries. Even if supported, it's > > important to look into each library's support for Python3. For example, > > boto supports Python 3 for most of the AWS integrations, but not for > Google > > App Engine yet. > > > > Unless you're dependent on a particular library that is Python 2.x only, > > Python 3.x is a perfectly valid commercial product. I don't see 2.7 > > support dropping any time soon, but the Python 3 train seems to keep > > moving steadily forward. > > > > If you're looking at a long-term product, I'd try to go Python 3. > > > > On Fri, Oct 31, 2014 at 2:14 PM, Varun Mehta > wrote: > > > >> Thanks Jeff. Instagram with PostgreSQL is definitely a convincing > >> reasoning. > >> > >> Eli, Mysql C wrapper is definitely not working directly in current > version > >> of 3.4. A python alternative might not be a viable commercial solution. > >> But thank you for Google App engine which powers quite large apps. > >> > >> So, now, i have a very interesting point for evaluation - Google App > >> Engine with MySQL and Amazon EC2 with PostgreSQL. > >> > >> And I agree Mike, it?s case by case basis. But i have no preference at > the > >> moment as i have to learn both and i am quite open with only > consideration > >> of reaping benefits of today?s effort in future. :) > >> > >> But i still have an unanswered question: > >> Where i can check for libraries yet to be ported to Python 3.4? > >> Which is better for commercial solution - Python 2.x vs 3.x? > >> > >> Thank you all once again for prompt and deta :) > >> > >> Varun > >> > >> On Oct 31, 2014, at 1:56 PM, Mike Hostetler > >> wrote: > >> > >>> > >>> I use PostgreSQL for all my Django apps. > >>> > >>> The default MySQL tables didn't use to have referential integrity and > >>> transactions by default (you had to change table types to get those). I > >>> don't thing that is the case anymore. > >>> > >>> In the end I think that's a preference and a case-by-case basis. If > it's > >>> just a CRUD app, either one is just fine > >>> -- > >>> Mike Hostetler > >>> mike at hostetlerhome.com > >>> > >>> On Fri, Oct 31, 2014, at 01:10 PM, Varun Mehta wrote: > >>>> Hi > >>>> > >>>> I am learning Django and i wanted to use MySql as database with Python > >>>> 3.4.2. > >>>> But i learnt that MySQL_Python is not supported for > >>>> Python3.x.( > >> > http://stackoverflow.com/questions/23376103/python-3-4-0-with-mysql-database > >> ) > >>>> > >>>> So,i have a few queries: > >>>> Which is best performing relational Database with Python? > >>>> Would it be beneficial to use a Python based driver (PyMySQL) for a > >>>> commercial solution? > >>>> Are there any other libraries which are not supported in 3.x? > >>>> > >>>> Thanks in advance. > >>>> > >>>> Varun > >>>> > >>>> _______________________________________________ > >>>> Omaha Python Users Group mailing list > >>>> Omaha at python.org > >>>> https://mail.python.org/mailman/listinfo/omaha > >>>> http://www.OmahaPython.org > >>> _______________________________________________ > >>> Omaha Python Users Group mailing list > >>> Omaha at python.org > >>> https://mail.python.org/mailman/listinfo/omaha > >>> http://www.OmahaPython.org > >> > >> _______________________________________________ > >> Omaha Python Users Group mailing list > >> Omaha at python.org > >> https://mail.python.org/mailman/listinfo/omaha > >> http://www.OmahaPython.org > >> > > _______________________________________________ > > Omaha Python Users Group mailing list > > Omaha at python.org > > https://mail.python.org/mailman/listinfo/omaha > > http://www.OmahaPython.org > > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > https://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org >