The latter group is often called NoSQL, indicating that they do not implement the popular relational query language SQL. The databases can be separated into two big groups, those that follow the relational model, and those that do not. There are great choices for databases in Python, many of them with Flask extensions that make a better integration with the application. This is one of the many areas in which Flask is intentionally not opinionated, which is great, because you have the freedom to choose the database that best fits your application instead of being forced to adapt to one. Databases in FlaskĪs I'm sure you have heard already, Flask does not support databases natively. The GitHub links for this chapter are: Browse, Zip, Diff. For most applications, there is going to be a need to maintain persistent data that can be retrieved efficiently, and this is exactly what databases are made for. The topic of this chapter is extremely important. Chapter 23: Application Programming Interfaces (APIs).Chapter 19: Deployment on Docker Containers.Chapter 15: A Better Application Structure.
An investigation by the Daily Nation newspaper in February 2020 entitled "Pillars of Greed" revealed gross irregularities: the land was bought for astronomical amounts from Kenyan politicians and some of the equipment needed for the project, such as buses and printers, cost five to ten times more than their regular price.This is the fourth installment of the Flask Mega-Tutorial series, in which I'm going to tell you how to work with databases.įor your reference, below is a list of the articles in this series. "It's because of the corruption," said Mr.
The SGR's cost raises several questions, especially when compared to similar railroads built in neighboring Ethiopia and Tanzania. "Some of these infrastructures have long-term benefits, but citizens are challenging its implementation and its astronomical cost," said Ken Gichinga, economic consultant at Mentoria Economics. Now underutilized, its results are in the red and it has accumulated 200 million dollars in operational losses in three years. Send feedbackīuilt for 4.7 billion dollars, 70% of which was financed by the Export-Import Bank of China, the SGR is the largest infrastructure project conducted since the country's independence in 1963. We are interested in your experience using the site. Yet this two-speed road cost $670 million (655 million euros). But it only benefits the happy few," lamented urban planning expert Constant Cap. "We were promised a project for all Kenyans. The highway is only used by the privileged few, who can now travel from the airport to the capital's business center in 20 minutes, instead of the usual two hours. This represents a small fortune for the majority of Kenyans who are already burdened by the soaring cost of living. The reason is the toll cost to access it: about 300 shillings (2.50 euros) per trip. There is something missing from its paved lanes, however: vehicles. This behemoth of a road spanning the Kenyan capital from North to South, inaugurated in May, three months before the August 9 presidential election, is set to become the axis that will revolutionize traffic in one of Africa's most congested cities.
MONICAH MWANGI / REUTERSĢ7 kilometers of concrete overlook Nairobi. Subscribers only The Expressway built by the China Road and Bridge Corporation (CRBC) on a public-private partnership (PPP) basis, in Nairobi, on May 14, 2022. Incumbent president Uhuru Kenyatta has left his country dependent on China and on an International Monetary Fund program.īy Noé Hochet-Bodin (Addis Abeba (Ethiopia) correspondent) Published on Augat 22h47, updated at 14h21 on August 8, 2022 Kenya's mega-infrastructure frenzy risks pushing country into 'debt distress'