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
I've been slowly learning Python over the past couple months and I'm currently building some scripts for work that I'd like to turn into an application at some point.
What I need to do is import something that will build graphics. For example, I need to build geometric shapes, fill them with color, and draw within them, possibly even load PNG files on top of them. It's for an icon set, but it would potentially build 20,000 or so icons, based on variables. Then it would save the generated graphic to an external file.
If anybody is familiar with MIL-STD-2525C, I'm trying to build a python-based generator for the SIDC symbols. So, suggestions for what libraries, native or third-party, to import? Please, no turtle. :)
Take a look at Cairo.
It's a 2d graphic library with an easy-to-use API. It supports SVG documents and PostScript. So it should be ideal for icons and pictograms.
Related
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
Often on the Internet I saw such images and now I am interested in the implementation of this algorithm. The input is a template and a set of words, on the basis of which the image is drawn, the more often the word is used the more space it takes. As far as I know there is already a library for python that allows you to generate such images. Could you tell me which one?
Word cloud allows you to do this, and using its masks features should allow you to shape them: https://github.com/amueller/word_cloud would give you more information on how this can be done.
The above image is constructed using wordCloud!. Here you can find a tutorial on python.
I hope this helps...
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
Using python I'm traying to monitor a small network, I did this using zabbix before and it work perfectly, zabbix is much bigger than what i want to do.
just ping every device in a text file.
I want to graphically visualize the results, opengl, matplotlib.. are very strong but are bigger than what I want to do.
Is there a python module that can do like this result:
example of graphical representation of results (map)
I just want to keep things very simple.
Try to use graph-tool if you're looking for a tool to analyze a network.
Graph-tool is an efficient Python module for manipulation and statistical analysis of graphs (a.k.a. networks). Conveniently draw your graphs, using a variety of algorithms and output formats (including to the screen).
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 6 years ago.
Improve this question
I am trying to perform test summarize using self organizing map (SOM) as the clustering model. Do we have any libraries for performing SOM in python.
There is one here, but in general SOM implementations are not part of the main machine learning libraries. There are two reasons
SOM's, although nice to look at, don't really perform well in real problems.
It is too easy to construct one by yourself.
I would suggest to make it yourself. It is very easy and a great way to introduce yourself to python. The main code of the SOM itself is about 3 lines (a loop and one update). The remaing of the code would be for loading the data and plotting them, but you won't avoid that part of the code by using an external library
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 3 years ago.
Improve this question
I want model the flight of a couple of planes using path data. I want to make it so you can see the paths and play/pause as well as look around and interact with the environment. What open source python packages/programs can i use that will allow me to import the data and from that show the flight of the planes
I think you could give more details of what you want, do you already have the 3D models? Do your paths are in geographical coordinates? With the information you provided, it seems you want a 3D engine.
For open source 3D display using Python I would suggest Ogre 3D or Panda 3D. The first is a 3D graphic rendering engine, the second is a 3D game engine.
And there is also Blender 3D, wich is a complete 3D software.
Keep in mind that working with 3 dimensions is always a hard task. For all the solutions above, you need time to learn and understand what is going on. I would recommend Blender for the models and Panda to get everything together and working (although Blender have a Game Engine, it is not as good as Panda).
Also, take a look at these other questions.
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 am looking for an API (preferably in python) that could be used to analyze complex networks. Basically I want to find things like:
Average shortest path,
Degree distribution
Giant Component
local clustering coefficient, global clustering coefficient etc..
Thanks
I would suggest Networkx and PyGraphViz. I've used them for a similar (but not as complex) graphing project in python and I love it.
The boost graph library has Python bindings.
I've used igraph on Linux. It started to grind on 64k nodes but that graph was becoming unwieldy any way.
Not sure about performance next to PyGraphViz but now you have a plenty of options.