Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jupyterhub/jupyterhub
/ types & classes
Types & classes
217 in github.com/jupyterhub/jupyterhub
⨍
Functions
2,069
◇
Types & classes
217
↳
Endpoints
33
↓ 40 callers
Class
MockHub
Hub with various mock bits
jupyterhub/tests/mocking.py:226
↓ 17 callers
Class
MockPAMAuthenticator
jupyterhub/tests/mocking.py:196
↓ 16 callers
Class
AsyncSession
requests.Session object that runs in the background thread
jupyterhub/tests/utils.py:42
↓ 14 callers
Class
MockRolesAuthenticator
jupyterhub/tests/test_auth.py:626
↓ 12 callers
Class
Callable
A trait which is callable. Classes are callable, as are instances with a __call__() method.
jupyterhub/traitlets.py:96
↓ 9 callers
Class
Command
Traitlet for a command that should be a list of strings, but allows it to be specified as a single string.
jupyterhub/traitlets.py:28
↓ 9 callers
Class
JupyterHub
An Application for starting a Multi-User Jupyter Notebook server.
jupyterhub/app.py:244
↓ 8 callers
Class
Spawner
"State about a Spawner
jupyterhub/orm.py:388
↓ 6 callers
Class
Server
The basic state of a server connection and cookie info
jupyterhub/orm.py:141
↓ 6 callers
Class
SharedPasswordAuthenticator
Authenticator with static shared passwords. For use in short-term deployments with negligible security concerns. Enable with::
jupyterhub/authenticators/shared.py:8
↓ 5 callers
Class
DoNotCache
Wrapper to return a result without caching it. In a function decorated with `@lru_cache_key`: return DoNotCache(result) is equivale
jupyterhub/_memoize.py:11
↓ 5 callers
Class
FrozenDict
A frozen dictionary subclass Immutable and hashable, so it can be used as a cache key Values will be frozen with `.freeze(value)` and mu
jupyterhub/_memoize.py:110
↓ 5 callers
Class
MockStructPasswd
Mock pwd.struct_passwd
jupyterhub/tests/mocking.py:188
↓ 5 callers
Class
User
The User table Each user can have one or more single user notebook servers. Each single user notebook server will have a unique token for au
jupyterhub/orm.py:264
↓ 4 callers
Class
HubOAuth
HubAuth using OAuth for login instead of cookies set by the Hub. Use this class if you want users to be able to visit your service with a browser
jupyterhub/services/auth.py:874
↓ 4 callers
Class
JSONDict
Represents an immutable structure as a json-encoded string. Usage:: JSONDict(255)
jupyterhub/orm.py:55
↓ 4 callers
Class
MockStructGroup
Mock grp.struct_group
jupyterhub/tests/mocking.py:179
↓ 4 callers
Class
URLPrefix
jupyterhub/traitlets.py:18
↓ 3 callers
Class
ByteSpecification
Allow easily specifying bytes in units of 1024 with suffixes Suffixes allowed are: - K -> Kilobyte - M -> Megabyte - G ->
jupyterhub/traitlets.py:49
↓ 3 callers
Class
C
jupyterhub/tests/test_traitlets.py:8
↓ 3 callers
Class
DummyAuthenticator
Dummy Authenticator for testing By default, any username + password is allowed If a non-empty password is set, any username will be allowed
jupyterhub/auth.py:1505
↓ 3 callers
Class
EntryPointType
Entry point-extended Type classes can be registered via entry points in addition to standard 'mypackage.MyClass' strings
jupyterhub/traitlets.py:113
↓ 3 callers
Class
ScopeNotFound
jupyterhub/scopes.py:813
↓ 3 callers
Class
UserNotAllowed
Exception raised when a user is identified and not allowed
jupyterhub/services/auth.py:1284
↓ 3 callers
Class
_ExpiringDict
Dict-like cache for Hub API requests Values will expire after max_age seconds. A monotonic timer is used (time.monotonic). A max_age of
jupyterhub/services/auth.py:108
↓ 2 callers
Class
Authenticator
Base class for implementing an authentication provider for JupyterHub
jupyterhub/auth.py:31
↓ 2 callers
Class
EmptyClass
jupyterhub/emptyclass.py:10
↓ 2 callers
Class
Hub
Bring it all together at the hub. The Hub is a server, plus its API path suffix the api_url is the full URL plus the api_path suffix on the
jupyterhub/objects.py:191
↓ 2 callers
Class
LRUCache
A simple Least-Recently-Used (LRU) cache with a max size
jupyterhub/_memoize.py:27
↓ 2 callers
Class
MyAuthenticator
jupyterhub/tests/test_auth.py:497
↓ 2 callers
Class
Server
An object representing an HTTP endpoint. *Some* of these reside in the database (user servers), but others (Hub, proxy) are in-memory only.
jupyterhub/objects.py:24
↓ 2 callers
Class
Service
A service run with JupyterHub A service is similar to a User without a Spawner. A service can have API tokens for accessing the Hub's API
jupyterhub/orm.py:447
↓ 2 callers
Class
User
High-level wrapper around an orm.User object
jupyterhub/user.py:216
↓ 2 callers
Class
UserDict
Like defaultdict, but for users Users can be retrieved by: - integer database id - orm.User object - username str A User wrappe
jupyterhub/user.py:60
↓ 1 callers
Class
AllowAllIgnoringAuthenticator
Test authenticator with custom check_allowed not updated for allow_all, allow_existing_users Make sure new config doesn't break backward-com
jupyterhub/tests/test_auth.py:1152
↓ 1 callers
Class
CryptographyUnavailable
jupyterhub/crypto.py:29
↓ 1 callers
Class
DatabaseSchemaMismatch
Exception raised when the database schema version does not match the current version of JupyterHub.
jupyterhub/orm.py:1336
↓ 1 callers
Class
DummyFile
jupyterhub/tests/test_auth.py:308
↓ 1 callers
Class
Generator
docs/generate-metrics.py:10
↓ 1 callers
Class
InvalidNameError
jupyterhub/roles.py:124
↓ 1 callers
Class
JSONList
Represents an immutable structure as a json-encoded string (to be used for list type columns). Accepts list, tuple, sets for assignment Alwa
jupyterhub/orm.py:97
↓ 1 callers
Class
JupyterHubOAuthServer
jupyterhub/oauth/provider.py:631
↓ 1 callers
Class
JupyterHubRequestValidator
jupyterhub/oauth/provider.py:36
↓ 1 callers
Class
JupyterHubUser
Subclass jupyter_server User to store JupyterHub user info
jupyterhub/singleuser/extension.py:80
↓ 1 callers
Class
MockAPIHandler
jupyterhub/tests/test_scopes.py:86
↓ 1 callers
Class
MockGroupsAuthenticator
jupyterhub/tests/test_auth.py:558
↓ 1 callers
Class
NewToken
Generate and print a new API token
jupyterhub/app.py:169
↓ 1 callers
Class
NoEncryptionKeys
jupyterhub/crypto.py:34
↓ 1 callers
Class
PeriodicMetricsCollector
Collect metrics to be calculated periodically
jupyterhub/metrics.py:342
↓ 1 callers
Class
RoleValueError
jupyterhub/roles.py:120
↓ 1 callers
Class
ScopeTableGenerator
docs/source/rbac/generate-scope-table.py:60
↓ 1 callers
Class
ShareCodeGrantRequest
Validator for requests to create sharing codes
jupyterhub/apihandlers/shares.py:72
↓ 1 callers
Class
ShareGrantRequest
Validator for requests to grant sharing permission
jupyterhub/apihandlers/shares.py:45
↓ 1 callers
Class
ShareRevokeRequest
Validator for requests to revoke sharing permission
jupyterhub/apihandlers/shares.py:66
↓ 1 callers
Class
TeapotError
jupyterhub/tests/test_pages.py:1390
↓ 1 callers
Class
TestAuthenticator
jupyterhub/tests/test_auth.py:168
↓ 1 callers
Class
TornadoCompat
jupyterhub/tests/test_utils.py:82
↓ 1 callers
Class
UpgradeDB
Upgrade the JupyterHub database schema.
jupyterhub/app.py:223
↓ 1 callers
Class
User
examples/service-fastapi/app/models.py:20
↓ 1 callers
Class
UserName
Parse username so we can get the current sort field
jupyterhub/tests/test_api.py:548
↓ 1 callers
Class
_AsyncRequests
Wrapper around requests to return a Future from request methods A single thread is allocated to avoid blocking the IOLoop thread.
jupyterhub/tests/utils.py:18
↓ 1 callers
Class
_MockUser
jupyterhub/services/service.py:72
↓ 1 callers
Class
_ServiceSpawner
Subclass of LocalProcessSpawner Removes notebook-specific-ness from LocalProcessSpawner.
jupyterhub/services/service.py:99
↓ 1 callers
Class
_SpawnerDict
jupyterhub/user.py:206
Class
API404
404 for API requests Ensures JSON 404 errors for malformed URLs
jupyterhub/apihandlers/base.py:566
Class
APIHandler
Relay API requests to the Hub's API using the service's API token.
jupyterhub/tests/mockservice.py:50
Class
APIHandler
Base class for API endpoints Differences from page handlers: - JSON responses and errors - strict content-security-policy - methods
jupyterhub/apihandlers/base.py:22
Class
APIToken
An API token
jupyterhub/orm.py:1027
Class
AcceptShareHandler
jupyterhub/handlers/pages.py:649
Class
ActiveUserPeriods
Possible values for 'period' label of ACTIVE_USERS
jupyterhub/metrics.py:274
Class
ActivityAPIHandler
jupyterhub/apihandlers/users.py:946
Class
AddSlashHandler
Handler for adding trailing slash to URLs that need them
jupyterhub/handlers/base.py:1993
Class
AdminHandler
Render the admin page.
jupyterhub/handlers/pages.py:508
Class
AnnouncementRequestHandler
Dynamically manage page announcements
examples/service-announcement/announcement.py:11
Class
ArgsHandler
jupyterhub/tests/mocksu.py:32
Class
AuthorizationError
examples/service-fastapi/app/models.py:32
Class
BadSpawner
jupyterhub/tests/test_orm.py:228
Class
BadSpawner
Spawner that fails immediately
jupyterhub/tests/mocking.py:139
Class
BaseCommand
Dumb empty command because Command needs subclasses to override too much
setup.py:62
Class
BaseHandler
Base Handler class with access to common methods and properties.
jupyterhub/handlers/base.py:75
Class
BaseShareRequest
jupyterhub/apihandlers/shares.py:32
Class
CSPReportHandler
Accepts a content security policy violation report
jupyterhub/handlers/base.py:1979
Class
CSS
setup.py:115
Class
CacheControlStaticFilesHandler
StaticFileHandler subclass that sets Cache-Control: no-cache without `?v=` rather than relying on default browser cache behavior.
jupyterhub/handlers/static.py:8
Class
Command
setup.py:216
Class
ConfigDirective
Generate the configuration file output for use in the documentation.
docs/source/conf.py:94
Class
ConfigurableHTTPProxy
Proxy implementation for the default configurable-http-proxy. This is the default proxy implementation for running the nodejs proxy `configur
jupyterhub/proxy.py:488
Class
CookieAPIHandler
jupyterhub/apihandlers/auth.py:64
Class
CoroutineLogFormatter
Log formatter that scrubs coroutine frames
jupyterhub/log.py:60
Class
CryptKeeper
Encapsulate encryption configuration Use via the encryption_config singleton below.
jupyterhub/crypto.py:75
Class
DemoFormSpawner
examples/spawn-form/jupyterhub_config.py:12
Class
DummyHub
jupyterhub/tests/test_app.py:440
Class
DummyLoginHandler
jupyterhub/tests/test_pages.py:954
Class
DummyPopen
jupyterhub/tests/test_auth.py:312
Class
EchoHandler
Reply to an HTTP request with the path of the request.
jupyterhub/tests/mockservice.py:35
Class
EchoHandler
jupyterhub/tests/mocksu.py:27
Class
EncryptionUnavailable
jupyterhub/crypto.py:25
Class
EnvHandler
Reply to an HTTP request with the service's environment as JSON.
jupyterhub/tests/mockservice.py:42
Class
Expiring
Mixin for expiring entries Subclass must define at least expires_at property, which should be unix timestamp or datetime object
jupyterhub/orm.py:543
Class
FalsyCallableFormSpawner
A spawner that has a callable options form defined returning a falsy value
jupyterhub/tests/mocking.py:173
next →
1–100 of 217, ranked by callers