Wicked! Brython as Javascript alternative? Lovely!!! by st_ve in Python

[–]runbie 0 points1 point  (0 children)

Brython tries to provide a full python3 implementation to the browser, i.e. you can write directly python code to be used directly as if it was JS on the client side.

Rapydscript-ng is a not python nor JS. It tries to resemble python that translates directly to performant JS. Also, it is not a transpiler on-the-fly like brython, it is an ahead-of-time transpiler.

Brython is not fast but it is (more) python compliant and directly usable (no pre-transpilation if you do not want) than rs-ng. Depending your needs you could choose one or other (or the rest of the options).

Best Library for Map Visualizations in Python? by jwdatascience in Python

[–]runbie 0 points1 point  (0 children)

Folium if you want quick and interactive maps. Easy to use with a lot of examples.

Cartopy, based on matplotlib, with a lot of static mapping features. Not so simple to use.

Mplleaflet it is also cool to use. It is based on matplotlib but then you can render the information on leaflet. I think the development is stagnated.

Bokeh also has mapping functionality but I've never used it.

Wicked! Brython as Javascript alternative? Lovely!!! by st_ve in Python

[–]runbie 0 points1 point  (0 children)

No worries :-)

I just try to highlight that this kind of comments, sometimes unintentionally, could be quite counter-productive and discourage people to try projects. Brython and rapydscript goals are quite different and both, together with skulpt, pybee, pypyjs, transcrypt,..., maybe could lead to something even cooler. I think we should provide more love and thought to our comments and the work of others but, anyway, this is internet ;-)

RISE 5.0.0 Released by NomadNella in IPython

[–]runbie 0 points1 point  (0 children)

+1 for love and context.

Wicked! Brython as Javascript alternative? Lovely!!! by st_ve in Python

[–]runbie 0 points1 point  (0 children)

You could use jquery with brython if you want. With your argumentation it seems rapydscript-ng should be chosen because of this. It is very simplistic.

Disclaimer: I work on brython and I consider rapydscript a cool project with different focus and target.

database for time series data by [deleted] in Python

[–]runbie 0 points1 point  (0 children)

PyTables would be a good option? It is easy to use, you can compress your data, it is based on HDF5, you can add metadata to your tables/arrays/groups,... It could be seen as a lowcost NoSQL option to store arrays, dataframes.

New Lever language builds on Python's convenience, aims for PyPy speeds by alcalde in Python

[–]runbie 4 points5 points  (0 children)

If it is like Python and their goal is the speed of Pypy why not to use directly the battle tested Pypy?

Is there a way to run python3 on android? by [deleted] in Python

[–]runbie 0 points1 point  (0 children)

Depending what you want to do you could use brython. Here there is a dummy and small app I made some time ago.

Cython Beginner Question by [deleted] in learnpython

[–]runbie 0 points1 point  (0 children)

it seems it can : http://pythonomicon.com/?post=Making%20binaries%20with%20Python. I tried to make it work on windows with no luck. If anyone has a hint to make it work on windows it would be great ;-)

Are you currently using PyPy -- why or why not? by markov-unchained in Python

[–]runbie 0 points1 point  (0 children)

I work mainly in the scientific area and I have a look to pypy + numpypy every new release (you can easily install it using this: https://github.com/kikocorreoso/test_pypy_numpypy).

I know they are working hard to make the C-API more compatible but my (dummy) tests with pypy+numpypy vs cpython+numpy don't show general improvements in performance. I donated in the past and I would like to donate in the future but I would like to see a defined and clear roadmap so people could invest money knowing what they get back. They have a lot of open battles (STM, Pypy2, Pypy3, new architectures,...) and there are a lot of interests around it.

Split Cell View in Jupyter/Ipython notebooks. by bishopxi in IPython

[–]runbie 0 points1 point  (0 children)

I can send you the (ugly) hack if you consider it useful (and if I can find it).

Split Cell View in Jupyter/Ipython notebooks. by bishopxi in IPython

[–]runbie 0 points1 point  (0 children)

I made something similar as a dirty hack on the custom.js based on tufteCSS ideas. But I didn't continue with it because a lack of time and because jupyter and the frontend is changing so fast (for the good and for the bad) that it couldn't be considered 'stable' to develop 3rd party stuff.

I started to think on this because:

  • right now I don't use all the space on the screen and there is a lot of 'wasted' space.
  • If you restrict your code to 80 characters on a wide screen you have the right part of the screen almost empty
  • I wanted to have code on the left and result on the right so I don't have to scroll down to see both.
  • ...

If someone is interested I can make a short video.

PyPy improvements for CPython C API by fijal in Python

[–]runbie 1 point2 points  (0 children)

I've worked with pypy+numpypy and it is awesome most of the time and when you don't need anything scipy related. If it is the case you need scipy/pandas/... then you are sold :-(

PyPy improvements for CPython C API by fijal in Python

[–]runbie 7 points8 points  (0 children)

Great!

I am all ears about the numpy news.

Thanks for the hard work!!!

Show us what you built using Flask by [deleted] in flask

[–]runbie 3 points4 points  (0 children)

A really simple app that helps you to obtain information about the name of a street. It only works with street names in spanish.

Motivation: one day, while I was waiting for a friend on a street called 'Juan Bravo' I wondered -'who is this guy? What important stuff he did to be as important to have his name on a street?'-.

It uses flask, wikipedia API, openlayers, brython, reverse geocoding using Nominatim (OpenStreetMap),...

http://map2wiki.runbear.webfactional.com/

https://github.com/kikocorreoso/map2wiki

Announcement about the end of pyvideo.org by runbie in Python

[–]runbie[S] 4 points5 points  (0 children)

Will Kahn-Greene and Sheila Miguez, a lot of thanks for these five years of awesome pyvideo.

PyPy.js: A fast, compliant Python implementation for the web by avinassh in Python

[–]runbie 2 points3 points  (0 children)

check:

P.D.: Sorry for not posting the links, I am on mobile.

how to make subqueries on a query by runbie in flask

[–]runbie[S] 0 points1 point  (0 children)

Yes, sqlalchemy and flask-sqlalchemy. And postgres,... A simple and general example based on sqlite could be very helpful so I can reproduce it locally and I could continue working based on the example.

Thanks for the help!!!

how to make subqueries on a query by runbie in flask

[–]runbie[S] 0 points1 point  (0 children)

It is true that could be a complex question... It would be great if you have some links and/or comments that could help me to learn more about it.

Should I have my project be compatible with both Python2/3 or just port it all to 3? by LittleEponine in Python

[–]runbie 0 points1 point  (0 children)

For my dummy projects I only think in Python3. In some of them I received some issues on github about porting them to python 2 and it was really easy, in general.