There are some threads about micro-services in this forums and very good tutorials written by fmpdude
It looks like an incredible, terrific, powerfull toolbox
on the other hand, I’m puzzeled
- installing a newer version of python.. why doesn’t the one fit the needs that comes with macOS?
- installing... all via the terminal. The help pages found on the web seem all to be no ‘entry-level’, not for dummies
— where to download, where to save, how to install..
— pip... seems to be the phyton installation program..
— can something go wrong, can I destroy data on my MacBook?
— how to use a micro-service when on another computer, for example a customer’s machine?
Are there better sources I did not find? Don’t ask me what pops up when google for ‘postman’ (-:
Is there a step to step guide for beginners, dummies?
the doc for flask says
-> and then links to 2 other sources I’ve never heard of..
I got the feeling that beeing on another planet..
Installing the python thing:
These distributions will be installed automatically when installing Flask.
- Werkzeug implements WSGI, the standard Python interface between applications and servers.
- Jinja is a template language that renders the pages your application serves.
- MarkupSafe comes with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks.
- ItsDangerous securely signs data to ensure its integrity. This is used to protect Flask’s session cookie.
- Click is a framework for writing command line applications. It provides the
flaskcommand and allows adding custom management commands.
These distributions will not be installed automatically. Flask will detect and use them if you install them.
- Blinker provides support for Signals.
- SimpleJSON is a fast JSON implementation that is compatible with Python’s
jsonmodule. It is preferred for JSON operations if it is installed.
- python-dotenv enables support for Environment Variables From dotenv when running
- Watchdog provides a faster, more efficient reloader for the development server.
Use a virtual environment to manage the dependencies for your project, both in development and in production.
What problem does a virtual environment solve? The more Python projects you have, the more likely it is that you need to work with different versions of Python libraries, or even Python itself. Newer versions of libraries for one project can break compatibility in another project.
Virtual environments are independent groups of Python libraries, one for each project. Packages installed for one project will not affect other projects or the operating system’s packages.
Python 3 comes bundled with the
venv module to create virtual environments. If you’re using a modern version of Python, you can continue on to the next section.
If you’re using Python 2, see Install virtualenv first.
I can clearly see the benefits of a GUI..