Unanswered Questions
131 questions with no upvoted or accepted answers
4
votes
2
answers
477
views
Data processing pipeline design for processing data
I have a use case for which I need to build a data processing pipeline
Customer contact leads data coming from different data sources like csv, data base, api has to be first mapped to a universal ...
4
votes
0
answers
2k
views
Python and C++ repository structure
I'm refactoring the directory structure of a large Python repo that has a few dozen C and C++ files littered throughout. Is there a suggested architecture for a Python package that contains C/C++ code ...
4
votes
0
answers
1k
views
Calculating the multiplicative inverse of a number in a Galois field
I was told to come here from Stack Overflow because I was "looking for an algorithm". I'm trying to implement it in Python, but there is nowhere on the net that gives a straightforward way for ...
4
votes
0
answers
1k
views
How to Use Python as a "Macro" runner for a C# Application
I am working on an application that the user may wish to automate some features of (but we don't know what at the moment) I would like to provide them some kind of scripting interface so they can play ...
4
votes
0
answers
2k
views
Structuring a multi-language project?
I'm working on a project which involves writing code for multiple devices, each in its own language (in particular, Arduino and Python). I want to contain the entire project in a single directory, but ...
3
votes
2
answers
215
views
How to structuring a read/write submodule in OOP Python
I am developing a python package that needs to be able to read/write from/to multiple formats. E.g. foo format and bar format. I am trying to contain the functions relating to each format in a single ...
3
votes
0
answers
79
views
Confused about how to test Python scripts that install and configure a development setup on OSX (VMware? Docker-OSX?)
In my company we hire engineers for various "disciplines"—iOS, Android, Web, Backend, Data, etc. Engineers follow an onboarding workbook to install what they need for their discipline. iOS ...
3
votes
1
answer
197
views
How to structure python modules/packages according to dependecy inversion
If I am working on a project, say it has this file structure:
car/
body/
__init__.py
doors.py
bonnet.py
engine/
cyclinderhead/
__init__.py
pistons.py
...
3
votes
0
answers
254
views
Architecture and Security in a Web/Native app while generating PDFs
I am trying to make a system where a user can view/download his statements (say salary slips). The user will have ability to download PDF versions of these statements and can also save them to Google ...
3
votes
0
answers
152
views
Can/Should I make an automatic installation of new python libraries after a git pull?
Imagine the following situation:
I'm working on a python project, and I install the library antigravity with pip.
I add the function fly() which uses the library, and I commit and push the changes.
...
3
votes
0
answers
122
views
Python3: How to change the design of a class hierarchy to improve access to objects there buried?
I asked this question already at stackoverflow together with a serialization related part and at codereview for the design part only. Since the design related part receives no answers or comments on ...
3
votes
0
answers
97
views
Software design strategy for a machine learning tool that outputs a subset of the text input (Information Extraction)?
Let's say I have thousands of pdfs that are each about 30k words written in conversational English. In each of the pdfs there is a name / names of a person/people who snowboard. There are also many ...
3
votes
0
answers
86
views
How would I identify a gap in a set of curve data, and get its value?
I have a set of 2-D data (x,y) and it produces a set of curves,
and sometimes the set of curves do not overlap, and there is a
distinct separation between the groups of curves, how would I
identify ...
3
votes
0
answers
936
views
How does the Zope Component Architecture (ZCA) relate to Service Component Architecture (SCA)?
I'm very new to the principle of Service Component Architecture and Zope in general, but the more I look, the more ZCA seems to be a good solution for a certain class of problems I often encounter.
I ...
3
votes
0
answers
868
views
The Python module-as-singleton hack
I've seen (and once used) this idiom a few times in Python:
# At the end of a module:
if __name__ == '__main__':
main() # or whatever your entry point looks like, this line isn't important
else:
...