sparq 0.1.1__tar.gz → 0.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sparq
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: Python client for the sparq api - automated degree planning for SJSU students + more
5
5
  Author-email: Shiven Sheth <shivsbots@gmail.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sparq"
7
- version = "0.1.1"
7
+ version = "0.1.4"
8
8
  authors = [
9
9
  { name="Shiven Sheth", email="shivsbots@gmail.com" }
10
10
  ]
@@ -24,4 +24,4 @@ dependencies = [
24
24
  Homepage = "https://github.com/shiventi/sparq"
25
25
 
26
26
  [tool.setuptools]
27
- py-modules = ["client", "auth", "recover", "usage", "sparq"]
27
+ py-modules = ["client", "auth", "recover", "usage"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sparq
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: Python client for the sparq api - automated degree planning for SJSU students + more
5
5
  Author-email: Shiven Sheth <shivsbots@gmail.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,6 @@ auth.py
4
4
  client.py
5
5
  pyproject.toml
6
6
  recover.py
7
- sparq.py
8
7
  usage.py
9
8
  sparq.egg-info/PKG-INFO
10
9
  sparq.egg-info/SOURCES.txt
@@ -1,5 +1,4 @@
1
1
  auth
2
2
  client
3
3
  recover
4
- sparq
5
4
  usage
@@ -1,7 +1,7 @@
1
1
  import requests
2
2
  from pathlib import Path
3
3
 
4
- API_URL = "http://localhost:8000"
4
+ API_URL = "https://sparq-api.onrender.com"
5
5
 
6
6
  def load_api_key():
7
7
  config_path = Path.home() / ".sparq" / "config.txt"
sparq-0.1.1/sparq.py DELETED
@@ -1,39 +0,0 @@
1
- from client import Sparq
2
-
3
- client = Sparq("your-api-key-here")
4
-
5
- # edit accordingly
6
- plan = client.plan(
7
- major= "Computer Science",
8
- cc_courses= [
9
- # EVC Courses (based on actual transcript)
10
- {"code": "COMSC 075", "title": "Computer Science I", "grade": "A", "institution": "Evergreen Valley College"},
11
- {"code": "COMSC 076", "title": "Computer Science II", "grade": "A", "institution": "Evergreen Valley College"},
12
- {"code": "COMS 020", "title": "Oral Communication", "grade": "A", "institution": "Evergreen Valley College"},
13
- {"code": "ART 096", "title": "History of Asian Art", "grade": "A", "institution": "Evergreen Valley College"},
14
- {"code": "COMS 035", "title": "Intercultural Communication", "grade": "A", "institution": "Evergreen Valley College"},
15
- {"code": "PSYCH 001", "title": "General Psychology", "grade": "A", "institution": "Evergreen Valley College"},
16
- {"code": "PHIL 060", "title": "Logic and Critical Thinking", "grade": "A", "institution": "Evergreen Valley College"},
17
- {"code": "PHIL 010", "title": "Introduction to Philosophy", "grade": "A", "institution": "Evergreen Valley College"},
18
- {"code": "PHIL 065", "title": "Introduction to Ethics", "grade": "A", "institution": "Evergreen Valley College"},
19
- {"code": "COMSC 080", "title": "Discrete Structures", "grade": "A", "institution": "Evergreen Valley College"},
20
- {"code": "HIST 017A", "title": "History of the United States", "grade": "A", "institution": "Evergreen Valley College"},
21
- # SJCC Courses
22
- {"code": "ENGL 001A", "title": "English Composition", "grade": "A", "institution": "San Jose City College"},
23
- ],
24
- ap_exams= [
25
- {"test": "Calculus AB", "score": 5},
26
- {"test": "Calculus BC", "score": 4},
27
- {"test": "World History", "score": 4},
28
- {"test": "Physics C, Mechanics", "score": 4},
29
- ],
30
- sjsu_courses= [
31
- {"code": "MATH 32", "title": "Calculus III", "status": "In Progress", "term": "Fall 2025"},
32
- {"code": "CS 49J", "title": "Programming in Java", "status": "In Progress", "term": "Fall 2025"},
33
- {"code": "NUFS 16", "title": "Nutrition", "status": "In Progress", "term": "Fall 2025"},
34
- {"code": "METR 10", "title": "Weather and Climate", "status": "In Progress", "term": "Fall 2025"},
35
- ],
36
- units_per_semester= 15
37
- )
38
-
39
- print(plan)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes