workspace stringclasses 1
value | channel stringclasses 1
value | sentences stringlengths 1 3.93k | ts stringlengths 26 26 | user stringlengths 2 11 | sentence_id stringlengths 44 53 | timestamp float64 1.5B 1.56B | __index_level_0__ int64 0 106k |
|---|---|---|---|---|---|---|---|
pythondev | help | I like the limited config of black but I don't get the choice of double quotes | 2019-02-08T12:32:45.372900 | Bethany | pythondev_help_Bethany_2019-02-08T12:32:45.372900 | 1,549,629,165.3729 | 7,321 |
pythondev | help | same | 2019-02-08T12:33:27.373100 | Karoline | pythondev_help_Karoline_2019-02-08T12:33:27.373100 | 1,549,629,207.3731 | 7,322 |
pythondev | help | I tend to use America/New_York, America/Chicago, America/Los_Angelese | 2019-02-08T13:03:11.373800 | Alvina | pythondev_help_Alvina_2019-02-08T13:03:11.373800 | 1,549,630,991.3738 | 7,323 |
pythondev | help | Angeles | 2019-02-08T13:03:22.374100 | Alvina | pythondev_help_Alvina_2019-02-08T13:03:22.374100 | 1,549,631,002.3741 | 7,324 |
pythondev | help | what is the city to represent Mountain time? | 2019-02-08T13:03:31.374400 | Alvina | pythondev_help_Alvina_2019-02-08T13:03:31.374400 | 1,549,631,011.3744 | 7,325 |
pythondev | help | Denver? | 2019-02-08T13:03:34.374600 | Alvina | pythondev_help_Alvina_2019-02-08T13:03:34.374600 | 1,549,631,014.3746 | 7,326 |
pythondev | help | it gets messy with people calling everything EST or PST even during EDT and PDT, so I prefer to convert to a specific city from the IANA database | 2019-02-08T13:04:30.375500 | Alvina | pythondev_help_Alvina_2019-02-08T13:04:30.375500 | 1,549,631,070.3755 | 7,327 |
pythondev | help | sigh...believe it or not there was a simple spelling error somewhere. Problem solved. I appreciate you looking at this though. | 2019-02-08T13:27:49.375600 | Yasmin | pythondev_help_Yasmin_2019-02-08T13:27:49.375600 | 1,549,632,469.3756 | 7,328 |
pythondev | help | Seriously? Was the spelling error visible in what you posted? I could have sworn I double-checked for that. | 2019-02-08T13:38:52.375800 | Sasha | pythondev_help_Sasha_2019-02-08T13:38:52.375800 | 1,549,633,132.3758 | 7,329 |
pythondev | help | oh! jus to recommend retail products based on previous purchases etc! | 2019-02-08T14:24:15.376700 | Reina | pythondev_help_Reina_2019-02-08T14:24:15.376700 | 1,549,635,855.3767 | 7,330 |
pythondev | help | I'm not from the US and I get very confused with all the names from the time zones (much better with just UTC±n, but with that disclaimer: "The largest city in the Mountain Time Zone is Phoenix, Arizona." | 2019-02-08T14:52:21.378200 | Yaeko | pythondev_help_Yaeko_2019-02-08T14:52:21.378200 | 1,549,637,541.3782 | 7,331 |
pythondev | help | From wikipedia, <@Alvina> | 2019-02-08T14:52:35.378700 | Yaeko | pythondev_help_Yaeko_2019-02-08T14:52:35.378700 | 1,549,637,555.3787 | 7,332 |
pythondev | help | You can go 3 different ways with that, just from thinking about it. | 2019-02-08T15:10:07.378800 | Carmen | pythondev_help_Carmen_2019-02-08T15:10:07.378800 | 1,549,638,607.3788 | 7,333 |
pythondev | help | 1) Implement a machine learning algorithm that takes purchases data from all of your past customers, learns to predict what they'll buy based on previous purchases, and then apply that to the purchase history of the customer you're recommending stuff to. | 2019-02-08T15:11:00.379000 | Carmen | pythondev_help_Carmen_2019-02-08T15:11:00.379000 | 1,549,638,660.379 | 7,334 |
pythondev | help | 2) Run a query in your purchases database to pull all the customers who have purchased the same product your customer just purchased (or looked at). Then pull all of their purchases. Aggregate them and sort by most purchased. Return the top 3-5, since those are the most-related purchases as per buying habits of "simila... | 2019-02-08T15:12:59.379200 | Carmen | pythondev_help_Carmen_2019-02-08T15:12:59.379200 | 1,549,638,779.3792 | 7,335 |
pythondev | help | 3) Use your own "this product is similar to or goes well with this other product" tagging system, and pull recommendations based on that. | 2019-02-08T15:13:32.379900 | Carmen | pythondev_help_Carmen_2019-02-08T15:13:32.379900 | 1,549,638,812.3799 | 7,336 |
pythondev | help | <@Alvina> <@Yaeko> Might want to be careful using Arizona - most of it doesn’t use daylight savings | 2019-02-08T15:13:52.380300 | Clemmie | pythondev_help_Clemmie_2019-02-08T15:13:52.380300 | 1,549,638,832.3803 | 7,337 |
pythondev | help | im in quite a pickle (no pun intended for pickle rick), but I can run a sql query through ssh just find and receive the mass amount of 10K+ rows of data. but if i run the same statement via paramiko, the statement runs, but I dont receive any of the data? could this be due to the number of nbytes i have set for the ses... | 2019-02-08T15:25:32.382000 | Nenita | pythondev_help_Nenita_2019-02-08T15:25:32.382000 | 1,549,639,532.382 | 7,338 |
pythondev | help | I have been able to successfully send a short sql statement and receive the data just fine. its just when i send a huge sql statement. | 2019-02-08T15:26:22.382500 | Nenita | pythondev_help_Nenita_2019-02-08T15:26:22.382500 | 1,549,639,582.3825 | 7,339 |
pythondev | help | It's also possible that your large output has characters in it that are throwing Paramiko for a loop. For sanity's sake, you would probably be better off dumping your query results to a file and pulling that file. | 2019-02-08T15:31:08.383700 | Carmen | pythondev_help_Carmen_2019-02-08T15:31:08.383700 | 1,549,639,868.3837 | 7,340 |
pythondev | help | thanks for setting out the framework Joe! I'm just a Python beginner, will you be able to advise on the concrete steps I have to take to build a machine learning algorithm? | 2019-02-08T15:43:32.383800 | Reina | pythondev_help_Reina_2019-02-08T15:43:32.383800 | 1,549,640,612.3838 | 7,341 |
pythondev | help | as for query, would pandas be sufficient? | 2019-02-08T15:44:00.384000 | Reina | pythondev_help_Reina_2019-02-08T15:44:00.384000 | 1,549,640,640.384 | 7,342 |
pythondev | help | I understand machine learning, and I've done work with it, but I'm not going to be able to teach it to you from the ground up. That's better left to folks who do so day in and day out. I'd suggest you do some Google searching for "python machine learning tutorials". | 2019-02-08T15:50:16.384300 | Carmen | pythondev_help_Carmen_2019-02-08T15:50:16.384300 | 1,549,641,016.3843 | 7,343 |
pythondev | help | For querying, that entirely depends on where you're storing your data. If it's in a relational database like MySQL or Postgres, you're going to need to write SQL queries. | 2019-02-08T15:51:27.384500 | Carmen | pythondev_help_Carmen_2019-02-08T15:51:27.384500 | 1,549,641,087.3845 | 7,344 |
pythondev | help | If you have specific questions once you get into the thick of things, feel free to post here and anyone with enough knowledge will be more than glad to help. | 2019-02-08T15:52:20.384700 | Carmen | pythondev_help_Carmen_2019-02-08T15:52:20.384700 | 1,549,641,140.3847 | 7,345 |
pythondev | help | sadly that is what i am trying to avoid | 2019-02-08T16:00:23.385500 | Nenita | pythondev_help_Nenita_2019-02-08T16:00:23.385500 | 1,549,641,623.3855 | 7,346 |
pythondev | help | i am curious though if its having trouble just printing rather than receiving the data | 2019-02-08T16:00:45.385900 | Nenita | pythondev_help_Nenita_2019-02-08T16:00:45.385900 | 1,549,641,645.3859 | 7,347 |
pythondev | help | im gunna see if i get different results by directly receiving the data to a dataframe | 2019-02-08T16:01:15.386500 | Nenita | pythondev_help_Nenita_2019-02-08T16:01:15.386500 | 1,549,641,675.3865 | 7,348 |
pythondev | help | i seriously cannot find it anywhere, but how would you insert a string into a df? | 2019-02-08T16:11:25.386900 | Nenita | pythondev_help_Nenita_2019-02-08T16:11:25.386900 | 1,549,642,285.3869 | 7,349 |
pythondev | help | `<http://df.at[row|df.at[row>, col] = new_val` | 2019-02-08T16:26:13.387600 | Marth | pythondev_help_Marth_2019-02-08T16:26:13.387600 | 1,549,643,173.3876 | 7,350 |
pythondev | help | i put the data temporarily into a dictionary and converted that to a df to see what the data looks like. I think i need to clean it up a lot before I can properly insert it to a df | 2019-02-08T16:33:36.388500 | Nenita | pythondev_help_Nenita_2019-02-08T16:33:36.388500 | 1,549,643,616.3885 | 7,351 |
pythondev | help | A question regarding module versions: I'm perusing a site that provides Wheel files for a given module. On a subsequent page for a certain version of the module, a number of apparently different files are available for download. Disregarding the various system specific offerings on that page, it appears that three dif... | 2019-02-08T16:54:20.397400 | Corey | pythondev_help_Corey_2019-02-08T16:54:20.397400 | 1,549,644,860.3974 | 7,352 |
pythondev | help | probably python 2.7, 3.5 and 3.6 | 2019-02-08T17:05:32.397900 | Hiroko | pythondev_help_Hiroko_2019-02-08T17:05:32.397900 | 1,549,645,532.3979 | 7,353 |
pythondev | help | different python version compatibility | 2019-02-08T17:05:40.398200 | Hiroko | pythondev_help_Hiroko_2019-02-08T17:05:40.398200 | 1,549,645,540.3982 | 7,354 |
pythondev | help | thanks alot joe, appreciate it! | 2019-02-08T18:04:42.398400 | Reina | pythondev_help_Reina_2019-02-08T18:04:42.398400 | 1,549,649,082.3984 | 7,355 |
pythondev | help | Our of interest, is this page really basic and a white blank background? If so it might be a repository URL, which means pip can install the right one from it | 2019-02-08T18:11:11.398800 | Jonas | pythondev_help_Jonas_2019-02-08T18:11:11.398800 | 1,549,649,471.3988 | 7,356 |
pythondev | help | The cp specifier is the cpython version. The parts after it are specific to the operating system and the python ABI iirc | 2019-02-08T18:11:49.399000 | Jonas | pythondev_help_Jonas_2019-02-08T18:11:49.399000 | 1,549,649,509.399 | 7,357 |
pythondev | help | Packaging question (wheels/distutils): what is the preferred way of creating a package for a library with multiple dependencies which can then be installed on a system with *no internet access* using `pip install mylibrary.whl` | 2019-02-08T18:22:48.400700 | Rubi | pythondev_help_Rubi_2019-02-08T18:22:48.400700 | 1,549,650,168.4007 | 7,358 |
pythondev | help | I added | 2019-02-08T18:24:57.400900 | Micki | pythondev_help_Micki_2019-02-08T18:24:57.400900 | 1,549,650,297.4009 | 7,359 |
pythondev | help | I see this error when I hit the trace | 2019-02-08T18:25:46.401300 | Micki | pythondev_help_Micki_2019-02-08T18:25:46.401300 | 1,549,650,346.4013 | 7,360 |
pythondev | help | <@Micki> you must be running docker | 2019-02-08T19:29:10.402300 | Hiroko | pythondev_help_Hiroko_2019-02-08T19:29:10.402300 | 1,549,654,150.4023 | 7,361 |
pythondev | help | If so, the `—service-ports` flag is required when running a container | 2019-02-08T19:29:55.403500 | Hiroko | pythondev_help_Hiroko_2019-02-08T19:29:55.403500 | 1,549,654,195.4035 | 7,362 |
pythondev | help | Eg `docker-compose run —rm —service-ports <container-name>` | 2019-02-08T19:31:00.404800 | Hiroko | pythondev_help_Hiroko_2019-02-08T19:31:00.404800 | 1,549,654,260.4048 | 7,363 |
pythondev | help | yes I am runing docker | 2019-02-08T21:06:56.405100 | Micki | pythondev_help_Micki_2019-02-08T21:06:56.405100 | 1,549,660,016.4051 | 7,364 |
pythondev | help | Thank you so much | 2019-02-08T21:07:04.405300 | Micki | pythondev_help_Micki_2019-02-08T21:07:04.405300 | 1,549,660,024.4053 | 7,365 |
pythondev | help | None | 2019-02-09T05:38:14.407300 | Alise | pythondev_help_Alise_2019-02-09T05:38:14.407300 | 1,549,690,694.4073 | 7,366 |
pythondev | help | hey guys, I have a text file which I generated from a pdf like the above. I would like to read each of these paragraphs to a list in python. | 2019-02-09T05:39:04.408400 | Alise | pythondev_help_Alise_2019-02-09T05:39:04.408400 | 1,549,690,744.4084 | 7,367 |
pythondev | help | I would like to create a list, with each element occupying the text that starts with the regex character ^L and ends until the next occurrence of ^L. My goal is to be able to compile each dated paragraph into a list, and then generate them to show up on my terminal based on the date. | 2019-02-09T05:40:47.409900 | Alise | pythondev_help_Alise_2019-02-09T05:40:47.409900 | 1,549,690,847.4099 | 7,368 |
pythondev | help | sounds like a job for `re.split` | 2019-02-09T05:44:25.410200 | Jettie | pythondev_help_Jettie_2019-02-09T05:44:25.410200 | 1,549,691,065.4102 | 7,369 |
pythondev | help | Remember that `^` is a meaningful character in regex, so it will need to be escaped `\^` | 2019-02-09T05:46:48.410900 | Chuck | pythondev_help_Chuck_2019-02-09T05:46:48.410900 | 1,549,691,208.4109 | 7,370 |
pythondev | help | I think it's not literally `^L` | 2019-02-09T05:48:19.411100 | Jettie | pythondev_help_Jettie_2019-02-09T05:48:19.411100 | 1,549,691,299.4111 | 7,371 |
pythondev | help | it's probably `\x0C` | 2019-02-09T05:48:25.411400 | Jettie | pythondev_help_Jettie_2019-02-09T05:48:25.411400 | 1,549,691,305.4114 | 7,372 |
pythondev | help | it's just an invisible character and that's how terminals typically render those | 2019-02-09T05:48:41.411800 | Jettie | pythondev_help_Jettie_2019-02-09T05:48:41.411800 | 1,549,691,321.4118 | 7,373 |
pythondev | help | not terminals.. text editors like vim and nano | 2019-02-09T05:48:56.412200 | Jettie | pythondev_help_Jettie_2019-02-09T05:48:56.412200 | 1,549,691,336.4122 | 7,374 |
pythondev | help | None | 2019-02-09T05:50:42.412800 | Alise | pythondev_help_Alise_2019-02-09T05:50:42.412800 | 1,549,691,442.4128 | 7,375 |
pythondev | help | Fair enough -- copied from the example it was a literal string | 2019-02-09T05:50:53.413400 | Chuck | pythondev_help_Chuck_2019-02-09T05:50:53.413400 | 1,549,691,453.4134 | 7,376 |
pythondev | help | I have this so far, but this is printing the whole text file -_- | 2019-02-09T05:50:55.413600 | Alise | pythondev_help_Alise_2019-02-09T05:50:55.413600 | 1,549,691,455.4136 | 7,377 |
pythondev | help | well, you don't filter anything and print the whole thing :) | 2019-02-09T05:52:56.414100 | Jettie | pythondev_help_Jettie_2019-02-09T05:52:56.414100 | 1,549,691,576.4141 | 7,378 |
pythondev | help | what would `input_file` be -- a list? | 2019-02-09T05:53:45.415100 | Chuck | pythondev_help_Chuck_2019-02-09T05:53:45.415100 | 1,549,691,625.4151 | 7,379 |
pythondev | help | input_file would be the original file in text format | 2019-02-09T05:54:05.415400 | Alise | pythondev_help_Alise_2019-02-09T05:54:05.415400 | 1,549,691,645.4154 | 7,380 |
pythondev | help | I would like to be able to chop each dated paragraph into a list, so I can manipulate the list using indexes | 2019-02-09T05:54:48.416300 | Alise | pythondev_help_Alise_2019-02-09T05:54:48.416300 | 1,549,691,688.4163 | 7,381 |
pythondev | help | I basically want each day’s daily reflection to show up on my bash terminal every-time I launch it. | 2019-02-09T05:56:00.417400 | Alise | pythondev_help_Alise_2019-02-09T05:56:00.417400 | 1,549,691,760.4174 | 7,382 |
pythondev | help | :slightly_smiling_face: | 2019-02-09T05:56:15.417600 | Alise | pythondev_help_Alise_2019-02-09T05:56:15.417600 | 1,549,691,775.4176 | 7,383 |
pythondev | help | so, when you perform the `split`, you are basically creating a `list` object called `input_file`. | 2019-02-09T06:01:51.419000 | Chuck | pythondev_help_Chuck_2019-02-09T06:01:51.419000 | 1,549,692,111.419 | 7,384 |
pythondev | help | this will contain an element for every section of the text between the characters you provided for the split | 2019-02-09T06:02:23.419700 | Chuck | pythondev_help_Chuck_2019-02-09T06:02:23.419700 | 1,549,692,143.4197 | 7,385 |
pythondev | help | why you see the whole of your text is because you are then printing the entire variable | 2019-02-09T06:02:49.420300 | Chuck | pythondev_help_Chuck_2019-02-09T06:02:49.420300 | 1,549,692,169.4203 | 7,386 |
pythondev | help | try something like `print(input_file[0])` or `print(input_file[1])` to see the sub elements of the list | 2019-02-09T06:03:27.421200 | Chuck | pythondev_help_Chuck_2019-02-09T06:03:27.421200 | 1,549,692,207.4212 | 7,387 |
pythondev | help | (assuming you do have one or more `\n\n` in your text for the split to be meaningful) | 2019-02-09T06:04:20.422000 | Chuck | pythondev_help_Chuck_2019-02-09T06:04:20.422000 | 1,549,692,260.422 | 7,388 |
pythondev | help | hello . how can i create a function in python to load images from different folders that i contain in my directory for image recognition? | 2019-02-09T08:58:10.424200 | Janessa | pythondev_help_Janessa_2019-02-09T08:58:10.424200 | 1,549,702,690.4242 | 7,389 |
pythondev | help | you can use `os.walk` to traverse the folders | 2019-02-09T09:02:03.424400 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:02:03.424400 | 1,549,702,923.4244 | 7,390 |
pythondev | help | keep a list or tuple of the folders you want to target for image load and compare the current folder location. | 2019-02-09T09:02:52.425200 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:02:52.425200 | 1,549,702,972.4252 | 7,391 |
pythondev | help | if its a match, build the absolute path string and append the filenames. add that to a list | 2019-02-09T09:03:36.426200 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:03:36.426200 | 1,549,703,016.4262 | 7,392 |
pythondev | help | so you build the list of full paths to the images you want | 2019-02-09T09:03:52.426600 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:03:52.426600 | 1,549,703,032.4266 | 7,393 |
pythondev | help | but i have may main folder dataset and inside it there are 5794 folders with many images | 2019-02-09T09:08:04.427300 | Janessa | pythondev_help_Janessa_2019-02-09T09:08:04.427300 | 1,549,703,284.4273 | 7,394 |
pythondev | help | still it should be done the way you are saying? is any example avaialble? | 2019-02-09T09:08:26.427800 | Janessa | pythondev_help_Janessa_2019-02-09T09:08:26.427800 | 1,549,703,306.4278 | 7,395 |
pythondev | help | using os.walk for this is a pretty common and well written about problem that’s easily accessible with a google/bing search | 2019-02-09T09:13:09.428500 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:13:09.428500 | 1,549,703,589.4285 | 7,396 |
pythondev | help | if its not fast enough for you, there are alternatives you could do, like using os-specific commands like `find` for linux and the like | 2019-02-09T09:13:57.429400 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:13:57.429400 | 1,549,703,637.4294 | 7,397 |
pythondev | help | for root, dirs, files in os.walk("."):
path = root.split(os.sep)
print((len(path) - 1) * '---', os.path.basename(root))
for file in files:
print(len(path) * '---', file) | 2019-02-09T09:14:32.429600 | Janessa | pythondev_help_Janessa_2019-02-09T09:14:32.429600 | 1,549,703,672.4296 | 7,398 |
pythondev | help | that presumes that whatever folder you’re in will be the root of the traversal tree | 2019-02-09T09:15:49.430200 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:15:49.430200 | 1,549,703,749.4302 | 7,399 |
pythondev | help | so if you do it in your root folder, it’ll go through everything in the hard drive | 2019-02-09T09:16:05.430600 | Hiroko | pythondev_help_Hiroko_2019-02-09T09:16:05.430600 | 1,549,703,765.4306 | 7,400 |
pythondev | help | vailed_ext = [".jpg",".png"]
import os
f_list = []
def Test2(rootDir):
for lists in os.listdir(rootDir):
path = os.path.join(rootDir, lists)
filename, file_extension = os.path.splitext(path)
if file_extension in vailed_ext:
print path
f_list.append[path]
if os... | 2019-02-09T09:23:15.430800 | Janessa | pythondev_help_Janessa_2019-02-09T09:23:15.430800 | 1,549,704,195.4308 | 7,401 |
pythondev | help | i did this instead | 2019-02-09T09:23:23.431000 | Janessa | pythondev_help_Janessa_2019-02-09T09:23:23.431000 | 1,549,704,203.431 | 7,402 |
pythondev | help | but its noot recognizing my root directory which is the main folder dataset where subfolders are located | 2019-02-09T09:24:00.431800 | Janessa | pythondev_help_Janessa_2019-02-09T09:24:00.431800 | 1,549,704,240.4318 | 7,403 |
pythondev | help | what about this, seems to be not correct? | 2019-02-09T10:02:28.431900 | Janessa | pythondev_help_Janessa_2019-02-09T10:02:28.431900 | 1,549,706,548.4319 | 7,404 |
pythondev | help | This might be a bit of a crazy question and not sure if this is possible, but I have a codebase where I am switching logging libraries and also want to maintain consistent logging
- Is there a way to parse the python files in the project to write tests to say things like, `<http://log.info|log.info>()` must have kwarg... | 2019-02-09T10:16:56.434300 | Lawanna | pythondev_help_Lawanna_2019-02-09T10:16:56.434300 | 1,549,707,416.4343 | 7,405 |
pythondev | help | I did not know you could do this: `int_value = int(string_number or 0)` | 2019-02-09T10:17:57.435100 | Chuck | pythondev_help_Chuck_2019-02-09T10:17:57.435100 | 1,549,707,477.4351 | 7,406 |
pythondev | help | if `string_number` is `None` then `int_value` is set to `0` | 2019-02-09T10:21:17.436200 | Chuck | pythondev_help_Chuck_2019-02-09T10:21:17.436200 | 1,549,707,677.4362 | 7,407 |
pythondev | help | The technical term for doing that is "short-circuiting". You can do it with both `or` as well as `and`. If the first argument of the `or` evaluates as `True` or the first argument of the `and` evaluates as `False`, the expression will stop evaluating at that point, since it can guarantee that the second half won't chan... | 2019-02-09T12:32:17.439500 | Carmen | pythondev_help_Carmen_2019-02-09T12:32:17.439500 | 1,549,715,537.4395 | 7,408 |
pythondev | help | Wait. Blarg. That was a fail explanation. That's not what's happening there. | 2019-02-09T12:43:01.440000 | Carmen | pythondev_help_Carmen_2019-02-09T12:43:01.440000 | 1,549,716,181.44 | 7,409 |
pythondev | help | Everything I said is true, but it's not what you're seeing there. | 2019-02-09T12:43:08.440300 | Carmen | pythondev_help_Carmen_2019-02-09T12:43:08.440300 | 1,549,716,188.4403 | 7,410 |
pythondev | help | <@Rubi> Take a look at this StackOverflow answer: <https://stackoverflow.com/a/26066961/> | 2019-02-09T13:12:53.441000 | Carmen | pythondev_help_Carmen_2019-02-09T13:12:53.441000 | 1,549,717,973.441 | 7,411 |
pythondev | help | Hello, complete newbie here.
What's the best way to build a python microservice with a REST api, without the overhead of a heavy web framework? | 2019-02-09T13:24:55.442900 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:24:55.442900 | 1,549,718,695.4429 | 7,412 |
pythondev | help | <@Deangelo> Flask is very popular for microservices. | 2019-02-09T13:32:07.443600 | Marita | pythondev_help_Marita_2019-02-09T13:32:07.443600 | 1,549,719,127.4436 | 7,413 |
pythondev | help | Thanks <@Marita> | 2019-02-09T13:39:51.443900 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:39:51.443900 | 1,549,719,591.4439 | 7,414 |
pythondev | help | would you say Falcon is in par with Flask? <https://fgimian.github.io/blog/2018/05/17/choosing-a-fast-python-api-framework/> | 2019-02-09T13:40:24.444400 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:40:24.444400 | 1,549,719,624.4444 | 7,415 |
pythondev | help | @Simo Never used Falcon. So I’m not sure. Flask is very popular, so you’ll probably have more tutorials available for it. | 2019-02-09T13:41:19.445700 | Marita | pythondev_help_Marita_2019-02-09T13:41:19.445700 | 1,549,719,679.4457 | 7,416 |
pythondev | help | cool, I might perhaps also use a swagger code generator to build the api interface dynamically based on api specs | 2019-02-09T13:43:52.447700 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:43:52.447700 | 1,549,719,832.4477 | 7,417 |
pythondev | help | Flask literally took me a single Python script and an HTML template to build a microservice. It's hard to get much simpler and faster than that. | 2019-02-09T13:43:57.447900 | Carmen | pythondev_help_Carmen_2019-02-09T13:43:57.447900 | 1,549,719,837.4479 | 7,418 |
pythondev | help | good to know. by the way, I'm not looking to serve html, just a plain rest interface to do some calcs, call another service and return back numbers | 2019-02-09T13:45:06.449000 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:45:06.449000 | 1,549,719,906.449 | 7,419 |
pythondev | help | which is why I don't need all the features of a web framework | 2019-02-09T13:45:51.449500 | Deangelo | pythondev_help_Deangelo_2019-02-09T13:45:51.449500 | 1,549,719,951.4495 | 7,420 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.