OpenEdx Imports in plugins

I am new to the Open edX platform and its plugins. While reviewing code examples from Open edX plugins and some plugins used by EduNext, I noticed examples where the following imports are made:

# open edx stuff
from opaque_keys.edx.keys import CourseKey
from openedx.core.djangoapps.enrollments import api
from common.djangoapps.student.models import CourseEnrollment, email_exists_or_retired
from common.djangoapps.student.roles import CourseDataResearcherRole
from openedx.core.djangoapps.content.course_overviews.models import CourseOverview
from common.djangoapps.course_modes.models import CourseMode
from lms.djangoapps.certificates.models import CertificateGenerationCourseSetting
from lms.djangoapps.bulk_email.models import CourseAuthorization
from lms.djangoapps.courseware.models import StudentModule
from lms.djangoapps.grades.models import PersistentCourseGrade
from openedx.core.djangoapps.django_comment_common.models import (
    FORUM_ROLE_MODERATOR,
    Role,
)
import openedx.core.djangoapps.django_comment_common.comment_client as cc
import lms.djangoapps.discussion.django_comment_client.utils as utils

This snippet can be found in this file, starting from line 26.

My question is, where are these imports coming from, as these files are not present in the repository? Thanks a lot!

Hi @Suleman_Hamdani

These all imports are coming from edx-platform which is used for mainly LMS and CMS services.