timecampus-sdk 2026.1124.1__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.
@@ -0,0 +1,176 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be added to the global gitignore or merged into this project gitignore. For a PyCharm
158
+ # project, it is recommended to include the following directory since it contains user-specific
159
+ # configurations:
160
+ .idea/
161
+
162
+ # VSCode
163
+ .vscode/
164
+
165
+ # Bun / Node (wrapper scripts only)
166
+ node_modules/
167
+ bun.lockb
168
+
169
+ # OS generated files
170
+ .DS_Store
171
+ .DS_Store?
172
+ ._*
173
+ .Spotlight-V100
174
+ .Trashes
175
+ ehthumbs.db
176
+ Thumbs.db
@@ -0,0 +1,45 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [CalVer](https://calver.org/) (`YYYY.MDD.PATCH`).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Changed
11
+ - Rewrote the SDK as a thin shell over `burdenoff-sdk-libs`. The hand-vendored
12
+ per-feature module tree (client, types, auth, user, workspace, rbac, team,
13
+ project, resources, billing, organization, payment, quota, store, support,
14
+ usage, utils, addon, plan, product) and its mock-based tests were removed.
15
+ - All module surfaces are now nested under their owning module. The Timecampus
16
+ domain bundle is reached via `sdk.timecampus.<entity>` (time_entries, projects,
17
+ tasks, approvals, expenses, meetings, pomodoro, app_usage, focus_scores,
18
+ work_patterns, geofences, locations, channels, client_portals, resource_plans,
19
+ configurations, ui_sessions).
20
+
21
+ ### Added
22
+ - `TimecampusSDK` facade mounting 23 modules from `burdenoff-sdk-libs`: the
23
+ shared generic set plus the `timecampus` domain module and the standalone
24
+ `sandbox` module.
25
+ - Shared-gateway defaults and the `burdenoff_cli_timecampus` OIDC client id.
26
+ - `py.typed` marker shipped in the wheel; strict mypy in CI.
27
+ - Real-construction smoke tests (no mocks).
28
+
29
+ ### Changed
30
+ - Endpoint resolution now delegates fully to `burdenoff-sdk-libs`: constructor
31
+ args default to `None` and production gateways are selected automatically.
32
+ Local/alpha endpoints are selected only via
33
+ `TIMECAMPUS_WORKSPACE_ENDPOINT` / `TIMECAMPUS_GLOBAL_ENDPOINT` or generic
34
+ `BURDENOFF_*` fallbacks.
35
+ - Comprehensive mock-based unit tests now cover every mounted module,
36
+ Timecampus-domain submodule, endpoint-resolution path, and the lazy
37
+ `__getattr__` error branch.
38
+
39
+ ### Removed
40
+ - Hardcoded production endpoint constants from the SDK shell.
41
+ - Deprecated `setup.py` shim.
42
+
43
+ ### Removed
44
+ - Vendored module directories under `src/timecampus_sdk/` and the mock-based
45
+ unit tests.
@@ -0,0 +1,9 @@
1
+ Copyright (c) 2025 Burdenoff Consultancy Services Pvt. Ltd., Timecampus Technologies Pvt. Ltd. and all sister companies.
2
+
3
+ All rights reserved.
4
+
5
+ This software is proprietary and confidential. Unauthorized copying, modification, distribution, or use of this software, via any medium, is strictly prohibited without the express written permission of the copyright holders.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
+
9
+ For licensing inquiries, please contact: legal@algoshred.com
@@ -0,0 +1,206 @@
1
+ Metadata-Version: 2.5
2
+ Name: timecampus-sdk
3
+ Version: 2026.1124.1
4
+ Summary: Official Python SDK for Timecampus — thin shell over burdenoff-sdk-libs
5
+ Project-URL: Homepage, https://github.com/algoshred/timecampus-sdk-python
6
+ Project-URL: Documentation, https://docs.timecampus.com/developers/python-sdk
7
+ Project-URL: Repository, https://github.com/algoshred/timecampus-sdk-python
8
+ Project-URL: Issues, https://github.com/algoshred/timecampus-sdk-python/issues
9
+ Project-URL: Changelog, https://github.com/algoshred/timecampus-sdk-python/blob/main/CHANGELOG.md
10
+ Author-email: "Vignesh T.V" <vignesh@algoshred.com>
11
+ Maintainer-email: "Vignesh T.V" <vignesh@algoshred.com>
12
+ License: Copyright (c) 2025 Burdenoff Consultancy Services Pvt. Ltd., Timecampus Technologies Pvt. Ltd. and all sister companies.
13
+
14
+ All rights reserved.
15
+
16
+ This software is proprietary and confidential. Unauthorized copying, modification, distribution, or use of this software, via any medium, is strictly prohibited without the express written permission of the copyright holders.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
+
20
+ For licensing inquiries, please contact: legal@algoshred.com
21
+ License-File: LICENSE
22
+ Keywords: api-client,burdenoff,graphql,python,sdk,time-tracking,timecampus
23
+ Classifier: Development Status :: 3 - Alpha
24
+ Classifier: Intended Audience :: Developers
25
+ Classifier: License :: Other/Proprietary License
26
+ Classifier: Operating System :: OS Independent
27
+ Classifier: Programming Language :: Python :: 3
28
+ Classifier: Programming Language :: Python :: 3.10
29
+ Classifier: Programming Language :: Python :: 3.11
30
+ Classifier: Programming Language :: Python :: 3.12
31
+ Classifier: Programming Language :: Python :: 3.13
32
+ Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
33
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
34
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
35
+ Requires-Python: >=3.10
36
+ Requires-Dist: burdenoff-sdk-libs>=2026.1107.1
37
+ Requires-Dist: httpx>=0.24.0
38
+ Requires-Dist: typing-extensions>=4.0.0; python_version < '3.11'
39
+ Provides-Extra: dev
40
+ Requires-Dist: black>=23.0.0; extra == 'dev'
41
+ Requires-Dist: flake8>=6.0.0; extra == 'dev'
42
+ Requires-Dist: isort>=5.12.0; extra == 'dev'
43
+ Requires-Dist: mypy>=1.0.0; extra == 'dev'
44
+ Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
45
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
46
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
47
+ Requires-Dist: pytest>=7.0.0; extra == 'dev'
48
+ Provides-Extra: docs
49
+ Requires-Dist: sphinx-autodoc-typehints>=1.19.0; extra == 'docs'
50
+ Requires-Dist: sphinx-rtd-theme>=1.2.0; extra == 'docs'
51
+ Requires-Dist: sphinx>=6.0.0; extra == 'docs'
52
+ Provides-Extra: test
53
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'test'
54
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
55
+ Requires-Dist: pytest>=7.0.0; extra == 'test'
56
+ Requires-Dist: respx>=0.21.0; extra == 'test'
57
+ Description-Content-Type: text/markdown
58
+
59
+ # timecampus-sdk
60
+
61
+ Official Python SDK for **Timecampus** — a privacy-first AI time-intelligence platform on the Burdenoff platform.
62
+
63
+ > **Pre-launch notice:** Timecampus is launching in 2026. This package is published ahead of general availability so integrators can build early. There is no live production service yet — [join the waitlist at timecampus.com](https://timecampus.com) to get early access.
64
+
65
+ This SDK is a **thin shell** over [`burdenoff-sdk-libs`](https://github.com/algoshred/sdk-libs-python). It mounts the shared platform modules plus the Timecampus domain module and a standalone sandbox module, and exposes them as one ergonomic, fully typed client.
66
+
67
+ ## Features
68
+
69
+ - Async/await throughout, built on `httpx`
70
+ - Dual-endpoint GraphQL client (workspace + global gateways)
71
+ - 23 mounted modules: the shared generic set + `timecampus` + `sandbox`
72
+ - Multiple auth flows: email/password, device code, PKCE, client credentials
73
+ - Automatic token refresh
74
+ - Typed error hierarchy
75
+ - Full type hints with `py.typed` marker
76
+
77
+ ## Installation
78
+
79
+ ```bash
80
+ pip install timecampus-sdk
81
+
82
+ # Development install
83
+ pip install -e ".[dev]"
84
+ ```
85
+
86
+ ## Quick Start
87
+
88
+ ```python
89
+ import asyncio
90
+ from timecampus_sdk import TimecampusSDK
91
+
92
+
93
+ async def main():
94
+ # Defaults to the shared Burdenoff production gateways. Override the
95
+ # endpoints via environment variables or constructor args for local dev.
96
+ sdk = TimecampusSDK()
97
+
98
+ # Sign in with email/password
99
+ await sdk.auth.sign_in(email="user@example.com", password="secret")
100
+
101
+ # Timecampus-domain operations are nested under sdk.timecampus
102
+ entries = await sdk.timecampus.time_entries.list()
103
+ projects = await sdk.timecampus.projects.list()
104
+
105
+ # Shared cross-product modules are mounted at the top level
106
+ tags = await sdk.tags.list()
107
+
108
+ await sdk.close()
109
+
110
+
111
+ asyncio.run(main())
112
+ ```
113
+
114
+ ## Nested namespace
115
+
116
+ Per the platform mandate (no compatibility shim), every module surface is nested
117
+ under its owning module. The Timecampus domain bundle keeps its sub-entities
118
+ nested:
119
+
120
+ ```python
121
+ await sdk.timecampus.time_entries.list()
122
+ await sdk.timecampus.projects.list()
123
+ await sdk.timecampus.tasks.list()
124
+ await sdk.timecampus.approvals.list()
125
+ await sdk.timecampus.expenses.list()
126
+ await sdk.timecampus.meetings.list()
127
+ await sdk.timecampus.pomodoro.list()
128
+ await sdk.timecampus.focus_scores.list()
129
+ ```
130
+
131
+ ## Modules
132
+
133
+ All methods are async. The following modules are mounted on the `TimecampusSDK`
134
+ instance: `auth`, `billing`, `channels`, `conversations`, `devportal`,
135
+ `export`, `files`, `groups`, `health`, `integrations`, `notifications`,
136
+ `organizations`, `products`, `rbac`, `sandbox`, `scheduler`, `security`,
137
+ `store`, `support`, `tags`, `timecampus`, `tours`, `workspaces`.
138
+
139
+ ## Configuration
140
+
141
+ ```python
142
+ from timecampus_sdk import TimecampusSDK
143
+
144
+ sdk = TimecampusSDK(
145
+ workspace_endpoint="https://graphqlworkspaces.burdenoff.com/workspaces/graphql",
146
+ global_endpoint="https://graphql.burdenoff.com/global/graphql",
147
+ client_id="burdenoff_cli_timecampus", # required for device-code/PKCE flows
148
+ oidc_issuer=None, # derived from global_endpoint
149
+ api_key=None,
150
+ access_token=None,
151
+ refresh_token=None,
152
+ workspace_token=None,
153
+ timeout=30.0,
154
+ auto_refresh=True,
155
+ )
156
+ ```
157
+
158
+ Endpoints are resolved in this order: constructor argument, product-prefixed
159
+ environment variable (`TIMECAMPUS_WORKSPACE_ENDPOINT`, `TIMECAMPUS_GLOBAL_ENDPOINT`),
160
+ generic environment variable (`BURDENOFF_WORKSPACE_ENDPOINT`,
161
+ `BURDENOFF_GLOBAL_ENDPOINT`), and finally the production gateways.
162
+
163
+ ## Error Handling
164
+
165
+ ```python
166
+ from timecampus_sdk import (
167
+ TimecampusError,
168
+ AuthenticationError,
169
+ AuthorizationError,
170
+ NetworkError,
171
+ ValidationError,
172
+ RateLimitError,
173
+ DeviceCodeExpiredError,
174
+ DeviceCodeDeniedError,
175
+ )
176
+
177
+ try:
178
+ await sdk.auth.sign_in(email="user@example.com", password="wrong")
179
+ except AuthenticationError:
180
+ print("Invalid credentials")
181
+ except NetworkError:
182
+ print("Could not reach the API")
183
+ except TimecampusError as e:
184
+ print(f"SDK error: {e}")
185
+ ```
186
+
187
+ ## Development
188
+
189
+ ```bash
190
+ python -m venv .venv && source .venv/bin/activate
191
+ pip install -e ".[dev]"
192
+
193
+ make format # black + isort
194
+ make lint # flake8
195
+ make type-check # mypy (strict)
196
+ make test # pytest
197
+ make sanity # format-check + lint + type-check + test (cov>=80) + build
198
+ ```
199
+
200
+ ## License
201
+
202
+ Proprietary — Copyright Burdenoff Consultancy Services Pvt. Ltd.
203
+
204
+ ## Support
205
+
206
+ - Issues: [GitHub Issues](https://github.com/algoshred/timecampus-sdk-python/issues)
@@ -0,0 +1,148 @@
1
+ # timecampus-sdk
2
+
3
+ Official Python SDK for **Timecampus** — a privacy-first AI time-intelligence platform on the Burdenoff platform.
4
+
5
+ > **Pre-launch notice:** Timecampus is launching in 2026. This package is published ahead of general availability so integrators can build early. There is no live production service yet — [join the waitlist at timecampus.com](https://timecampus.com) to get early access.
6
+
7
+ This SDK is a **thin shell** over [`burdenoff-sdk-libs`](https://github.com/algoshred/sdk-libs-python). It mounts the shared platform modules plus the Timecampus domain module and a standalone sandbox module, and exposes them as one ergonomic, fully typed client.
8
+
9
+ ## Features
10
+
11
+ - Async/await throughout, built on `httpx`
12
+ - Dual-endpoint GraphQL client (workspace + global gateways)
13
+ - 23 mounted modules: the shared generic set + `timecampus` + `sandbox`
14
+ - Multiple auth flows: email/password, device code, PKCE, client credentials
15
+ - Automatic token refresh
16
+ - Typed error hierarchy
17
+ - Full type hints with `py.typed` marker
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ pip install timecampus-sdk
23
+
24
+ # Development install
25
+ pip install -e ".[dev]"
26
+ ```
27
+
28
+ ## Quick Start
29
+
30
+ ```python
31
+ import asyncio
32
+ from timecampus_sdk import TimecampusSDK
33
+
34
+
35
+ async def main():
36
+ # Defaults to the shared Burdenoff production gateways. Override the
37
+ # endpoints via environment variables or constructor args for local dev.
38
+ sdk = TimecampusSDK()
39
+
40
+ # Sign in with email/password
41
+ await sdk.auth.sign_in(email="user@example.com", password="secret")
42
+
43
+ # Timecampus-domain operations are nested under sdk.timecampus
44
+ entries = await sdk.timecampus.time_entries.list()
45
+ projects = await sdk.timecampus.projects.list()
46
+
47
+ # Shared cross-product modules are mounted at the top level
48
+ tags = await sdk.tags.list()
49
+
50
+ await sdk.close()
51
+
52
+
53
+ asyncio.run(main())
54
+ ```
55
+
56
+ ## Nested namespace
57
+
58
+ Per the platform mandate (no compatibility shim), every module surface is nested
59
+ under its owning module. The Timecampus domain bundle keeps its sub-entities
60
+ nested:
61
+
62
+ ```python
63
+ await sdk.timecampus.time_entries.list()
64
+ await sdk.timecampus.projects.list()
65
+ await sdk.timecampus.tasks.list()
66
+ await sdk.timecampus.approvals.list()
67
+ await sdk.timecampus.expenses.list()
68
+ await sdk.timecampus.meetings.list()
69
+ await sdk.timecampus.pomodoro.list()
70
+ await sdk.timecampus.focus_scores.list()
71
+ ```
72
+
73
+ ## Modules
74
+
75
+ All methods are async. The following modules are mounted on the `TimecampusSDK`
76
+ instance: `auth`, `billing`, `channels`, `conversations`, `devportal`,
77
+ `export`, `files`, `groups`, `health`, `integrations`, `notifications`,
78
+ `organizations`, `products`, `rbac`, `sandbox`, `scheduler`, `security`,
79
+ `store`, `support`, `tags`, `timecampus`, `tours`, `workspaces`.
80
+
81
+ ## Configuration
82
+
83
+ ```python
84
+ from timecampus_sdk import TimecampusSDK
85
+
86
+ sdk = TimecampusSDK(
87
+ workspace_endpoint="https://graphqlworkspaces.burdenoff.com/workspaces/graphql",
88
+ global_endpoint="https://graphql.burdenoff.com/global/graphql",
89
+ client_id="burdenoff_cli_timecampus", # required for device-code/PKCE flows
90
+ oidc_issuer=None, # derived from global_endpoint
91
+ api_key=None,
92
+ access_token=None,
93
+ refresh_token=None,
94
+ workspace_token=None,
95
+ timeout=30.0,
96
+ auto_refresh=True,
97
+ )
98
+ ```
99
+
100
+ Endpoints are resolved in this order: constructor argument, product-prefixed
101
+ environment variable (`TIMECAMPUS_WORKSPACE_ENDPOINT`, `TIMECAMPUS_GLOBAL_ENDPOINT`),
102
+ generic environment variable (`BURDENOFF_WORKSPACE_ENDPOINT`,
103
+ `BURDENOFF_GLOBAL_ENDPOINT`), and finally the production gateways.
104
+
105
+ ## Error Handling
106
+
107
+ ```python
108
+ from timecampus_sdk import (
109
+ TimecampusError,
110
+ AuthenticationError,
111
+ AuthorizationError,
112
+ NetworkError,
113
+ ValidationError,
114
+ RateLimitError,
115
+ DeviceCodeExpiredError,
116
+ DeviceCodeDeniedError,
117
+ )
118
+
119
+ try:
120
+ await sdk.auth.sign_in(email="user@example.com", password="wrong")
121
+ except AuthenticationError:
122
+ print("Invalid credentials")
123
+ except NetworkError:
124
+ print("Could not reach the API")
125
+ except TimecampusError as e:
126
+ print(f"SDK error: {e}")
127
+ ```
128
+
129
+ ## Development
130
+
131
+ ```bash
132
+ python -m venv .venv && source .venv/bin/activate
133
+ pip install -e ".[dev]"
134
+
135
+ make format # black + isort
136
+ make lint # flake8
137
+ make type-check # mypy (strict)
138
+ make test # pytest
139
+ make sanity # format-check + lint + type-check + test (cov>=80) + build
140
+ ```
141
+
142
+ ## License
143
+
144
+ Proprietary — Copyright Burdenoff Consultancy Services Pvt. Ltd.
145
+
146
+ ## Support
147
+
148
+ - Issues: [GitHub Issues](https://github.com/algoshred/timecampus-sdk-python/issues)
@@ -0,0 +1,20 @@
1
+ # Minimal makefile for Sphinx documentation
2
+ #
3
+
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
8
+ SOURCEDIR = .
9
+ BUILDDIR = _build
10
+
11
+ # Put it first so that "make" without argument is like "make help".
12
+ help:
13
+ @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14
+
15
+ .PHONY: help Makefile
16
+
17
+ # Catch-all target: route all unknown targets to Sphinx using the new
18
+ # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19
+ %: Makefile
20
+ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@@ -0,0 +1,57 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ # -- Project information -----------------------------------------------------
7
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8
+
9
+ project = 'Timecampus SDK Python'
10
+ copyright = '2026, Vignesh T.V'
11
+ author = 'Vignesh T.V'
12
+ release = '2026.627.1'
13
+
14
+ # -- General configuration ---------------------------------------------------
15
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
16
+
17
+ extensions = [
18
+ 'sphinx.ext.autodoc',
19
+ 'sphinx.ext.automodule',
20
+ 'sphinx.ext.viewcode',
21
+ 'sphinx.ext.napoleon',
22
+ 'sphinx_autodoc_typehints',
23
+ ]
24
+
25
+ templates_path = ['_templates']
26
+ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
27
+
28
+ # -- Options for HTML output -------------------------------------------------
29
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
30
+
31
+ html_theme = 'sphinx_rtd_theme'
32
+ html_static_path = ['_static']
33
+
34
+ # -- Options for autodoc ----------------------------------------------------
35
+ autodoc_default_options = {
36
+ 'members': True,
37
+ 'member-order': 'bysource',
38
+ 'special-members': '__init__',
39
+ 'undoc-members': True,
40
+ 'exclude-members': '__weakref__'
41
+ }
42
+
43
+ # -- Options for napoleon ---------------------------------------------------
44
+ napoleon_google_docstring = True
45
+ napoleon_numpy_docstring = True
46
+ napoleon_include_init_with_doc = False
47
+ napoleon_include_private_with_doc = False
48
+ napoleon_include_special_with_doc = True
49
+ napoleon_use_admonition_for_examples = False
50
+ napoleon_use_admonition_for_notes = False
51
+ napoleon_use_admonition_for_references = False
52
+ napoleon_use_ivar = False
53
+ napoleon_use_param = True
54
+ napoleon_use_rtype = True
55
+ napoleon_preprocess_types = False
56
+ napoleon_type_aliases = None
57
+ napoleon_attr_annotations = True
@@ -0,0 +1,18 @@
1
+ Welcome to Timecampus SDK Python's documentation!
2
+ =============================================
3
+
4
+ .. toctree::
5
+ :maxdepth: 2
6
+ :caption: Contents:
7
+
8
+ quickstart
9
+ api
10
+ examples
11
+ contributing
12
+
13
+ Indices and tables
14
+ ==================
15
+
16
+ * :ref:`genindex`
17
+ * :ref:`modindex`
18
+ * :ref:`search`