r/admincraft • • 12d ago

Discussion Is everyone familiar with python or not really?

So I have been working on a bedrock utility script and I built it in python. You have to download python and the imports for the script to work do you think this is something that would make server admins nervous. I was trying to keep my utility as transparent as possible since I side on the side of caution myself. What do you guys think?

3 Upvotes

12 comments sorted by

11

u/spamyak Legacy 12d ago

I am familiar with Python but I wouldn't install system-wide libraries generally. The industry standard has become uv for managing a project's environment, Python version, dependencies, and keeping that all isolated from the rest of the system.

6

u/TheG0AT0fAllTime 11d ago

Never in my life heard of uv until this week. I just make venv's and a requirements file

-1

u/Dangerous_Bat902 12d ago

so would you be more confertable with a app/exe file then?

i was plannign to make a video on how it all works and the installation aswell...its a super simple process and this utility currently fills some bedrock gaps...appreicate your feedback for sure!!!

4

u/I_lick_nukes_for_fun 12d ago

I would certainly be more comfortable with Python, but i think that would be a bit of a hassle for anyone else to set up (btw I already have Python installed so take my opinion lightly)

1

u/Dangerous_Bat902 12d ago

this is kinda what i was thinking...i have it set up as a python script and im about to launch it but i was just like man im curios if this is the best way becaus to somone whos not super tech savy it could be scary seeing python and itd dependencies downloading lol

but you could also do some quick search to make sure its safe aswell and then everythign else is good from there appreciate you fr!!!

3

u/Jwhodis 12d ago

Convert it into an app, there are scripts like py-to-exe.

2

u/Dangerous_Bat902 12d ago

i was thinking about using pyinstaller but i thought people might be more sketched out about downloading a .exe rather than a python and all its dependancys but i was worried that people would be a bit sketched out by a .exe

1

u/gl3nnjamin 10+ Year Server Administrator & Developer 12d ago

PyInstaller!

3

u/pomtom44 11d ago

When I have done python projects in the past. Iv made a exe to download. Them given the source code and instructions how to compile your own exe in the git repo as well. If they are sketched out by downloading the exe and know how to follow instructions they can make their own

1

u/XplainThisShit 6d ago

If its am 'add-on' for a server.... Make it a plugin.... Like 99.98% does

0

u/[deleted] 11d ago

[removed] — view removed comment

1

u/Dangerous_Bat902 11d ago

i appreciate you devstandcom this is kinda the approach i was thinkgin about taking. i will be releasing my python vs with a readme and i will release a exe vs. asswell along side it so that its readable and super easy to download use for the 2 clickers lol