Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python version? #61

Closed
rtfisher opened this issue Jan 15, 2018 · 12 comments
Closed

Python version? #61

rtfisher opened this issue Jan 15, 2018 · 12 comments

Comments

@rtfisher
Copy link

I really love this project, and think it could be a fantastic way for math and physics students in particular to become familiar with a programming language.

Any prospect for a Python language version?

@mattdesl
Copy link
Contributor

I don’t have the time or desire to rewrite in Python but I will happily link to other language forks in the intro. 😊

@AlJohri
Copy link

AlJohri commented Sep 21, 2018

for reference, you can use something like this to add python right into the existing README:

<details>
  <summary>See Python implementation</summary>

  ```python
  1 + 1
  ```

</details>

renders like:

See Python implementation
1 + 1

@mraza007
Copy link

Who’s working on this issue

@mraza007
Copy link

I was thinking to create a python version of this

@stuaxo
Copy link

stuaxo commented Jan 16, 2019

Fantastic idea - a python version should probably use jupyter notebooks.

@mraza007
Copy link

Sounds like an idea how should I begin should I start a jupyter notebook specifically for this

@stuaxo
Copy link

stuaxo commented Jan 17, 2019

OK... I actually take that back, just porting the README.md would make more sense, you could certainly use a notebook to check the work.

@mraza007
Copy link

mraza007 commented Jan 17, 2019

Oh okay sounds great

@quinn-dougherty
Copy link
Contributor

Hi, I'm more than happy to knock this out. I'd probably make a file called PYTHON-README.md that starts with the original readme, replace all the javascript with python, with few embellishments as they're called for (for instance in python it's important to point out the difference between the vectorization DSL and a vanilla python list).

a .ipynb would be nice, especially with Latex, but since github viewer fails to load .ipynb files sometimes (making the user go into colab) and can be particularly hard to read on mobile, it's not obvious that it's the preferred choice.

but it would be trivial to just to both :)

@mraza007 how is your fork going?

Any extra formatting notes or approaches you'd prefer, i'm happy to abide.

I can send PR in a few days.

@mraza007
Copy link

mraza007 commented May 13, 2019

Hey @quinn-dougherty I think its a great Idea I started a seperate repo for python but haven't really done much. I will start working on this after my finals maybe we can split up the load and work together on this
heres the repo https://github.com/mraza007/math-as-code-python_version

@quinn-dougherty
Copy link
Contributor

I ended up finding more time today than i anticipated and it's all done

Sorry Mraza007.

I stopped short of adding a matrix multiplication section, but I hope I covered everything that was expected 😸

@mattdesl
Copy link
Contributor

Thanks @quinn-dougherty! Merged in. Also open to any more PRs to fix the Python version or link to it from the main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants