If you need to test for different versions and platforms then tox is the
way to go, otherwise just test using the same environment as your
production.

For continuous integration, we use circleci.com which is very simple to
use, otherwise Jenkins is a good option.

SQLalchemy is probably the best choice for an ORM in Python. JSON support
is built-in https://docs.python.org/2/library/json.html

Hope this helps,
Diarmuid

On 17 November 2014 11:44, Kingsley Kelly <[email protected]> wrote:

> Thanks Diarmuid, we're probably going with flask as it's a more service
> orientated with some dashboards.
> Any thoughts on specifics for testing? Is it worth using tox? Is there any
> consensus on how best to do Continuous integration?
>
> I guess my problem is I've been out of python for a while, I'm as much
> wondering about what are the generally accepted libraries for managing a DB
> (SQLAlchemy?), handling JSON and so on. Just looking for a kind of up to
> date list of what would be considered state of the art.
>
> On Mon, Nov 17, 2014 at 10:13 AM, Diarmuid Bourke <
> [email protected]> wrote:
>
>> I guess it depends on what you're developing. Desktop / Web / Services ?
>>
>> I'll make an assumption and say web development, in which case the top
>> three I would recommend are Django, Flask and Pyramid.
>>
>> Regarding testing, unittest and py.test are good options. For a BDD
>> solution, you could try http://lettuce.it/ <http://lettuce.it/#>
>>
>> As for IDEs, there are a few available with good Python support. PyCharm
>> is what I use personally. I wouldn't worry about making people use the same
>> editor/IDE, but rather make sure people follow the same guidelines when
>> writing code. PEP8, proper testing, etc.
>>
>> As for deployment, I don't think there's a standard guideline as
>> everywhere I've seen does it differently. If you want to do packaging
>> though, http://peak.telecommunity.com/DevCenter/PythonEggs is the way to
>> go.
>>
>> Regards,
>> Diarmuid
>>
>> On 17 November 2014 09:53, Kingsley Kelly <[email protected]>
>> wrote:
>>
>>> Hey everyone!
>>>
>>> We're looking to formalise our python stack in work and was wondering if
>>> anyone knew any good resources for what current best practices are.
>>>
>>> Really looking for everything here from testing to frameworks to
>>> deployment, even IDE's, not sure if there's any books or guides it would be
>>> good to read?
>>>
>>> I know a lot of this is a matter of opinion, but was wondering where the
>>> best place to start is.
>>>
>>> Thanks for any input!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Ireland" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Diarmuid Bourke / me@diarmuidbourke
>> Python Ireland / Chairperson [email protected]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Ireland" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Ireland" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Diarmuid Bourke / me@diarmuidbourke
Python Ireland / Chairperson [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Ireland" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to