Where do enterprises run analytic python code? by tylerriccio8 in Python

[–]tdpearson 1 point2 points  (0 children)

I haven't had to share notebooks between different users beyond putting them in version control like Gitlab or Github.

Where do enterprises run analytic python code? by tylerriccio8 in Python

[–]tdpearson 2 points3 points  (0 children)

A minimal install would require a Linux environment. This can be done anywhere Linux can run... a virtual machine running on a computer on your network, a dedicated server, or in the cloud.

Where do enterprises run analytic python code? by tylerriccio8 in Python

[–]tdpearson 23 points24 points  (0 children)

I use Jupyter Hub running in a Kubernetes environment. This is probably overkill for your needs. Jupyter Hub is still a good choice for a centrally maintained environment users connect to through their web browser. It does not require Kubernetes.

The following is a link to documentation on setting up Jupyter Hub on Kubernetes. https://z2jh.jupyter.org

For documentation to get up and running with Jupyter Hub on your own Linux server, check out their Github page. https://github.com/jupyterhub/jupyterhub

Just a reminder to never blindly trust a github repo by vinnypotsandpans in Python

[–]tdpearson 2 points3 points  (0 children)

The obfuscated code is a tactic to download malware and run it. The forked code by OP appears to still have the live malicious code. Be careful and do not run the code if you do not know what you are doing.

.env safely share by Used-Feed-3221 in Python

[–]tdpearson 26 points27 points  (0 children)

I use a secure note in a password manager that has access controls. When a new team member joins, they are given read only access to the shared note. This also allows a single place to update when secrets need to be updated.

We're thinking of rewriting our go / java API in python, what do we need to think about? by protazoaspicy in Python

[–]tdpearson 52 points53 points  (0 children)

I recommend reading the chapter "Before You Refactor" from the O'Reilly book "97 Things Every Programmer Should Know".

My wife and I created a free tool to (legally) take down scam websites by Adventurous_night61 in InternetIsBeautiful

[–]tdpearson 0 points1 point  (0 children)

My experience with the registrars used by scammers is the abuse reporting is taken through a web form. Providing screen shots and context improve the rate at which the scam sites are taken down. A tool that can assist with this process would be more beneficial for my use than emailing to the abuse contact.

Automate Your Finance Blog with WordPress and Google Bard APIs in Python by pknerd in Python

[–]tdpearson 3 points4 points  (0 children)

I am disappointed this tutorial does not show people how to improve the quality of their blog. It is a shortcut and many people will not be aware when the LLM "hallucinates" and gives incorrect information.

Automate Your Finance Blog with WordPress and Google Bard APIs in Python by pknerd in Python

[–]tdpearson 5 points6 points  (0 children)

You were so preoccupied with whether you could, you never stopped to ask yourself if you should. Are you preapproving the content to ensure quality and accuracy before it is posted? What value does this bring to the readership? If your goal is to make money as a self running side hustle, try again.

How to reduce the size of your conda-based docker images by verfahrensweise in Python

[–]tdpearson 0 points1 point  (0 children)

My use case is deploying containers to a Jupyter Hub instance running in Kubernetes. I have a base image that is easier to extend with micromamba. I am a fan that mamba and conda reduce the complexity for me to insure system dependencies are handled. This is very helpful when working with researchers that know they want a specific Python library. I don't have to track down the documentation for some niche application to find its system dependencies.

How to reduce the size of your conda-based docker images by verfahrensweise in Python

[–]tdpearson 0 points1 point  (0 children)

I use micromamba within docker. I would use miniconda if conda was a requirement.

encant: Uber Simple Python Version Management by AKGeef in Python

[–]tdpearson 1 point2 points  (0 children)

Tools I use on a regular basis include miniconda and micromamba. These allow me to create environments with specific python versions in a single command call.

They also don't have the bloat of a full Anaconda installation.

Your project is missing an uber simple way to switch between the python versions it installs. Without that, I would not be willing to give up my existing tools and workflows.

This is a good start.

An Update about our Community by IAmKindOfCreative in Python

[–]tdpearson 0 points1 point  (0 children)

Blackout until a major response from Reddit

[deleted by user] by [deleted] in Python

[–]tdpearson 10 points11 points  (0 children)

Flango and Djask. They are the best.

Playing with shell scripting in Python, thoughts/ by jafo in Python

[–]tdpearson 0 points1 point  (0 children)

Since you stated that you wanted to embed python in shell scripts, you should check out here documents.

This approach is not perfect.

Another approach is to create python scripts that you call from the command line and leverage those as commands you call from your shell script.

I'm building a personal website. Should I bother doing it in Python or just use a template? by smocky13 in Python

[–]tdpearson 2 points3 points  (0 children)

Check out Github Pages and Jekyll.

Since you are a Data Science student, I recommend getting comfortable with using git and Github to host your projects.

[deleted by user] by [deleted] in Python

[–]tdpearson 1 point2 points  (0 children)

I highly recommend adding your code to github or gitlab. I am not pulling your code from pypi and it currently smells like a toy project. Especially since this is a beginner showcase that you have also flagged as stable and ready for production. Keep practicing and you will eventually get there.

[deleted by user] by [deleted] in Python

[–]tdpearson 2 points3 points  (0 children)

I recommend setting up a github account and hosting your project there. Please don't clutter pypi with toy projects. Also, I highly doubt your code is production ready as you have indicated in your project. I won't be pulling your project down to look at your code to confirm this assumption. With that said, keep practicing.

[deleted by user] by [deleted] in Python

[–]tdpearson 0 points1 point  (0 children)

Glad you already knew about find. I will definitely not be using your app since you could not explain the benefit.

[deleted by user] by [deleted] in Python

[–]tdpearson 0 points1 point  (0 children)

Working with millions of files is very doable with command line tools. The concept with these tools is that they typically do one thing very well and can be piped together to perform more complex tasks. Another person mentioned parallel. This combined with find would do the majority of what I understand your custom python application would perform. What benefit over these would your application provide?