Python API reference
Everything exported from the top-level csiapps Python package. For the R
package, see the R reference
(pkgdown); for how the two map onto each other, see the
parity checklist.
Configuration
set_institute
set_institute(institute: str = 'csipacific') -> None
Set the target institute for all subsequent API calls.
The institute determines the base host every request is sent to and which
logo the Shiny chrome renders. It is process-wide global state (a direct
mirror of the R package's package_state environment): there is only ever
one configured institute per process, so set it once at startup.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
institute
|
str
|
Which CSI institute to target. Must be one of
|
'csipacific'
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Example
import csiapps
csiapps.set_institute("csiontario")
Note
This only selects the target host; it does not authenticate. See
check_secrets for credential setup and
is_sandbox_mode for whether requests
actually reach the network.
Source code in csiapps/config.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | |
is_sandbox_mode
is_sandbox_mode() -> bool
Report whether sandbox mode is currently enabled.
Sandbox mode is the fail-safe default: when it is on, the fetch_* and
make_request helpers route to the local
in-memory emulator in the csiapps.sandbox module instead of the network, so no
request can reach production by accident. Every helper that hits the API
consults this function when its own sandbox argument is left as None.
Resolution order (matching the R package):
- An explicit override set via
set_sandbox_modealways wins. Only the literalTrueenables it; any other set value is treated asFalse(mirrors R'sisTRUE()). - Otherwise the
CSIAPPS_ENVenvironment variable: only the literal"production"disables sandbox; any other non-empty value keeps it on (fail-safe against typos such as"prod"). - Otherwise
True.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
|
bool
|
locally), |
Example
import os
import csiapps
csiapps.set_sandbox_mode(None) # use the environment
os.environ["CSIAPPS_ENV"] = "production"
csiapps.is_sandbox_mode() # -> False
Source code in csiapps/config.py
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | |
set_sandbox_mode
set_sandbox_mode(enabled: bool | None) -> None
Force sandbox mode on or off, or clear the override.
The Python analog of R's options(csiapps.sandbox = ...). An override set
here takes precedence over the CSIAPPS_ENV environment variable when
is_sandbox_mode resolves the effective
mode.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
enabled
|
bool | None
|
|
required |
Example
Pin sandbox mode on for a test, then restore environment-based resolution afterwards:
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.is_sandbox_mode() # -> True
csiapps.set_sandbox_mode(None) # back to CSIAPPS_ENV
Note
Only the literal True enables sandbox mode; any other truthy value is
treated as False (mirrors R's isTRUE()). See
is_sandbox_mode for the full
resolution order.
Source code in csiapps/config.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
Authentication
check_secrets
check_secrets(verbose: bool = False, sandbox: bool | None = None) -> bool
Validate that the environment is configured for authentication.
Call this once at app startup to fail fast on a misconfigured deployment. Behaviour depends on the mode:
- Sandbox mode: OAuth secret checks are skipped entirely (the sandbox
simulates login and needs no client credentials). Instead the presence or
absence of
CSIAPPS_ACCESS_TOKENis reported to stderr, and the function never raises. - Production mode: the OAuth URLs derived from the configured institute
plus
CSIAPPS_REDIRECT_URIare checked for a well-formedhttp(s)scheme, and a :class:ValueErroris raised listing any that are missing or malformed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
verbose
|
bool
|
If |
False
|
sandbox
|
bool | None
|
Force the mode for this check. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
Always |
bool
|
function raises rather than returning |
|
bool
|
a positive assurance the required URLs are present. |
Raises:
| Type | Description |
|---|---|
ValueError
|
In production mode only, if any of |
Example
import csiapps
# In sandbox mode: prints token status and returns True.
csiapps.check_secrets(verbose=True)
Note
The auth and token URLs are derived from the institute set via
set_institute, not read directly from
the environment, so set the institute before calling this.
Source code in csiapps/auth.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | |
Client
make_request
make_request(endpoint: str, method: str = 'GET', body: dict | None = None, query: dict | None = None, headers: dict | None = None, token: str | None = None, timeout: float = 20, verbose: bool = False, paginate: bool = False, max_pages: int = 50, sandbox: bool | None = None) -> dict | list
Make an authenticated request to a CSIAPPS warehouse endpoint.
This is the low-level primitive the fetch_* helpers build on; reach for
it directly when you need an endpoint those helpers do not cover. In sandbox
mode the request is served by the local emulator with no network or auth; in
production it is sent over HTTPS with a bearer token and a bounded retry on
transient failures.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
endpoint
|
str
|
Warehouse endpoint path, with or without leading/trailing
slashes (e.g. |
required |
method
|
str
|
HTTP method, e.g. |
'GET'
|
body
|
dict | None
|
JSON-serialisable request body for write methods. |
None
|
query
|
dict | None
|
Query-string parameters as a dict. |
None
|
headers
|
dict | None
|
Extra request headers merged over the |
None
|
token
|
str | None
|
Bearer token to authenticate with. When omitted it is resolved
per-session and then from the |
None
|
timeout
|
float
|
Per-request timeout in seconds. Defaults to |
20
|
verbose
|
bool
|
If |
False
|
paginate
|
bool
|
If |
False
|
max_pages
|
int
|
Upper bound on pages fetched when |
50
|
sandbox
|
bool | None
|
Force sandbox ( |
None
|
Returns:
| Type | Description |
|---|---|
dict | list
|
dict | list: The parsed JSON response. A single request returns the |
dict | list
|
decoded body (typically a |
dict | list
|
|
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If no token is available in production mode, or if the API responds with a status of 400 or higher. |
Example
Read ingested records back from the sandbox warehouse:
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.make_request(
"api/warehouse/data-records",
query={"source_uuid": "my-source"},
)
# -> {'count': 0, 'next': None, 'previous': None, 'results': []}
Note
In sandbox mode only warehouse endpoints are emulated (see the
csiapps.sandbox module); an unrecognised endpoint raises a
RuntimeError with a 501-style message. Transient production failures
(429/500/502/503/504) are retried up to three times with exponential
backoff.
Source code in csiapps/client.py
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | |
fetch_org_options
fetch_org_options(token: str | None = None, sandbox: bool | None = None) -> dict
Fetch sport-organisation options as a {value: label} dict.
The returned mapping plugs directly into a Shiny select input's choices=
argument, which maps each value to its displayed label.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
token
|
str | None
|
Bearer token to authenticate with. When omitted it is resolved
per-session and then from |
None
|
sandbox
|
bool | None
|
Force sandbox ( |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
A mapping of organisation id to organisation name, ready to pass as |
dict
|
|
|
dict
|
available. |
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If no token is available in production mode, or the API responds with a status of 400 or higher. |
Example
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.create_sport_org("Rowing", id=7)
csiapps.fetch_org_options() # -> {7: 'Rowing'}
Note
The {value: label} shape differs from the R package, which returned
label/value pairs for R's selectInput — that shape raises
TypeError: unhashable type: 'dict' in Shiny for Python. In sandbox
mode the options come from the local registry populated by
create_sport_org.
Source code in csiapps/client.py
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | |
fetch_profiles
fetch_profiles(token: str | None = None, filters: dict | None = None, sandbox: bool | None = None, max_pages: int = 50) -> list
Fetch all registration profiles accessible to the token, auto-paginating.
Follows the API's pagination automatically and returns every profile as a
flat list. Pass the result through
flatten_profile before rendering it in a
table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
token
|
str | None
|
Bearer token to authenticate with. When omitted it is resolved
per-session and then from |
None
|
filters
|
dict | None
|
Query parameters narrowing the result, e.g.
|
None
|
sandbox
|
bool | None
|
Force sandbox ( |
None
|
max_pages
|
int
|
Upper bound on pages fetched, matching
|
50
|
Returns:
| Name | Type | Description |
|---|---|---|
list |
list
|
A list of profile dicts (nested, production-shaped). Empty if no |
list
|
profiles match. |
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If no token is available in production mode, or the API responds with a status of 400 or higher. |
Warns:
| Type | Description |
|---|---|
UserWarning
|
If |
Example
import csiapps
csiapps.set_sandbox_mode(True)
profiles = csiapps.fetch_profiles(filters={"sport_org_id": 7})
rows = [csiapps.flatten_profile(p) for p in profiles]
Note
Pagination terminates if the server ever repeats a next URL, so a
misbehaving or hostile server cannot hang the app in an unbounded loop
with unbounded memory growth.
Source code in csiapps/client.py
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | |
fetch_profile
fetch_profile(profile_id: int | str, token: str | None = None, sandbox: bool | None = None) -> dict | None
Fetch a single registration profile by id.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
profile_id
|
int | str
|
The profile's id. Coerced to a string and URL-encoded before being placed in the request path, so an unusual value cannot alter the URL. |
required |
token
|
str | None
|
Bearer token to authenticate with. When omitted it is resolved
per-session and then from |
None
|
sandbox
|
bool | None
|
Force sandbox ( |
None
|
Returns:
| Type | Description |
|---|---|
dict | None
|
dict | None: The profile dict. In sandbox mode returns |
dict | None
|
profile with that id exists. |
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If no token is available in production mode, or the API responds with a status of 400 or higher. |
Example
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.fetch_profile(1)
# -> {'id': 1, 'person': {...}, 'sport': {...}, 'status': 'ACTIVE', ...}
Note
A production GET for a missing id raises RuntimeError (from the
4xx status) rather than returning None; only the sandbox reader
distinguishes "not found" as None.
Source code in csiapps/client.py
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 | |
flatten_profile
flatten_profile(p: dict) -> dict
Flatten a nested registration profile into a scalar row.
fetch_profiles returns deeply nested
dicts; passing them straight to a Shiny data frame fails with "Unsupported
dataframe type". This picks out the commonly displayed fields into a flat,
one-level dict so a list of them builds a table (wrap in pandas/polars for
render.data_frame).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
p
|
dict
|
A single profile dict as returned by
|
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
A flat row with keys |
dict
|
|
|
dict
|
source field is |
Example
import csiapps
import pandas as pd
profiles = csiapps.fetch_profiles()
df = pd.DataFrame(csiapps.flatten_profile(p) for p in profiles)
Source code in csiapps/client.py
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 | |
token_ready
token_ready() -> bool
Whether a CSIAPPS access token is available for the current context.
Returns True once a token is available: inside a Shiny app wrapped by
:func:csiapps.server_wrapper, the per-session token stored at login;
outside Shiny, the CSIAPPS_ACCESS_TOKEN environment variable.
The check is reactive-friendly: called from a reactive context it takes a
dependency on the session's token, so a guard like req(token_ready())
re-fires automatically when login completes instead of sticking in the
cancelled state. :func:make_request and the fetch_* helpers already
gate themselves this way, so an explicit guard is only needed for work that
should wait for login without making an API call (e.g. processing an
uploaded file).
Source code in csiapps/client.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
Sandbox
register_sandbox_schema
register_sandbox_schema(source_uuid: str, schema: dict | str) -> dict
Register a JSON schema for a data source in the sandbox.
The schema is what the sandbox validates ingested records against, so
register one before calling ingestion for that source. Registering again for
the same source_uuid replaces the previous schema.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source_uuid
|
str
|
The data-source identifier to register the schema under. Must be a non-empty string. |
required |
schema
|
dict | str
|
The JSON Schema (Draft 7) to validate records against. May be a
dict, a JSON string, or a path to a |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
The parsed schema that was stored (useful when a path or JSON |
dict
|
string was passed in). |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Example
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.register_sandbox_schema(
"hr-source",
{"type": "object", "required": ["athlete_id", "hr"]},
)
Note
Validation uses jsonschema (Draft 7) where the R package used Ajv via
jsonvalidate; validator wording can differ on edge cases. Registered
schemas live for the process — see
clear_sandbox to reset.
Source code in csiapps/sandbox.py
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
create_sport_org
create_sport_org(name: str, id: int | None = None) -> dict
Create a dummy sport organisation in the sandbox registry.
Populates the local registry that the sandbox branches of
fetch_org_options and
fetch_profiles read from, so those
helpers behave like production without a network call. Create an org before
adding athletes to it with
create_profile.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Display name for the organisation. Must be a non-empty string. |
required |
id
|
int | None
|
Organisation id, a positive integer in |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
dict |
dict
|
The created org with keys |
dict
|
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
RuntimeError
|
If all 999 ids are already in use. |
Warns:
| Type | Description |
|---|---|
UserWarning
|
If called while not in sandbox mode — dummy orgs are only read by sandbox helpers and have no effect in production. |
Example
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.create_sport_org("Rowing", id=7)
# -> {'id': 7, 'name': 'Rowing', 'annual_cycle_start': '2026-07-16'}
Source code in csiapps/sandbox.py
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 | |
create_profile
create_profile(n: int, sport_org_id: int, first_names: list[str] | None = None, last_names: list[str] | None = None) -> list
Create n dummy athlete profiles under an existing sandbox sport org.
The generated profiles are production-shaped and become readable through the
sandbox branches of fetch_profiles and
fetch_profile. Their ids also let ingested
records resolve a subject when read back.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
n
|
int
|
Number of profiles to create. Must be a non-negative integer. |
required |
sport_org_id
|
int
|
Id of an existing sandbox sport org (create one first with
|
required |
first_names
|
list[str] | None
|
Optional explicit first names, length |
None
|
last_names
|
list[str] | None
|
Optional explicit last names, length |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
list |
list
|
The newly created profile dicts (production-shaped). |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Warns:
| Type | Description |
|---|---|
UserWarning
|
If called while not in sandbox mode — dummy profiles are only read by sandbox helpers and have no effect in production. |
Example
import csiapps
csiapps.set_sandbox_mode(True)
csiapps.create_sport_org("Rowing", id=7)
athletes = csiapps.create_profile(3, sport_org_id=7)
len(athletes) # -> 3
Note
Random names use faker where the R package used the babynames
dataset; generated full names are guaranteed distinct within a call.
Source code in csiapps/sandbox.py
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | |
clear_sandbox
clear_sandbox(source_uuid: str | None = None) -> None
Reset sandbox state, entirely or for a single data source.
Useful in test teardown so registered schemas, ingested records, and on-disk payloads do not leak between runs.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source_uuid
|
str | None
|
If given, clear only that source's schema, records, and
payload directory. If |
None
|
Returns:
| Type | Description |
|---|---|
None
|
None |
Example
import csiapps
csiapps.clear_sandbox("hr-source") # one source
csiapps.clear_sandbox() # everything
Source code in csiapps/sandbox.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | |
browse_sandbox
browse_sandbox(source_uuid: str | None = None) -> str
Open the sandbox payload directory in the system file explorer.
Each successful ingestion writes the submitted records to disk for inspection; this opens that directory so you can see the raw payloads.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source_uuid
|
str | None
|
If given, open that source's subdirectory. If |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The filesystem path that was opened. |
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If the target directory does not exist yet — typically because nothing has been ingested for that source. |
Example
import csiapps
csiapps.browse_sandbox("hr-source")
# -> '/tmp/csiapps_sandbox_ab12cd/hr-source'
Source code in csiapps/sandbox.py
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | |
App wrappers
ui_wrapper
ui_wrapper(*args: TagChild, sandbox: bool | None = None) -> Tag
Wrap an app's UI in the standard CSI chrome.
Adds the CSI navbar, footer, an auth-status line, the favicon and
redirect/reset message handlers, and — in sandbox mode — a banner making it
obvious the app is not connected to the live warehouse. Use it in place of
ui.page_fluid at the top of an app's UI definition; pair it with
server_wrapper on the server side.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
*args
|
TagChild
|
The app's own UI elements (Shiny tags / components), rendered below the auth-status line inside the chrome. |
()
|
sandbox
|
bool | None
|
Force the sandbox banner on ( |
None
|
Returns:
| Type | Description |
|---|---|
Tag
|
A |
Example
from shiny import ui
import csiapps
app_ui = csiapps.ui_wrapper(
ui.h2("My app"),
ui.input_action_button("logout", "Log out"),
)
Note
The chrome styles are scoped by id and marked !important so a wrapped
app's own theme cannot override the navbar and footer. Include an
input_action_button("logout", ...) for the logout effect wired up by
server_wrapper.
Source code in csiapps/app.py
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | |
server_wrapper
server_wrapper(app_specific_logic: Callable, sandbox: bool | None = None) -> Callable
Wrap an app's server function with CSIAPPS authentication.
Returns a Shiny server function that handles login before delegating to your
own server logic. In production it runs the OAuth2 PKCE flow (redirect to
CSIAPPS, exchange the returned code for a token, load /me for the header).
In sandbox mode it simulates that login using CSIAPPS_ACCESS_TOKEN if
set, or marks the session unauthenticated otherwise. Either way the
per-session token is stored so make_request
and the fetch_* helpers pick it up automatically.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
app_specific_logic
|
Callable
|
Your app's server function with the usual Shiny
|
required |
sandbox
|
bool | None
|
Force sandbox ( |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
Callable |
Callable
|
A server function to hand to Shiny's |
Example
from shiny import App
import csiapps
def my_server(input, output, session):
...
app = App(app_ui, csiapps.server_wrapper(my_server))
Note
The wrapper registers a logout effect bound to an input.logout
action button — include one in the UI (see
ui_wrapper). Blocking token and /me calls
run off the event loop so a slow endpoint cannot stall other sessions.
Source code in csiapps/app.py
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | |