I'm studying the Conan package manager.
Its manuals and "getting started" tutorials show that conanfile.py is usually used to package some C++ code, and conanfile.txt - is for consuming that package.
This answer states that conanfile.txt is a simplification of conanfile.py, used by a consumer code.
I've also found this page, describing how to "translate" conanfile.txt into conanfile.py.
But file conanfile.py, created after that translation is anyway different from file conanfile.py, that was used to build a package.
My question: is it possible to merge them?
Is it possible to have a single conanfile.py that would either produce a package, or connect to a remote and download already produced one, depending on conan invocation?