Changing return of type(obj)
Hello, I am attempting to fully-simulate an 'int' object with a custom object type. It is part of a library I am creating for python futures and promises. Is there anyway such that type(my_object) can return ? Or for that matter, any other primitive? I do not care how dirty the solution might possibly be; Could there be a way through the C API? Though I predict it will cause a mess with the interpreter. Thanks, Ken Elkabany -- http://mail.python.org/mailman/listinfo/python-list
Re: Changing return of type(obj)
I would simply subclass 'int', but this object needs to be general enough to pretend to be an 'int', 'NoneType', 'str', etc... A long shot: Can I change the base class on an instance by instance basis depending on the need? Well, now I can imagine having a class factory that will spawn for me the class that inherits the correct base type. Any other solutions? Thanks Chris. On Fri, Feb 6, 2009 at 3:42 AM, Chris Rebert wrote: > On Fri, Feb 6, 2009 at 3:03 AM, Ken Elkabany wrote: > > Hello, > > > > I am attempting to fully-simulate an 'int' object with a custom object > type. > > It is part of a library I am creating for python futures and promises. Is > > there anyway such that type(my_object) can return ? Or for > that > > matter, any other primitive? I do not care how dirty the solution might > > possibly be; Could there be a way through the C API? Though I predict it > > will cause a mess with the interpreter. > > Any particular reason why subclassing 'int' wouldn't be good enough? > (You did know you can do that, right?) > I know you can subclass int at the Python level and I would think you > should be able to do it at the C level also (if not, the design just > gets only slightly more involved). > > Cheers, > Chris > > -- > Follow the path of the Iguana... > http://rebertia.com > -- http://mail.python.org/mailman/listinfo/python-list
Rules governing a post about a commercial product
Hello, I am hoping to get feedback for a new, commercial platform that targets the python programming language and its users. The product is currently in a closed-beta and will be free for at least a couple months. After reviewing the only rules I could find (http://www.python.org/community/lists/), I wanted to ask one last time to make sure that such a post would be appropriate. Thanks, Ken -- http://mail.python.org/mailman/listinfo/python-list
Rules regarding a post about a commercial product
Hello, I am hoping to get feedback for a new, commercial platform that targets the python programming language and its users. The product is currently in a closed-beta and will be free for at least a couple months. After reviewing the only rules I could find (http://www.python.org/community/lists/), I wanted to ask one last time to make sure that such a post would be appropriate. Thanks, Ken -- http://mail.python.org/mailman/listinfo/python-list
Request for Beta Testers
Hello, My company is seeking beta testers for a new cloud-computing platform that is built for the Python programming language. The platform allows Python developers to leverage the computational power of a cluster of servers with only a couple lines of code. If you have a need for distributed computing, or just want to try out some cutting-edge technology, please reply. We'll be letting the first 30 respondents into our closed beta. Common use cases for our platform: * Crawling the web * Manipulating images and videos * Creating charts and graphs * Statistical/Mathematical analysis of data sets * Real-time data processing Best, Ken Elkabany -- http://mail.python.org/mailman/listinfo/python-list
Re: PiCloud Beta Release
On Thu, Nov 5, 2009 at 3:19 PM, Jacob Shaw wrote: > On Nov 1, 5:13 pm, Ken Elkabany wrote: >> Hello, >> >> PiCloud has just released a Python library, cloud, which allows you to >> easily offload the execution of a function to a cluster of servers >> running on Amazon Web Services. As a beta product, we are currently >> free to all users who sign up with beta code "PYTHONLIST". To >> register, go tohttp://www.picloud.com >> >> Full service description: >> PiCloud is a cloud-computing platform that integrates into the Python >> Programming Language. It enables you to leverage the compute power of >> Amazon Web Services without having to manage, maintain, or configure >> virtual servers. >> >> PiCloud integrates seamlessly into your existing code base through a >> custom Python library, cloud. To offload the execution of a function >> to the cloud, all you must do is pass your desired function into the >> cloud library. PiCloud will then run the function on its >> high-performance and automatically-scaling cluster. We quickly scale >> our server capacity, both up and down, to meet your computational >> needs, and only charge you for the resources you actually consume. >> Getting on the cloud has never been this easy! >> >> PiCloud improves the full cycle of software development and >> deployment. Functions that are run on PiCloud have their resource >> usage monitored, performance analyzed, and errors traced; we further >> aggregate all your functions to give you a bird's eye view of your >> service. Through these introspective capabilities, PiCloud enables you >> to develop faster, easier, and smarter. >> >> Common use cases for our platform: >> * Crawling the web >> * Manipulating images and videos >> * Generating charts and graphs >> * Statistical/Mathematical analysis of data sets >> * Real-time data processing >> >> Cheers, >> >> Ken Elkabany >> PiCloud, Inc. > > Wow, amazing service. I used PiCloud for some scraping work, and my > script ran about 10x as fast. > > Some questions though: > 1) I have another project which uses a custom python extension written > in C++. Is there a way to use it on PiCloud? > 2) I noticed you guys only support python 2.5 and 2.6. Will there be > 3.1 support eventually? > -- > http://mail.python.org/mailman/listinfo/python-list > Thanks for the compliments. 1) PiCloud will not automatically transfer libraries that require python C++ extensions. However, in your control panel, you can upload a tarball or synchronize an svn repository that contains your extension's code and we'll automatically compile/install it on our systems. 2) We are currently working on support for python 3.x (we've had requests from a fair number of users), and plan to release a compatible client library in a couple of weeks. Ken -- http://mail.python.org/mailman/listinfo/python-list
ANN: PiCloud cloud library 1.8 release
PiCloud, a cloud-computing platform for the Python Programming Language, has released version 1.8 of its client library, cloud. PiCloud enables Python users to leverage the power of an on-demand, high performance, and auto scaling compute cluster with as few as three lines of code! No server management necessary. You can find out more here: http://www.picloud.com What's New: * The client library is now open source with an LGPL license. * Users can choose to run their code across 2.5ghz nodes or 1ghz nodes with a simple kwarg. * Users can now select to run their code in real-time, guaranteeing that their processes start in under a second. * Drop-in replacement for multiprocessing. * Improved cluster workload distribution performance by 20%. * Improved efficiency of Python interpreter state extraction by the client library. * Optimized for all Python packages in the Enthought Python Distribution. * Bug fixes. * And much more! Full service description: PiCloud is a cloud-computing platform that integrates into the Python Programming Language. It enables you to leverage the compute power of Amazon Web Services without having to manage, maintain, or configure virtual servers. PiCloud integrates seamlessly into your existing code base through a custom Python library, cloud. To offload the execution of a function to the cloud, all you must do is pass your desired function into the cloud library. PiCloud will then run the function on its high-performance and automatically-scaling cluster. We quickly scale our server capacity to meet your computational needs, and only charge you for the resources you actually consume. Getting on the cloud has never been this easy! PiCloud improves the full cycle of software development and deployment. Functions that are run on PiCloud have their resource usage monitored, performance analyzed, and errors traced; we further aggregate all your functions to give you a bird's eye view of your service. Through these introspective capabilities, PiCloud enables you to develop faster, easier, and smarter. Common use cases for our platform: * Crawling the web * Manipulating images and videos * Generating charts and graphs * Statistical analysis of data sets * Real-time data processing Cheers, Ken Elkabany PiCloud, Inc. -- http://mail.python.org/mailman/listinfo/python-list
ANN: PiCloud cloud library 1.9 release
PiCloud, a cloud computing platform for the Python Programming Language, has released version 1.9 of its client library, cloud. PiCloud enables Python users to leverage the power of an on-demand, high performance, and auto scaling compute cluster with as few as three lines of code! No server management necessary. You can find out more here: http://www.picloud.com What's New: * Store your data files on the cloud using our cloud.files interface! * Greatly reduced the cloud library's memory and cpu usage when sending large data. * Map jobs begin processing before cloud.map() returns--large performance gains. * Persistent user processes has in many cases reduced function overhead by over 50%. * Increased network protocol reliability. * Profiling is now disabled by default, but can be enabled with the _profile keyword. * Bug fixes, and much more! Full service description: PiCloud is a cloud computing platform that integrates into the Python Programming Language. It enables you to leverage the compute power of Amazon Web Services without having to manage, maintain, or configure virtual servers. PiCloud integrates seamlessly into your existing code base through a custom Python library, cloud. To offload the execution of a function to the cloud, all you must do is pass your desired function into the cloud library. PiCloud will then run the function on its high-performance and automatically-scaling cluster. We quickly scale our server capacity to meet your computational needs, and only charge you for the resources you actually consume. Getting on the cloud has never been this easy! PiCloud improves the full cycle of software development and deployment. Functions that are run on PiCloud have their resource usage monitored, performance analyzed, and errors traced; we further aggregate all your functions to give you a bird's eye view of your service. Through these introspective capabilities, PiCloud enables you to develop faster, easier, and smarter. Common use cases for our platform: * Scientific computing * Video and image encoding * Statistical analysis of data sets * Real-time data processing * Charts and graphs generation Cheers, Ken Elkabany PiCloud, Inc. -- http://mail.python.org/mailman/listinfo/python-list
ANN: PiCloud's Python Platform is now open to the Public!
After 5 months in private beta, PiCloud, a cloud computing platform for the Python Programming Language, is now open to the general public. PiCloud enables Python users to leverage the power of an on-demand, high performance, and auto scaling compute cluster with as few as two lines of code! No server management necessary. All new users receive 5 free compute hours of computation. You can find out more here: http://www.picloud.com Full service description: PiCloud is a cloud computing platform that integrates into the Python Programming Language. It enables you to leverage the compute power of Amazon Web Services without having to manage, maintain, or configure virtual servers. PiCloud integrates seamlessly into your existing code base through a custom Python library, cloud. To offload the execution of a function to the cloud, all you must do is pass your desired function into the cloud library. PiCloud will then run the function on its high-performance and automatically-scaling cluster. We quickly scale our server capacity to meet your computational needs, and only charge you for the resources you actually consume. Getting on the cloud has never been this easy! PiCloud improves the full cycle of software development and deployment. Functions that are run on PiCloud have their resource usage monitored, performance analyzed, and errors traced; we further aggregate all your functions to give you a bird's eye view of your service. Through these introspective capabilities, PiCloud enables you to develop faster, easier, and smarter. Common use cases for our platform: * Scientific computing * Simulations * Video and image encoding * Statistical analysis of data sets * Real-time data processing * Charts and graphs generation Cheers, Ken Elkabany PiCloud, Inc. -- http://mail.python.org/mailman/listinfo/python-list