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.2.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.2-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aptpath_models-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 62f519b825a12fc8544d1ea86960706541f11f450c86e5402809a8eb77d44f86
MD5 43cf2fa79278be5042b029edf6da68b2
BLAKE2b-256 007e753785b436dc2a2b0d4ad2d8e3c643a77e02aff2dd650bbd890dcc2a932e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aptpath_models-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 316eab16aab76bd0d9ea42b587a87b19378a699464affe3a4aab5c6b63ee0d2d
MD5 27e0035dbff076ef6164e826fcc54cb6
BLAKE2b-256 f91bd044c428378ee783117d090f2b59d1b68d5247a572be4216903bde7e9553

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