Skip to main content

Consolidated Django ORM models for the Aptpath platform.

Project description

aptpath-models

Consolidated Django ORM models for the Aptpath platform, published as a reusable pip package.

Installation

pip install aptpath-models

Or directly from source:

pip install git+<repo-url>

Usage

Add aptpath_models to INSTALLED_APPS in your Django settings:

INSTALLED_APPS = [
    ...
    'aptpath_models',
]

Import models directly:

from aptpath_models.models import Profile, Company, Internship, LMSCourse

Package structure

aptpath_models/
  models/
    base.py              # Abstract base models
    neo4j_nodes.py       # Neo4j StructuredNode classes (neomodel)
    users.py             # MongoUser, MongoEmployer, AptPathAdmin, Profile, Permissions
    skills.py            # MongoSkill, MongoCategories, Language, MongoAccountType, MongoRole
    user_profile.py      # UserEducation, UserExperience, UserCertificate
    company.py           # Company, Employment, Invitation, Notification, Activity
    college.py           # College and related models
    courses.py           # MongoCourse, LMSSystem, CourseTemplates
    jobs.py              # Jobs, MongoApplications, JobTemplates, Assessments, DailyStreak
    learning_path.py     # LearningPath, LearningPathModule and templates
    assessments_tests.py # AptpathTests, Durationmodel and templates
    nav.py               # NavigationItem, NavigationSubheader
    xapi.py              # XAPIStatement
    moodle.py            # MoodleCourse, MoodleCourseCompletion, MoodleUser
    logs.py              # OperationLog (all user types)
    internship.py        # Internship, InternshipBatches, Coupon, LeaveRequest, etc.
    labs.py              # Lab, SkillBuilder, CodingAssessment, StudentTasks, etc.
    lms_partner.py       # LMSCourse, CourseEnrollmentPaymentDetails, UserCourseStatus
    blogs.py             # AptpathBlog, Blog and related content models
    employer_ext.py      # JobV2, JobApplicationsV2, Roles, InternJobProfile
    payment.py           # PaymentDetails
    meetings.py          # Recordings

Requirements

  • Django >= 4.2
  • psycopg2-binary (PostgreSQL)
  • neomodel >= 5.0 (Neo4j graph nodes)
  • django-ckeditor (rich text blog content)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aptpath_models-0.1.0.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aptpath_models-0.1.0-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file aptpath_models-0.1.0.tar.gz.

File metadata

  • Download URL: aptpath_models-0.1.0.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for aptpath_models-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f3dfb3e4a7e32c7b1301a9352c8ada7b3eb694b209410dbd398711b52c8871a8
MD5 9a9ef757389a6e115ef3a9a27ee958c6
BLAKE2b-256 64a07f725aa682be941102720a18e44dffa96fd8abee1db2506c7d23b45ed732

See more details on using hashes here.

File details

Details for the file aptpath_models-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aptpath_models-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for aptpath_models-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b66396a081de7d966e8d710be77fb7cfbf574c64d57dc397903a41f79a20e55
MD5 0b9ce7d7780ab078b4032d22502b32b3
BLAKE2b-256 e6ba3ef865e907dbf61966f3256cdb054c9060ccfea724374a6b4edbc48e6938

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page