You can’t really test databases properly without data. In this video, Aiven’s Developer Advocate Francesco Tsiot shows you a great way to create fake data using Python and Faker. He also shares a pizza-related example - we hope you know your toppings!
Sign up for a free Aiven account: https://go.aiven.io/youtube-signup
LINKS
Faker documentation: https://faker.readthedocs.io/en/master/
Github repo: https://github.com/aiven/kafka-python...
Blog post: https://aiven.io/blog/create-your-own...
Aiven Kafka Python Notebooks: https://github.com/aiven/kafka-python...
TIMESTAMPS
0:00 Intro
0:25 Installing Faker within the Python Notebook
1:04 Create fake data in Faker
2:00 Localize the Faker instance
3:00 Other data types available on Faker
4:56 Add new data types to Faker
6:32 How to use the seed in Faker to control the data
7:56 Getting unique values with your fake data
8:34 Useful resources
CONNECT WITH US
Website: http://aiven.io
GitHub: https://github.com/aiven
Facebook: / aivencloud
Twitter: / aiven_io
Linkedin: / aiven
ABOUT AIVEN
We help organizations fuel the continuous innovation needed to create awesome, data-intensive applications by using the leading open source technologies. After building expertise managing mission-critical data infrastructure for companies like F-Secure and Nokia, Aiven’s founders noticed that cloud adoption was increasing but infrastructure solutions were either proprietary or difficult to translate into business results.
They decided to strike out on their own to build a true, open source data cloud that allowed organizations to harness leading open source technology to build the modern infrastructure necessary to grow from prototyping to world-wide scale at greater and greater velocities.