Bundling python and other libraries and apps together in one application [closed] - python

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 days ago.
Improve this question
I want to find the best way to create a windows bundle that contains python itself and some other libraries and apps
bundle contents:
pyqt5
qt5 designer
thonny ide
maybe vscode
jupyter notebook
a dosen pip libraries
as an educational bundle that provides teachers with one single offline installation , as many secondary schools have no internet
at the beginning I used the same packaging strategy as Thonny IDE (Inno Setup with some PascalScript)
then I found it a bit dirty (it installs python on one directory and installs libs and packages all files on one exe ) , it makes a headache adding some libraries
I tried pyinstaller and pynsist but they dont install python itself (that we need to help students learn python) , they only embed it on your applications
I am trying winrar and 7zip sfx possibilities , but I think maybe there is a smarter way to do so , no ?

Related

Does someone know about Open-source in python imports or libs? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
i have a question for you. Python is open source, that's what I know.
But are libs and imports also open source? For example I import the tkinter and the snap7 Lib for my project, is this all open source? Or only when I write a python script without any imports. Because Iam programming a script for my company I work for. I can only do this if its all open source :)
Thanks for answers!
As it written in python website : "Python is developed under an OSI-approved open source license, making it freely usable and distributable, even for commercial use. Python's license is administered by the Python Software Foundation."
So the answer is yes , it's still open source.
Everything in the standard libraries is open source, as it comes with python itself.
This does not exclude that you can use an external package installed through pip (or any other source) under a different licence, or even a closed source library (altough those are... rare; since the language itself is not ideal for distributing closed source code.
unless we talk web development but that's another topic)
To reply to your question specifically, snap7 is under MIT and tkinter is included in cpython, so it's under the same licence.

Launching python from idle, or better IDE options [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I have been using IDLE to program in python for the time being, and it is starting to get tedious to launch it from terminal. I have looked online to try to find a solution for this but haven't found out how to launch it in a typical Mac like way from spotlight (I have already tried putting it into the applications folder).
I am also open to any other suggestions for any better IDE's that work the same way as IDLE, with its own built in compiler.
Try Visual Studio Code, it comes with everything you need for Python development, including a feature to launch and test your program from the application.
It's free and open source, you can pick it up here :)
I prefer Pycharm IDE. It is a JetBrain Product
https://www.jetbrains.com/pycharm/

Using Robot framework for Java GUI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am new to Robotframework as well as to Python. I got to do the Functional Testing of the Java application(not a single jar file, but it is an installer file) and even i got to know that there is SwingLibrary for doing that.
Now my question is
What all the tools do I need to have apart form Robotframework, RIDE
Will it be the Java coding or the Python scripts?
How to connect my application to the test framework
and please post any documentations for learning because i went through this link , but i didn't understand where to deploy this thing.
Other than Ride, you can use Eclipse IDE. Install java and set environmental variables for that along with Eclipse IDE on your
machine. To create your own robot framework you need to add a plugin
called "RED" in your eclipse IDE.
There will be libraries available for some actions. If you want to create your own then you can write your test scripts using python or Java with robot framework. Every method name would be your keyword.
Once you create your own robot project, you can import the libraries that you want into red.XML which you will find in your
robot project.
Let me know if you have any queries..

Is there portable Python 2.7 Windows distribution without any libraries included? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Each Python distribution I found contains a lot of libs I don't need (numpy, scipy, PyQt etc.) I am looking for portable CPython analogue that doesn't require installation, doesn't touch anything but its directory, and is small to download over a slow or metered Internet connection.
I don't mean specifically http://portablepython.com/. I can choose packages to unpack manually. There is no way to make installer silent.
There is https://winpython.github.io/. I have to unpack 1.5GB first and uninstall unused packages.
PyPy -- http://pypy.org/. As far as I understand, is portable too but it seems it don't support all packages I need. (I will investigate that later.)
Why I need that.
Project is required to be copy-deployed on Windows machines with no prerequisites. Second, building project directory with Python interpreter and packages (including mine) must be completely automated and should use project's repository and files that can be easily downloaded from Internet.
suggestion:
install a winpython,
remove all packages you don't want,
add all packages you want,
zip the result, and unzip it on any PCs.
There is Portable Python. But as you said, it comes with some extra (and very useful) libs. What's wrong with this extra libs? I mean, if you will not use, just leave there.

Is there any Python IDE that do not need Admin for installing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
We need admin for installing some software which it will take nearly a month for them to install for us. So I want to find some Python IDE that can install without admin (Windows 7). Any suggest?
Considering IDLE can be considered as an IDE you can have a look into the following two options
Portable Python
Movable IDLE
Netbeans had support for Python till 6.9. You can use a portable version of it
Portable Netbeans
If you want to use Eclipse for Python development, here is a Portable Version. You need PyDev to work with Eclipse.
Portable Eclipse
Anaconda as a Python distro and PyCharm as IDE.
let me add the amazing editor spyderlib !
You can also use Pyzo
http://www.pyzo.org/
It's a portable, cross-platform Python distribution which comes with an editor named IEP. You can even put it in a USB stick. It's geared towards scientific uses though.
http://www.portablepython.com/
"Some of the most popular free Python IDE’s come preinstalled and preconfigured with Portable Python." - http://www.portablepython.com/wiki/Documentation
or you could use: http://www.voidspace.org.uk/python/movpy/movableidle.html (IDLE)
Or you could use something like https://www.pythonanywhere.com.

Categories

Resources