connorferster / handcalcs

Python library for converting Python calculations into rendered latex.
Apache License 2.0
5.68k stars 435 forks source link

Showcase your handcalcs project here! #50

Open connorferster opened 4 years ago

connorferster commented 4 years ago

Leave a comment with a link to your project!

connorferster commented 4 years ago

Inspired by #38 from @momba98:

https://momba98.github.io/p1_conf/

image

michaellisitsa commented 4 years ago

I've posted one script I've been using recently for calculating fatigue stresses in steel trusses.

I had feedback from another engineer that they could follow along. Given most structural engineering xlsx sheets are almost impossible to follow along without clicking into each cell [and tearing your hair out], I am pretty happy to have found this library. Thanks Connor.

GitHub link: CIDECT-4-Fatigue-K-joint-overlap.pdf CIDECT-4-Fatigue-K-joint-overlap.ipynb

connorferster commented 4 years ago

@michaellisitsa I like how you are using @robbievanleeuwen's section-properties! Excellent!

michaellisitsa commented 4 years ago

I placed the Streamlit example posted in your Wiki onto Heroku https://testherokulisitsa.herokuapp.com and the source code is in https://github.com/michaellisitsa/testheroku.

There are some slight tweaks in the code compared to the Wiki example, because the newer version of handcalcs treats the returned values differently I believe, and also the import statement changes from previous from handcalcs.handcalcs import handcalc

Using Streamlit and Heroku appeals to me for distributing to other engineers unfamiliar with programming / Jupyter Notebooks.

I am happy for you to adopt the code and create your own Heroku page if you want to include in the Wiki.

connorferster commented 4 years ago

Thanks for doing that! I have not used Heroku yet but this got me seeing some great potential!

michaellisitsa commented 4 years ago

In the meantime I was accepted into the Streamlit sharing beta, which makes deploying Streamlit websites literally as simple as entering the GitHub URL. You can sign up here https://www.streamlit.io/sharing

Next step is probably to explore https://www.streamlit.io/for-teams which adds authentication if companies want to keep some of the web apps for internal use only.

I am halfway through rewriting my “steel trusses script” posted previously, into a live Streamlit website:

https://share.streamlit.io/michaellisitsa/hs_truss_fatigue/main.py That is linked to GitHub repo: https://github.com/michaellisitsa/HS_truss_fatigue

nagatushar commented 2 years ago

https://aisc-combined-interaction.herokuapp.com/app/1

was a demo to sell the idea of webapps at the office (not for use)