This is a pretty vague question, but, sometimes, I'm not very good at naming specific tasks, but I know it's very important and I don't want to name it something ungood.
I have the following file structure:
Project/
|-- project/
| |-- Connection.py
| |-- ???.py
|
|-- Tests/
|-- test_connection.py
|-- test_???.py
The connection class contains several instance methods, which contain methods, such as upload
, download
, delete
, etc.
I, now, need to apply those methods to specific sets of files. E.G.: read a file, which contains the paths of the files that should be uploaded and use them as arguments to the upload
method.
Because of this, I created a class, which is full of static
methods, which, e.g., apply methods from Connection
several times (e.g., in a loop).
I don't really like having a class full of static
methods, but I don't really know what else to do. The other problem is that I don't know how I should name this class. I named it "FileHandler
", but I don't really like the name.
Any advice on what I should do? Should I keep the class, do something with it, change the name?
Hopefully, this is the place to post questions like this; if it's not, please tell me and I'll delete the question.