{"id":9734,"library":"faker-edu","title":"Faker-Edu","description":"Faker-Edu is a provider for the Faker library, extending its capabilities to generate fake information related to educational institutions and academics. It's currently at version 1.1.0 and has a moderate release cadence, focusing on adding new generators. It's designed to be used in conjunction with the main Faker library for data generation in testing and development.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/SFDO-Community-Sprints/Snowfakery-Edu","tags":["faker","data generation","education","testing","provider"],"install":[{"cmd":"pip install faker-edu","lang":"bash","label":"Install Faker-Edu"}],"dependencies":[{"reason":"Faker-Edu is a provider for the Faker library and requires it to function.","package":"faker","optional":false}],"imports":[{"note":"The main provider class is directly accessible from the top-level package and should be aliased for clarity when added to Faker.","wrong":"from faker_edu.provider import EduProvider","symbol":"Provider","correct":"from faker_edu import Provider as EduProvider"},{"note":"The base Faker class is required to use faker-edu providers.","symbol":"Faker","correct":"from faker import Faker"}],"quickstart":{"code":"from faker import Faker\nfrom faker_edu import Provider as EduProvider\n\n# Initialize Faker\nfake = Faker()\n\n# Add the Faker-Edu provider\nfake.add_provider(EduProvider)\n\n# Generate fake educational data\nprint(f\"High School: {fake.high_school()}\")\nprint(f\"College: {fake.college()}\")\nprint(f\"Academic Discipline: {fake.academic_discipline()}\")\nprint(f\"Facility: {fake.facility()}\")\nprint(f\"Sport: {fake.sport()}\")\n","lang":"python","description":"This quickstart demonstrates how to initialize the Faker library, add the Faker-Edu provider, and then generate various types of educational data such as high school names, college names, academic disciplines, facilities, and sports."},"warnings":[{"fix":"Always include `fake.add_provider(EduProvider)` after initializing `Faker()` and importing `EduProvider`.","message":"After installing 'faker-edu', you must explicitly add its 'Provider' class to your Faker instance using `fake.add_provider()`.","severity":"gotcha","affected_versions":"1.0.0+"},{"fix":"Run `pip install faker` if you haven't already, in addition to `pip install faker-edu`.","message":"Ensure you have the base 'faker' library installed. 'faker-edu' is a provider and depends on 'faker' to function.","severity":"gotcha","affected_versions":"1.0.0+"}],"env_vars":null,"search_vec":"'1.1.0':32 'academ':26 'ad':41 'cadenc':38 'capabl':16 'conjunct':51 'current':29 'data':58,65 'design':46 'develop':63 'edu':3,6 'educ':23,67 'extend':14 'fake':19 'faker':2,5,12,55,64 'faker-edu':1,4 'focus':39 'generat':18,43,59,66 'inform':20 'institut':24 'librari':13,56 'main':54 'moder':36 'new':42 'provid':9,69 'relat':21 'releas':37 'test':61,68 'use':49 'version':31","created_at":"2026-04-17T01:20:26.860860+00:00","updated_at":"2026-04-17T01:20:26.860860+00:00","problems":[{"fix":"Add the provider using `fake.add_provider(EduProvider)` after initializing your `Faker` object.","cause":"The faker-edu provider has not been added to the Faker instance.","error":"AttributeError: 'Generator' object has no attribute 'high_school'"},{"fix":"Install the package: `pip install faker-edu`.","cause":"The `faker-edu` library is not installed in your current Python environment.","error":"ModuleNotFoundError: No module named 'faker_edu'"},{"fix":"Install the base Faker library: `pip install faker`.","cause":"The base `faker` library, which `faker-edu` depends on, is not installed.","error":"ModuleNotFoundError: No module named 'faker'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.1.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/SFDO-Community-Sprints/Snowfakery-Edu","docs":null,"changelog":null,"pypi":"https://pypi.org/project/faker-edu/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-28","install_tag":null}}