Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96931 > unrolled thread

A photo/image/video sharing app in Python

Started byCai Gengyang <gengyangcai@gmail.com>
First post2015-09-21 02:38 -0700
Last post2015-09-21 20:43 +0000
Articles 11 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-21 02:38 -0700
    Re: A photo/image/video sharing app in Python Great Avenger Singh <arsh840@gmail.com> - 2015-09-21 04:37 -0700
      Re: A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-21 05:53 -0700
        Re: A photo/image/video sharing app in Python Chris Angelico <rosuav@gmail.com> - 2015-09-21 23:17 +1000
          Re: A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-21 08:16 -0700
            Re: A photo/image/video sharing app in Python Christian Gollwitzer <auriocus@gmx.de> - 2015-09-21 22:34 +0200
              Re: A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-21 22:53 -0700
                Re: A photo/image/video sharing app in Python Chris Angelico <rosuav@gmail.com> - 2015-09-22 16:33 +1000
                  Re: A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-22 02:48 -0700
                    Re: A photo/image/video sharing app in Python Cai Gengyang <gengyangcai@gmail.com> - 2015-09-22 04:00 -0700
            Re: A photo/image/video sharing app in Python Grant Edwards <invalid@invalid.invalid> - 2015-09-21 20:43 +0000

#96931 — A photo/image/video sharing app in Python

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-21 02:38 -0700
SubjectA photo/image/video sharing app in Python
Message-ID<2ee220b0-dfd2-4701-8760-71af9eee9f67@googlegroups.com>
Hello,


So, I want to use Python to design a photo/image/video sharing app that i can test on users.

I have Python 2.7.10, 3.3.2 and 3.3.4 downloaded and am using a Mac OS X Yosemite Version 10.10.2 laptop and having gone through the Python course on CodeAcademy a while ago (though I probably forgot most of it my now)

How / where do i start ? Any suggestions / resources / recommendations appreciated. 


Thanks a lot !

Cai Gengyang

[toc] | [next] | [standalone]


#96934

FromGreat Avenger Singh <arsh840@gmail.com>
Date2015-09-21 04:37 -0700
Message-ID<ceec2a4c-1d73-4bcd-8402-a5a94925142e@googlegroups.com>
In reply to#96931
On Monday, 21 September 2015 15:08:53 UTC+5:30, Cai Gengyang  wrote:
> Hello,
> 
> 
> So, I want to use Python to design a photo/image/video sharing app that i can >test on users.

One Example is DropBox  doing this at very large  extent. ;)


> I have Python 2.7.10, 3.3.2 and 3.3.4 downloaded and am using a Mac OS X Yosemite Version 10.10.2 laptop and having gone through the Python course on CodeAcademy a while ago (though I probably forgot most of it my now)
> 
> How / where do i start ? Any suggestions / resources / recommendations >appreciated. 

As you have not mentioned how you want your application to be,
One way is using Dropbox/Google-drive Python API so user can get space somewhere online and generate Public Link to Share file.

Or If User want to share it locally with other computers using LAN/Bluetooth?WI-FI,

If you want to make it use with Android or IOS Kivy is there for you.(I am fantasized with Kivy!)

Or First you have to decide what kind of Architecture you want with your application or features. I guess my answer is vague so your question was ;) 

  

[toc] | [prev] | [next] | [standalone]


#96937

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-21 05:53 -0700
Message-ID<3de6acc7-6c55-4f78-adb9-960e21bb3617@googlegroups.com>
In reply to#96934
On Monday, September 21, 2015 at 7:38:21 PM UTC+8, Great Avenger Singh wrote:
> On Monday, 21 September 2015 15:08:53 UTC+5:30, Cai Gengyang  wrote:
> > Hello,
> > 
> > 
> > So, I want to use Python to design a photo/image/video sharing app that i can >test on users.
> 
> One Example is DropBox  doing this at very large  extent. ;)
> 
> 
> > I have Python 2.7.10, 3.3.2 and 3.3.4 downloaded and am using a Mac OS X Yosemite Version 10.10.2 laptop and having gone through the Python course on CodeAcademy a while ago (though I probably forgot most of it my now)
> > 
> > How / where do i start ? Any suggestions / resources / recommendations >appreciated. 
> 
> As you have not mentioned how you want your application to be,
> One way is using Dropbox/Google-drive Python API so user can get space somewhere online and generate Public Link to Share file.
> 
> Or If User want to share it locally with other computers using LAN/Bluetooth?WI-FI,
> 
> If you want to make it use with Android or IOS Kivy is there for you.(I am fantasized with Kivy!)
> 
> Or First you have to decide what kind of Architecture you want with your application or features. I guess my answer is vague so your question was ;)

Ok, so basically these are the features I want the app to have :

1) A system where users can upload photos/images/videos of their loved ones and family onto the web-based app (It's going to be web-based website)
2) A system where where the users can then edit these photos/images/videos into short , funny cartoons/videos 
3) A system where users can create an account with username/password/log in information 
4) A system where users can then share and publish these pictures on the website itself using their account and also link and upload onto other traditional social networks like Facebook, Twitter and Google+ accounts and also onto their other handheld devices like IPhone , Apple Devices, Samsung handphones etc 

As for the architecture itself , it will probably be similar to wedpics (https://www.wedpics.com/) but better designed with gorgeous and pristine features and a system where users can edit their pictures/photos/videos into cartoons with different themes with their faces on it (funny, natural, science) --- i.e. imagine you are able to make a cartoon of your bride , family members and friends at your wedding ceremony into a funny cartoon with your faces imprinted on cartoon characters , the have these cartoons published on the website and also link with other social networks where you can publish these cartoons on them as well ....

My plan is to build this and get some users to test the product by posting the product online on sites like these, hacker news, word of mouth and also invite strangers on Facebook, Googles+ and Twitter to test this prototype and continuously iterate the product according to user feedback. Hope that is detailed enough to give you an idea of how it roughly would look like !

I currently have minimal experience with programming , and have only done a course on Python on CodeAcademy(That's about it) , so I am posting here to ask for help --- where is the best place to start and resources?

Thanks a lot , appreciate it !

Cai Gengyang

[toc] | [prev] | [next] | [standalone]


#96940

FromChris Angelico <rosuav@gmail.com>
Date2015-09-21 23:17 +1000
Message-ID<mailman.35.1442841481.28679.python-list@python.org>
In reply to#96937
On Mon, Sep 21, 2015 at 10:53 PM, Cai Gengyang <gengyangcai@gmail.com> wrote:
> Ok, so basically these are the features I want the app to have :
>
> 1) A system where users can upload photos/images/videos of their loved ones and family onto the web-based app (It's going to be web-based website)
> 2) A system where where the users can then edit these photos/images/videos into short , funny cartoons/videos
> 3) A system where users can create an account with username/password/log in information
> 4) A system where users can then share and publish these pictures on the website itself using their account and also link and upload onto other traditional social networks like Facebook, Twitter and Google+ accounts and also onto their other handheld devices like IPhone , Apple Devices, Samsung handphones etc
>
> As for the architecture itself , it will probably be similar to wedpics (https://www.wedpics.com/) but better designed with gorgeous and pristine features and a system where users can edit their pictures/photos/videos into cartoons with different themes with their faces on it (funny, natural, science) --- i.e. imagine you are able to make a cartoon of your bride , family members and friends at your wedding ceremony into a funny cartoon with your faces imprinted on cartoon characters , the have these cartoons published on the website and also link with other social networks where you can publish these cartoons on them as well ....
>
> I currently have minimal experience with programming , and have only done a course on Python on CodeAcademy(That's about it) , so I am posting here to ask for help --- where is the best place to start and resources?
>

You've done the first step - figure out what you want, and (more
importantly) how it's different from existing services you know about.
Great!

The next step, though, is to get some idea of the scope of the
project. Let's take a quick run through your basic features.

> 1) A system where users can upload photos/images/videos of their loved ones and family onto the web-based app (It's going to be web-based website)

Creating a web site using Python is pretty easy. Grab Flask, Django,
etc, and off you go. Uploading files isn't difficult, although since
you're working with large files here, you'll eventually need some
beefy hardware to run this on (free accounts might not have enough
storage and/or bandwidth to handle lots of users).

> 2) A system where where the users can then edit these photos/images/videos into short , funny cartoons/videos

This one's a bit open-ended, but more importantly, it needs a lot of
front-end work. Editing images in Python code won't be particularly
hard; but letting your users choose how those images are put together?
That's going to require a boatload of JavaScript work. How good are
you at front-end design and coding?

> 3) A system where users can create an account with username/password/log in information

Subtly tricky to get right if you do it manually, but trivially easy
to get someone else to do the work for you. Grab something like
Flask-Login and the job's done.

> 4) A system where users can then share and publish these pictures on the website itself using their account and also link and upload onto other traditional social networks like Facebook, Twitter and Google+ accounts and also onto their other handheld devices like IPhone , Apple Devices, Samsung handphones etc
>

Fundamentally, all this requires is stable URLs that people can post.
That's pretty easy (esp if you're using a good framework). Making sure
they work properly on mobile phones is generally a matter of starting
with something simple, and then testing every change on lots of
devices. It's a bit of work, but nothing unattainable.

Your hardest part is #2, and sadly, that's also the part that makes or
breaks this service. Without that, all you're doing is recreating FTP.
So that's what you have to think about: Can you write all that
front-end code? This will not be simple; it'll be a pretty big
project.

ChrisA

[toc] | [prev] | [next] | [standalone]


#96948

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-21 08:16 -0700
Message-ID<512780c8-64e2-403f-87b7-cc95ab8eaeae@googlegroups.com>
In reply to#96940
Hi ChrisA,

1) A system where users can upload photos/images/videos of their loved ones and family onto the web-based app (It's going to be web-based website) 

Creating a web site using Python is pretty easy. Grab Flask, Django, etc, and off you go.Uploading files isn't difficult, although since you're working with large files here, you'll eventually need some beefy hardware to run this on (free accounts might not have enough storage and/or bandwidth to handle lots of users). 

---- Sure , sounds good.

2) A system where where the users can then edit these photos/images/videos into short , funny cartoons/videos 

This one's a bit open-ended, but more importantly, it needs a lot of front-end work. Editing images in Python code won't be particularly hard; but letting your users choose how those images are put together? That's going to require a boatload of JavaScript work. How good are you at front-end design and coding? 

---- No experience at all. Guess I'll have to learn Javascript to do this. I'll also need the capability to let users edit their photos/images and videos into great looking real-time cartoons based on themes (what technologies would I need to learn to create this?)

3) A system where users can create an account with username/password/log in information 

Subtly tricky to get right if you do it manually, but trivially easy to get someone else to do the work for you. Grab something like Flask-Login and the job's done. 

---- Ok , sounds good

4) A system where users can then share and publish these pictures on the website itself using their account and also link and upload onto other traditional social networks like Facebook, Twitter and Google+ accounts and also onto their other handheld devices like IPhone , Apple Devices, Samsung handphones etc 

Fundamentally, all this requires is stable URLs that people can post. That's pretty easy (esp if you're using a good framework). Making sure they work properly on mobile phones is generally a matter of starting with something simple, and then testing every change on lots of devices. It's a bit of work, but nothing unattainable. 

----- Ok, sounds good

Your hardest part is #2, and sadly, that's also the part that makes or breaks this service. Without that, all you're doing is recreating FTP. So that's what you have to think about: Can you write all that front-end code? This will not be simple; it'll be a pretty big project. 

----- Yup, I'll have to find a way to make it work really well. The user must have the capability to create and design really good-looking real-time video-cartoons that they can then share with other users. It's going to be what differentiates my product from other services (as far as I can tell, no other site currently in existence has such a capability) 


Guess the first step I would need to do is to create a basic website in Python using Flask, Django then ....

Cai Gengyang

[toc] | [prev] | [next] | [standalone]


#96964

FromChristian Gollwitzer <auriocus@gmx.de>
Date2015-09-21 22:34 +0200
Message-ID<mtppgt$2au$1@dont-email.me>
In reply to#96948
Am 21.09.15 um 17:16 schrieb Cai Gengyang:
> 2) A system where where the users can then edit these
> photos/images/videos into short , funny cartoons/videos
>
> This one's a bit open-ended, but more importantly, it needs a lot of
> front-end work. Editing images in Python code won't be particularly
> hard; but letting your users choose how those images are put
> together? That's going to require a boatload of JavaScript work. How
> good are you at front-end design and coding?
>
> ---- No experience at all. Guess I'll have to learn Javascript to do
> this. I'll also need the capability to let users edit their
> photos/images and videos into great looking real-time cartoons based
> on themes
 >
> (what technologies would I need to learn to create this?)
>

Magic.

Seriously, have you already seen a software which does approximately the
image editing that you have in mind? If not, chances are that it is not
possible or possible only by a group of experts. Drawing a cartoon is
not a thing that a computer can do easily, much less if the only input
is a photograph. Currently, cartoons are made by humans using computers, 
not by an algorithm.

If you can make it work, you'll be a star on SIGGRAPH (a conference
about image processing).

	Christian

[toc] | [prev] | [next] | [standalone]


#96970

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-21 22:53 -0700
Message-ID<bb97edc6-c5b0-4ed6-8827-393888485c6f@googlegroups.com>
In reply to#96964
On Tuesday, September 22, 2015 at 4:34:45 AM UTC+8, Christian Gollwitzer wrote:
> Am 21.09.15 um 17:16 schrieb Cai Gengyang:
> > 2) A system where where the users can then edit these
> > photos/images/videos into short , funny cartoons/videos
> >
> > This one's a bit open-ended, but more importantly, it needs a lot of
> > front-end work. Editing images in Python code won't be particularly
> > hard; but letting your users choose how those images are put
> > together? That's going to require a boatload of JavaScript work. How
> > good are you at front-end design and coding?
> >
> > ---- No experience at all. Guess I'll have to learn Javascript to do
> > this. I'll also need the capability to let users edit their
> > photos/images and videos into great looking real-time cartoons based
> > on themes
>  >
> > (what technologies would I need to learn to create this?)
> >
> 
> Magic.
> 
> Seriously, have you already seen a software which does approximately the
> image editing that you have in mind? If not, chances are that it is not
> possible or possible only by a group of experts. Drawing a cartoon is
> not a thing that a computer can do easily, much less if the only input
> is a photograph. Currently, cartoons are made by humans using computers, 
> not by an algorithm.
> 
> If you can make it work, you'll be a star on SIGGRAPH (a conference
> about image processing).
> 
> 	Christian

Christian,

A piece of software that would let end users easily create gorgeous real-life, real-time cartoons on the web might not exist yet. But if it were possible to invent this and get it commercialised , it could indeed become a great product that users love and pay good money to use ... You might even become a billionaire just through inventing and commercialising such a tool / system  ...

[toc] | [prev] | [next] | [standalone]


#96971

FromChris Angelico <rosuav@gmail.com>
Date2015-09-22 16:33 +1000
Message-ID<mailman.50.1442903634.28679.python-list@python.org>
In reply to#96970
On Tue, Sep 22, 2015 at 3:53 PM, Cai Gengyang <gengyangcai@gmail.com> wrote:
> A piece of software that would let end users easily create gorgeous real-life, real-time cartoons on the web might not exist yet. But if it were possible to invent this and get it commercialised , it could indeed become a great product that users love and pay good money to use ... You might even become a billionaire just through inventing and commercialising such a tool / system  ...
>

Yes, you might become a billionaire. Does that suggest something to
you? If a project could make _that much money_, wouldn't someone have
done it already? The scope of this project is enormous, and if you're
to tackle it, you'll need to have a lot more than a basic notion of
"hey wouldn't this be nice".

ChrisA

[toc] | [prev] | [next] | [standalone]


#96977

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-22 02:48 -0700
Message-ID<60612e38-814d-470b-aed6-6900c650266b@googlegroups.com>
In reply to#96971
On Tuesday, September 22, 2015 at 2:34:20 PM UTC+8, Chris Angelico wrote:
> On Tue, Sep 22, 2015 at 3:53 PM, Cai Gengyang <gengyangcai@gmail.com> wrote:
> > A piece of software that would let end users easily create gorgeous real-life, real-time cartoons on the web might not exist yet. But if it were possible to invent this and get it commercialised , it could indeed become a great product that users love and pay good money to use ... You might even become a billionaire just through inventing and commercialising such a tool / system  ...
> >
> 
> Yes, you might become a billionaire. Does that suggest something to
> you? If a project could make _that much money_, wouldn't someone have
> done it already? The scope of this project is enormous, and if you're
> to tackle it, you'll need to have a lot more than a basic notion of
> "hey wouldn't this be nice".
> 
> ChrisA


Right .... Thats going to take a herculean effort and teamwork. (maybe next year)

For now, I am just trying to download Django and Flask and learn how to use it.

I am currently on this page --- https://www.djangoproject.com/download/ and clicked on the 
" Latest release: Django-1.8.4.tar.gz " link on the right side of the page  

For the impatient:

Latest release: Django-1.8.4.tar.gz ------------------- This one!
Checksums: Django-1.8.4.checksum.txt
Release notes: Online documentation

and managed to download a folder called django-docs-1. When I opened it ... there are a whole bunch of files and folders like "_downloads" , _images , _modules , _sources amongst others.

What do I need to do next to install Django ?

[toc] | [prev] | [next] | [standalone]


#96979

FromCai Gengyang <gengyangcai@gmail.com>
Date2015-09-22 04:00 -0700
Message-ID<4c1b2ead-986b-4b71-8dca-d1235e0d636f@googlegroups.com>
In reply to#96977
On Tuesday, September 22, 2015 at 5:48:26 PM UTC+8, Cai Gengyang wrote:
> On Tuesday, September 22, 2015 at 2:34:20 PM UTC+8, Chris Angelico wrote:
> > On Tue, Sep 22, 2015 at 3:53 PM, Cai Gengyang <gengyangcai@gmail.com> wrote:
> > > A piece of software that would let end users easily create gorgeous real-life, real-time cartoons on the web might not exist yet. But if it were possible to invent this and get it commercialised , it could indeed become a great product that users love and pay good money to use ... You might even become a billionaire just through inventing and commercialising such a tool / system  ...
> > >
> > 
> > Yes, you might become a billionaire. Does that suggest something to
> > you? If a project could make _that much money_, wouldn't someone have
> > done it already? The scope of this project is enormous, and if you're
> > to tackle it, you'll need to have a lot more than a basic notion of
> > "hey wouldn't this be nice".
> > 
> > ChrisA
> 
> 
> Right .... Thats going to take a herculean effort and teamwork. (maybe next year)
> 
> For now, I am just trying to download Django and Flask and learn how to use it.
> 
> I am currently on this page --- https://www.djangoproject.com/download/ and clicked on the 
> " Latest release: Django-1.8.4.tar.gz " link on the right side of the page  
> 
> For the impatient:
> 
> Latest release: Django-1.8.4.tar.gz ------------------- This one!
> Checksums: Django-1.8.4.checksum.txt
> Release notes: Online documentation
> 
> and managed to download a folder called django-docs-1. When I opened it ... there are a whole bunch of files and folders like "_downloads" , _images , _modules , _sources amongst others.
> 
> What do I need to do next to install Django ?


Ok, so I typed these commands into "Terminal" in an attempt to install pip and use it to install Django. Can anybody let me know if I have performed this correctly ? Thanks a lot ...


CaiGengYangs-MacBook-Pro:~ CaiGengYang$ pip

Usage:   
  pip <command> [options]

Commands:
  install                     Install packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  zip                         DEPRECATED. Zip individual packages.
  unzip                       DEPRECATED. Unzip individual packages.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  --isolated                  Run pip in an isolated mode, ignoring
                              environment variables and user configuration.
  -v, --verbose               Give more output. Option is additive, and can be
                              used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output.
  --log <path>                Path to a verbose appending log.
  --proxy <proxy>             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --retries <retries>         Maximum number of retries each connection should
                              attempt (default 5 times).
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup.
  --trusted-host <hostname>   Mark this host as trusted, even though it does
                              not have valid or any HTTPS.
  --cert <path>               Path to alternate CA bundle.
  --client-cert <path>        Path to SSL client certificate, a single file
                              containing the private key and the certificate
                              in PEM format.
  --cache-dir <dir>           Store the cache data in <dir>.
  --no-cache-dir              Disable the cache.
  --disable-pip-version-check
                              Don't periodically check PyPI to determine
                              whether a new version of pip is available for
                              download. Implied with --no-index.
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ pip install django
You are using pip version 6.1.1, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting django
  Downloading Django-1.8.4-py2.py3-none-any.whl (6.2MB)
    100% |████████████████████████████████| 6.2MB 79kB/s 
Installing collected packages: django
Successfully installed django-1.8.4
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ 

[toc] | [prev] | [next] | [standalone]


#96965

FromGrant Edwards <invalid@invalid.invalid>
Date2015-09-21 20:43 +0000
Message-ID<mtpq51$998$1@reader1.panix.com>
In reply to#96948
On 2015-09-21, Cai Gengyang <gengyangcai@gmail.com> wrote:

> I'll also need the capability to let users edit their photos/images
> and videos into great looking real-time cartoons based on themes
> (what technologies would I need to learn to create this?)

Well, the usual technology for turning some images into greal looking
real-time cartoons is to hire an animation studio and pay them
tens/hundreds of thousands of dollars.  Based on the names I seen in
credits, I'd say there seem to be a lot of them in Korea.

Alternatively, you could hire a team of artists, writers, animators
and build a rendering farm.

> [...]

> Guess the first step I would need to do is to create a basic website
> in Python using Flask, Django then ....

1) Create a basic website in Python using Flask, Django

2) ?

3) Profit!

-- 
Grant Edwards               grant.b.edwards        Yow! Spreading peanut
                                  at               butter reminds me of
                              gmail.com            opera!!  I wonder why?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web