[google-appengine] insert large content record in NDB at runtime ?

2013-11-26 Thread Vijay Kumbhani
hello, 

i am used large content file ( File Size : 4 kb)

i store file data in NDB Datastore

*code :*


*kindOfEntity = tableName*

*class DynamicEntity(ndb.Expando):*
*@classmethod*
*def _get_kind(cls):*
*return kindOfEntity*

*dbObjects = DynamicEntity()*
*dbObjData = {}*


*dbObjData ={}*

*dbObjData[key] = ndb.TextProperty(data[key])*

*dbObjects._set_attributes(dbObjData)*
*dbObjects.put()*


above code get error at dbObjData[key] = ndb.TextProperty(data[key])


*how we can assign text properies at runtime in NDB ? *

*pls help *

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] How to insert records more than 1000 in Google App Engine Datastore ?

2013-11-24 Thread Vijay Kumbhani
pls help

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Is it possible delete record in Google Spreadsheet using OAuth 2.0 in GData library ?

2013-11-05 Thread Vijay Kumbhani
help me 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] use O auth 2.0 in gspread library ?

2013-11-01 Thread Vijay Kumbhani
gspread library : https://github.com/burnash/gspread

give me,  one examples 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] LIKE Query in NDB

2013-11-01 Thread Vijay Kumbhani
thanks 

On Wednesday, 30 October 2013 17:49:15 UTC+5:30, barryhunter wrote:

 In general* you can't. 

 Instead have a look at
 https://developers.google.com/appengine/docs/python/search/






 * You can emulate some LIKE queries, notably case-sensitive, prefix 
 queries (ie BINARY LIKE 'Something%') with range queries, but far from 
 ideal. 



 On 30 October 2013 12:06, Vijay Kumbhani vnkum...@gmail.com javascript:
  wrote:

 please help 
 how to used like query in NDB Datastore 

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-appengi...@googlegroups.com javascript:.
 To post to this group, send email to 
 google-a...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] LIKE Query in NDB

2013-10-30 Thread Vijay Kumbhani
please help 
how to used like query in NDB Datastore 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] how to get all rows with include header in Google spreadsheet using gdata library ?

2013-10-23 Thread Vijay Kumbhani
*i get all rows in spreadsheet with including  header*

*OR*
 
*i get only header rows in Google spreadsheet not using cell *

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] how to update/copy from NDB Objects to local Objects?

2013-10-21 Thread Vijay Kumbhani
show in image 

in filterObj has many modules . it retrive :

*filterObj = records().query()*

i can define 

*new = {}*
*
*
*how to update ?*

i try below methods but not working
*
*
*1. new.update(filterObj._Query__filters)*
*2. new[_Query__filters] = []*
*new[_Query__filters] =  filterObj._Query__filters*
*
*
* get error...*

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.
attachment: Capture.PNG

[google-appengine] how to delete record in google spreadsheet using gdata ?

2013-10-21 Thread Vijay Kumbhani
help me ...

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Problem in gdata library

2013-10-21 Thread Vijay Kumbhani
i fetch all rows in Google spreadsheet
but it get all rows if all cells between not empty rows
any empty row find ...
after do not fetch rows

please shown in image 

row number *2 *to *5 *retrieved 
but row number is *6 *empty 
then row number *7 *do not fetch 

how to fetch all rows?
please help 

another solution how to remove empty rows  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.
attachment: Capture.PNG

[google-appengine] how to filter query using dynamic parameters in NDB ?

2013-10-20 Thread Vijay Kumbhani
*In Google NDB docs...*

   - *they are given statically examples in documents 
   *
   - *i have multiple AND  OR conditions then how to filter query using 
   dynamic parameters *
   

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] why required bind in GQL ?

2013-10-18 Thread Vijay Kumbhani
i used *ndb.gql *
give me examples 
without bound and with bound in GQL

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] How to access local class outside function ?

2013-10-16 Thread Vijay Kumbhani
*def myFunction(data):*
*class MyClass(ndb.Exapando):*
*def _get_kind(cls):*
* return data*


*above class can be used commonly in my application *
 
any idea,  how ?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] update record using ndb.expando in python

2013-10-14 Thread Vijay Kumbhani
please help

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Error : Key kind string must be a non-empty string up to 500bytes

2013-10-14 Thread Vijay Kumbhani
help

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] update/ filter record in datastore without use model class?

2013-09-16 Thread Vijay Kumbhani
dbObj = datastore.Query(data, {}) *# here data is table name *
dbObj.Run()
count = dbObj.Count()

*here, count is  0 because record is found*
*
*
key = id!=
value = 123
filterObj = { key : value }

dbObj.update(filterObj)
dbObj.Run()
count = dbObj.Count()

*here, count is 0*
*
*
*here, operator =  , =, =. !=, , =*
*but all operator not working*
*
*
*how to filter record without use GQLQuery and model class?*
*please somebody help
*

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] in datastore not working any operator kind less query?

2013-09-13 Thread Vijay Kumbhani
dbObj = datastore.Query(data, {}) # here data is table name 
dbObj.Run()
count = dbObj.Count()
here count is  0

but i find using operator in update method

filterObj = { key : value }
key = id!=
value = 123

dbObj.update(filterObj)
dbObj.Run()
count = dbObj.Count()
here, count is 0

here, operator =  , =, =. !=, , =
but all operator not working

how to filter record without use GQLQuery and model class?
please somebody help

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: What is the best Python Framework for hosting on Google App Engine ?

2013-09-13 Thread Vijay Kumbhani
to use Webapp2 framework
in webapp2 framework all Google library support  

On Friday, 13 September 2013 11:40:25 UTC+5:30, Chitrank Dixit wrote:

 Hello Google Developers,

 We are developing a website on Google App Engine using Python. We have 
 analysed that the application would scale in the future and therefore we 
 want to use the best error free python web framework that should work on 
 NoSQL ( Redis, Datastore) and all other resources well. 

 So using Django for Redis and NoSQL is still tricky as the application 
 produce lots of bugs and if using Django and not able to use the resources 
 it provides then it is better to use some other framework if we need to 
 make the whole DB. So the next framework we are looking for is Flask.

 We have used Heroku and DigitalOcean before but many great sites like 
 Udacity, Khan Academy inspires to use the Google App Engine.

 We are planning to start a Google Cloud Platform Project, So please let us 
 know that Flask would meet out needs or not.

 *Regards*
 *Chitrank Dixit
 *
 *IIPS-DAVV
 *
 *Indore (M.P.) , India *
 *MCA
 *
 *trackleech.blogspot.in*



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] how to calculate GMT timestemp to apoch timestemp ?

2013-08-30 Thread Vijay Kumbhani
Give me algorithms 
how it calculate 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Re: how we can start Google app engine's web app via command line in windows

2013-08-24 Thread Vijay Kumbhani


On Saturday, 24 August 2013 10:09:51 UTC+5:30, Vijay Kumbhani wrote:

 please, give me proper syntax to start app engine app via command line in 
 my pc 



1. we start google app engine app via commnd line 
* Open cmd with administrator mode
2. To enter type Python command 

* if python command not exits then to type below following command 

commmnad syntax:
'enter Python exe path', 'enter google app engine path', 
'to check sdk update command', 'enter port', 'enter datastore port', 'to 
enter source code path'

command :
C:\Python27\python.exe C:\Program Files 
(x86)\Google\google_appengine\dev_appserver.py --skip_sdk_update_check=yes 
--port=8080 --admin_port=8000 D:\CloudWardbeta

* if python command exits then type below folloeing command 

commmnad syntax:
'python', 'enter google app engine path', 'to check sdk update command', 
'enter port', 'enter datastore port', 'to enter source code path'

command :
python C:\Program Files (x86)\Google\google_appengine\dev_appserver.py 
--skip_sdk_update_check=yes --port=8080 --admin_port=8000 D:\CloudWardbeta 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] how we can start Google app engine's web app via command line in windows

2013-08-24 Thread Vijay Kumbhani


 hi bro,

reply for thanks 
but i found another solution
go to below link
https://groups.google.com/d/msg/google-appengine/xqOyS2Fjc4U/CwCXkqo-GSQJ  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] How to view Google datastore in locally ? and which structure used Google datastore ?

2013-08-23 Thread Vijay Kumbhani
For python ,

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] how we can start Google app engine's web app via command line in windows

2013-08-23 Thread Vijay Kumbhani
please, give me proper syntax to start app engine app via command line in 
my pc 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] how can find version number of My app to created in Google app engine ?

2013-06-11 Thread Vijay Kumbhani

please , find version number of my app

i have created apps through Google app engine 
i am download source code through terminal on windows platform 

*
*
appcfg.py download_app -A vijaytestapp001  -V which version number put in 
newly created app  path*
*
*
*
which version put and i can download my source code .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


attachment: Capture.PNG