New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hypernotes

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypernotes - pypi Package Compare versions

Comparing version
2.0.1
to
2.0.2
+4
-4
hypernotes.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: hypernotes
Version: 2.0.1
Version: 2.0.2
Summary: A lightweight Python package for taking notes on your machine learning experiments

@@ -132,2 +132,3 @@ Home-page: https://github.com/binste/hypernotes

<th>model</th>
<th>identifier</th>
<th>metrics.test.precision</th>

@@ -148,3 +149,2 @@ <th>metrics.test.recall</th>

<th>git.repo_name</th>
<th>identifier</th>
<th>info.important_stuff</th>

@@ -161,2 +161,3 @@ <th>python_path</th>

<td>randomforest</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>0.29</td>

@@ -177,3 +178,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>something noteworthy</td>

@@ -188,2 +188,3 @@ <td>C:/example_path/python.exe</td>

<td>randomforest</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>0.82</td>

@@ -204,3 +205,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>something noteworthy</td>

@@ -207,0 +207,0 @@ <td>C:/example_path/python.exe</td>

@@ -15,3 +15,3 @@ import copy

__version__ = "2.0.1"
__version__ = "2.0.2"
DATETIME_STRING_FORMAT = "%Y-%m-%dT%H-%M-%S"

@@ -18,0 +18,0 @@

@@ -8,2 +8,3 @@ import argparse

from http.server import BaseHTTPRequestHandler, HTTPServer
from json import JSONEncoder
from typing import List

@@ -21,2 +22,11 @@

class DatetimeNonReversibleJSONEncoder(JSONEncoder):
"""Encodes datetime objects as a string representation"""
def default(self, obj):
if isinstance(obj, datetime):
return _format_datetime(obj)
return super().default(obj)
def _format_notes_as_html(notes: List[Note]):

@@ -31,9 +41,6 @@ flat_dicts = _flatten_notes(notes)

for col in key_order:
value = d.get(col, "")
if isinstance(value, datetime):
value = _format_datetime(value)
row[col] = value
row[col] = d.get(col, "")
data.append(row)
js_var_data = json.dumps(data)
js_var_data = json.dumps(data, cls=DatetimeNonReversibleJSONEncoder)
# Points in column names need to be escaped for the 'data' attribute in datatables

@@ -40,0 +47,0 @@ escaped_columns = [col.replace(".", "\\\\.") for col in key_order]

Metadata-Version: 2.1
Name: hypernotes
Version: 2.0.1
Version: 2.0.2
Summary: A lightweight Python package for taking notes on your machine learning experiments

@@ -132,2 +132,3 @@ Home-page: https://github.com/binste/hypernotes

<th>model</th>
<th>identifier</th>
<th>metrics.test.precision</th>

@@ -148,3 +149,2 @@ <th>metrics.test.recall</th>

<th>git.repo_name</th>
<th>identifier</th>
<th>info.important_stuff</th>

@@ -161,2 +161,3 @@ <th>python_path</th>

<td>randomforest</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>0.29</td>

@@ -177,3 +178,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>something noteworthy</td>

@@ -188,2 +188,3 @@ <td>C:/example_path/python.exe</td>

<td>randomforest</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>0.82</td>

@@ -204,3 +205,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>something noteworthy</td>

@@ -207,0 +207,0 @@ <td>C:/example_path/python.exe</td>

@@ -125,2 +125,3 @@ # hypernotes <!-- omit in toc -->

<th>model</th>
<th>identifier</th>
<th>metrics.test.precision</th>

@@ -141,3 +142,2 @@ <th>metrics.test.recall</th>

<th>git.repo_name</th>
<th>identifier</th>
<th>info.important_stuff</th>

@@ -154,2 +154,3 @@ <th>python_path</th>

<td>randomforest</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>0.29</td>

@@ -170,3 +171,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>0f84217d-e01b-466d-9a73-001827c60584</td>
<td>something noteworthy</td>

@@ -181,2 +181,3 @@ <td>C:/example_path/python.exe</td>

<td>randomforest</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>0.82</td>

@@ -197,3 +198,2 @@ <td>0.29</td>

<td>C:/path_to_your_repo</td>
<td>dd8bbc32-ff8f-433d-9eec-a24a7859622f</td>
<td>something noteworthy</td>

@@ -200,0 +200,0 @@ <td>C:/example_path/python.exe</td>