-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #204 Savepoint * #204 Savepoint * #204 Savepoint * #204 Savepoint * #204 Savepoint * #204 Update dependencies * #204 Update notebook * #204 Update notebook * #204 Update notebook * #204 Update notebook * #204 Prepare for versioned release * #204 Update requirements * update osx and win install --------- Co-authored-by: Sam <109683132+kernelsam@users.noreply.github.com>
- Loading branch information
Showing
27 changed files
with
354 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
bandit==1.8.0 | ||
bandit==1.8.2 | ||
black==24.10.0 | ||
build==1.2.2.post1 | ||
coverage==7.6.10 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<link rel="stylesheet" href="/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/bootstrap-icons.css"> | ||
<script src="/js/jquery-3.7.1.min.js" type="text/javascript"></script> | ||
<script src="/js/bootstrap.bundle.min.js" type="text/javascript"></script> | ||
<script src="/js/jquery.dataTables.min.js" type="text/javascript"></script> | ||
<script src="/js/include-html.js" type="text/javascript"></script> | ||
<title>Senzing Playground - Go - Jupyter Lab</title> | ||
</head> | ||
|
||
<body> | ||
<main class="d-flex flex-nowrap"> | ||
<div id="left-nav" class="d-flex flex-column flex-shrink-0 p-3 text-bg-dark" style="width: 280px;" | ||
w3-include-html="/component/left-nav-go.html"> | ||
</div> | ||
<div class="container px-5"> | ||
<div class="col-xs-12" style="height:15px;"></div> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="/site/home.html">Home</a></li> | ||
<li class="breadcrumb-item" aria-current="page"><a href="/site/go/index.html">Go</a></li> | ||
<li class="breadcrumb-item active" aria-current="page">Jupyter Lab</li> | ||
</ol> | ||
</nav> | ||
<h1>Using my own Jupyter Lab</h1> | ||
<p> | ||
This exercise requires that you already have <a href="https://jupyter.org/">Jupyter Lab</a> installed on | ||
your computer. | ||
</p> | ||
<p> | ||
Download and run the following Jupyter notebooks in your Jupyter Lab: | ||
<ol> | ||
<li><a href="/examples/notebooks/go/senzing_hello_world.ipynb">senzing_hello_world.ipynb</a> | ||
- A simple test of connectivity to Senzing engine.</li> | ||
<li><a href="/examples/notebooks/go/senzing_load_truthsets.ipynb">senzing_load_truthsets.ipynb</a> | ||
- Load and query the Senzing truth-set-data.</li> | ||
<li><a href="/examples/notebooks/go/senzing_load_user_data.ipynb">senzing_load_user_data.ipynb</a> | ||
- Load custom data. | ||
Requires input file (e.g. | ||
<a | ||
href="https://raw.githubusercontent.com/senzing-garage/playground/refs/heads/main/rootfs/examples/python/senzing-example-data.json">senzing-example-data.json</a>) | ||
</li> | ||
</ol> | ||
</p> | ||
<div id="sdk-doc-go" w3-include-html="/component/sdk-doc-go.html"> </div> | ||
<div id="serve-grpc" w3-include-html="/component/serve-grpc.html"> </div> | ||
<div class="col-xs-12" style="height:10px;"></div> | ||
<div id="bottom-nav" w3-include-html="/component/bottom-nav.html" /> | ||
</div> | ||
</main> | ||
|
||
<script type="text/javascript"> | ||
includeHTML(); | ||
</script> | ||
</body> | ||
|
||
</html> |
79 changes: 79 additions & 0 deletions
79
httpserver/static/templates/site/go/local-development.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<link rel="stylesheet" href="/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="/css/bootstrap-icons.css"> | ||
<script src="/js/jquery-3.7.1.min.js" type="text/javascript"></script> | ||
<script src="/js/bootstrap.bundle.min.js" type="text/javascript"></script> | ||
<script src="/js/jquery.dataTables.min.js" type="text/javascript"></script> | ||
<script src="/js/include-html.js" type="text/javascript"></script> | ||
<title>Senzing Playground - Go</title> | ||
</head> | ||
|
||
<body> | ||
<main class="d-flex flex-nowrap"> | ||
<div id="left-nav" class="d-flex flex-column flex-shrink-0 p-3 text-bg-dark" style="width: 280px;" | ||
w3-include-html="/component/left-nav-go.html"> | ||
</div> | ||
<div class="container px-5"> | ||
<div class="col-xs-12" style="height:15px;"></div> | ||
<nav aria-label="breadcrumb"> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="/site/home.html">Home</a></li> | ||
<li class="breadcrumb-item" aria-current="page"><a href="/site/go/index.html">Go</a></li> | ||
<li class="breadcrumb-item active" aria-current="page">Local development</li> | ||
</ol> | ||
</nav> | ||
<h1>Senzing SDK in my development environment</h1> | ||
<p> | ||
This exercise requires that you already have a Go development environment installed on your | ||
computer. | ||
</p> | ||
|
||
<p> | ||
Create a new directory and download any of the following files into the new directory: | ||
<ol> | ||
<li><a href="/examples/go/senzing_hello_world/main.go">senzing_hello_world/main.go</a> | ||
- A simple test of connectivity to Senzing engine.</li> | ||
<li><a href="/examples/go/senzing_load_truthsets/main.go">senzing_load_truthsets/main.go | ||
</a> - Load and query the Senzing truth-set-data.</li> | ||
<li><a href="/examples/go/senzing_load_user_data/main.go">senzing_load_user_data/main.go</a> | ||
- Load custom data. | ||
Requires input file (e.g. | ||
<a | ||
href="https://raw.githubusercontent.com/senzing-garage/playground/refs/heads/main/rootfs/examples/python/senzing-example-data.json">senzing-example-data.json</a>) | ||
</li> | ||
</ol> | ||
</p> | ||
|
||
<p> | ||
Run in the new directory, the following commands initialize, download dependencies, and execute code: | ||
</p> | ||
<div class="mb-6 bg-light"> | ||
<pre><code> | ||
go mod init senzing | ||
go mod tidy | ||
go run main.go | ||
</code></pre> | ||
</div> | ||
|
||
<p> | ||
Using the files as examples, build your own Go application using the Senzing SDK. | ||
</p> | ||
|
||
<div id="sdk-doc-go" w3-include-html="/component/sdk-doc-go.html"> </div> | ||
<div id="serve-grpc" w3-include-html="/component/serve-grpc.html"> </div> | ||
<div class="col-xs-12" style="height:10px;"></div> | ||
<div id="bottom-nav" w3-include-html="/component/bottom-nav.html" /> | ||
</div> | ||
</main> | ||
|
||
<script type="text/javascript"> | ||
includeHTML(); | ||
</script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.