Creating a python client for an external service advice

2017-09-13 Thread ivan77
Hi All,

I would like to create a Python module/client library for a data visualization 
service that I use (and will be using more) as my first larger contribution to 
open source Python.

I have not come across any best practices for this, and am wondering whether 
there are some resources that you may know of.  

Aside from looking at other client libraries I use/have used, is there 
something more that I can use as a reference?

Thanks,

Ivan
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: rmtree message

2017-09-13 Thread ivan77
As a start, have you done this: 

Before the rmtree command, find out which directory you end up in after all of 
your commands, and they figure out whether you have access to the directory you 
are trying to delete from there.  
-- 
https://mail.python.org/mailman/listinfo/python-list


SOAP XML webserver in Python/Django

2016-09-29 Thread ivan77
Hi All,

I currently have a need to setup a webserver on one of our internal servers 
that is going to send and receive XML SOAP responses to an external company 
through a VPN.  

It seems like something that I could use python (maybe even Django) for.  
However, even though I have been using Python and Django for a while now, I am 
unsure of whether this is a good idea to implement, since there seems to be 
some question about whether there are good maintained libraries to use and I am 
unfamiliar with if there are added complexities with SOAP that I have to deal 
with.  It looks like pretty standard XML to me wrapped in an extra layer of 
meta data.  

http://stackoverflow.com/questions/206154/what-soap-client-libraries-exist-for-python-and-where-is-the-documentation-for?rq=1
 



Any thoughts would be appreciated.

Also, any good Python based job boards in the Toronto area would be greatly 
appreciated too.  

Regards
Ivan
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: SOAP XML webserver in Python/Django

2016-10-02 Thread ivan77
Thank you for the info dieter.  

I'll take a look at your suggestions.  

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: creating multiple python Django projects in Windows environment

2016-03-21 Thread ivan77

> 
> Hmm, that depends how you want to structure things. If the different
> applications are conceptually different, you can keep them completely
> separate by making them separate Django projects; that would give you
> the flexibility to put them onto independent URLs, post the source
> code to one of them on GitHub and the source to the other on
> SourceForge, etc, etc, etc. Alternatively, you can simply have a
> single Django application, and then namespace everything using
> directories, so people would access http://blah.blah/app1/whatever and
> http://blah.blah/app2/whatever to choose what they're doing.
> 
> > Would I look into using vagrant and virtualbox to create an environment 
> > that would then be loaded onto my linux (home development) server and my 
> > windows (office) production server to ensure they are the same?
> >
> 
> You shouldn't need to, but I would strongly recommend having a
> "Staging" server which is as similar as possible to your production
> server. It's all too easy to accidentally do something in a
> Windows-specific or Linux-specific way if you don't test. (Note that
> "Staging" could be actually on the same hardware as "Production", if
> you don't have spare funds for a duplicate. Keep your modules separate
> using venv, and access them on different URLs; just have some place
> where you can quickly check your code under a production-like
> environment prior to actually bringing everything down due to a
> one-character bug.)
> 
> ChrisA

Thanks.  I like the idea of the separate URLs.  That way, I guess I could use 
another framework (e.g. flask), or whatever else if the need ever arose.  Also, 
I could use a very simple front page with links to all of the projects.  


-- 
https://mail.python.org/mailman/listinfo/python-list