Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ddcc32

Browse files
authored
Add CLI and JupyterLab plugins for IAM and Kernels (#21)
* chore: activate all plugins * chore: add iam and kernels * chore: working cli * chore: cli app * fix: exec * chore: rename to datalayer_core * chore: license * chore: rm jupyterlab from deps * chore: revert to datalayer * chore: revert to datalayer extensions * lint * chore: set version
1 parent 80858fb commit 2ddcc32

72 files changed

Lines changed: 3455 additions & 162 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ node_modules/
77
*.egg-info/
88
.ipynb_checkpoints
99
*.tsbuildinfo
10-
datalayer/labextension
10+
datalayer_core/labextension
1111
# Version file is handled by hatchling
1212
datalayer/_version.py
1313

14-
datalayer/static/*.js
15-
datalayer/static/*.css
14+
datalayer_core/static/*.js
15+
datalayer_core/static/*.css
1616

1717
coverage
1818

@@ -126,3 +126,17 @@ dmypy.json
126126
.DS_Store
127127

128128
*ystore.db
129+
130+
131+
# Include
132+
!**/.*ignore
133+
!**/.*rc
134+
!**/.*rc.js
135+
!**/.*rc.json
136+
!**/.*rc.yml
137+
!**/.*rc.yaml
138+
!**/.*config
139+
!*.*rc.json
140+
!**/.env
141+
!.github
142+
!.devcontainer

.licenserc.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
header:
2+
license:
3+
spdx-id: Datalayer
4+
copyright-owner: Datalayer, Inc.
5+
copyright-year: 2023-2024
6+
content: |
7+
Copyright (c) [year] [owner]
8+
Distributed under the terms of the Modified BSD License.
9+
10+
paths-ignore:
11+
- '**/*.apt'
12+
- '**/*.cedar'
13+
- '**/*.dash'
14+
- '**/*.fga'
15+
- '**/*.ipynb'
16+
- '**/*.j2'
17+
- '**/*.json'
18+
- '**/*.mamba'
19+
- '**/*.md'
20+
- '**/*.mod'
21+
- '**/*.nblink'
22+
- '**/*.rego'
23+
- '**/*.sum'
24+
- '**/*.svg'
25+
- '**/*.template'
26+
- '**/*.tsbuildinfo'
27+
- '**/*.txt'
28+
- '**/*.yaml'
29+
- '**/*.yml'
30+
- '**/*_key'
31+
- '**/*_key.pub'
32+
- '**/.*'
33+
- '**/LICENSE.txt'
34+
- '**/MANIFEST.in'
35+
- '**/build'
36+
- '**/lib'
37+
- '**/node_modules'
38+
- '**/schemas'
39+
- '**/ssh/*'
40+
- '**/static'
41+
- '**/themes'
42+
- '**/typings'
43+
- '**/*.patch'
44+
- '**/*.bundle.js'
45+
- '**/*.map.js'
46+
- 'LICENSE'
47+
48+
comment: on-failure

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
[![Become a Sponsor](https://img.shields.io/static/v1?label=Become%20a%20Sponsor&message=%E2%9D%A4&logo=GitHub&style=flat&color=1ABC9C)](https://github.com/sponsors/datalayer)
44

5-
# Ξ Datalayer
5+
# Ξ Datalayer Core
66

7-
> Datalayer core.
8-
9-
Datalayer is the base foundation package used by many other Datalayer packages. It contains base application classes and configuration inherited by other projects.
7+
Datalayer Core is the base foundation package used by many other Datalayer packages. It contains base application classes and configuration inherited by other projects.
108

119
It is also the meta package to get the other Datalayer packages installed.
1210

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66
@pytest.fixture
77
def jp_server_config(jp_server_config):
8-
return {"ServerApp": {"jpserver_extensions": {"datalayer": True}}}
8+
return {"ServerApp": {"jpserver_extensions": {"datalayer_core": True}}}

datalayer/static/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

datalayer/tests/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import Any, Dict, List
22

3-
from ._version import __version__
4-
from .serverapplication import DatalayerExtensionApp
3+
from datalayer_core._version import __version__
4+
from datalayer_core.serverapplication import DatalayerExtensionApp
55

66
try:
77
from .lab import DatalayerLabApp
@@ -12,11 +12,11 @@
1212

1313
def _jupyter_server_extension_points() -> List[Dict[str, Any]]:
1414
return [{
15-
"module": "datalayer",
15+
"module": "datalayer_core",
1616
"app": DatalayerExtensionApp,
1717
},
1818
{
19-
"module": "datalayer",
19+
"module": "datalayer_core",
2020
"app": DatalayerLabApp,
2121
}]
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""The main for Datalayer."""
22

3-
from datalayer.serverapplication import main
3+
from datalayer_core.serverapplication import main
44

55
if __name__ == "__main__":
66
main()

datalayer_core/_version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file is auto-generated by Hatchling. As such, do not:
2+
# - modify
3+
# - track in version control e.g. be sure to add to .gitignore
4+
__version__ = VERSION = '1.1.2'

datalayer_core/about/about.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## About
2+
3+
Datalayer provides a command line tool allowing to list, create, terminate and open a console against
4+
a remote kernel.
5+
6+
Read more on https://docs.datalayer.run

0 commit comments

Comments
 (0)