nbsync 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {nbsync-0.3.2 → nbsync-0.3.3}/PKG-INFO +1 -1
  2. {nbsync-0.3.2 → nbsync-0.3.3}/pyproject.toml +1 -1
  3. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/sync.py +2 -2
  4. {nbsync-0.3.2 → nbsync-0.3.3}/.devcontainer/devcontainer.json +0 -0
  5. {nbsync-0.3.2 → nbsync-0.3.3}/.devcontainer/postCreate.sh +0 -0
  6. {nbsync-0.3.2 → nbsync-0.3.3}/.devcontainer/starship.toml +0 -0
  7. {nbsync-0.3.2 → nbsync-0.3.3}/.gitattributes +0 -0
  8. {nbsync-0.3.2 → nbsync-0.3.3}/.github/workflows/ci.yaml +0 -0
  9. {nbsync-0.3.2 → nbsync-0.3.3}/.github/workflows/docs.yaml +0 -0
  10. {nbsync-0.3.2 → nbsync-0.3.3}/.github/workflows/publish.yaml +0 -0
  11. {nbsync-0.3.2 → nbsync-0.3.3}/.gitignore +0 -0
  12. {nbsync-0.3.2 → nbsync-0.3.3}/LICENSE +0 -0
  13. {nbsync-0.3.2 → nbsync-0.3.3}/README.md +0 -0
  14. {nbsync-0.3.2 → nbsync-0.3.3}/docs/index.md +0 -0
  15. {nbsync-0.3.2 → nbsync-0.3.3}/mkdocs.yaml +0 -0
  16. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/__init__.py +0 -0
  17. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/cell.py +0 -0
  18. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/logger.py +0 -0
  19. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/markdown.py +0 -0
  20. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/notebook.py +0 -0
  21. {nbsync-0.3.2 → nbsync-0.3.3}/src/nbsync/py.typed +0 -0
  22. {nbsync-0.3.2 → nbsync-0.3.3}/tests/__init__.py +0 -0
  23. {nbsync-0.3.2 → nbsync-0.3.3}/tests/conftest.py +0 -0
  24. {nbsync-0.3.2 → nbsync-0.3.3}/tests/test_cell.py +0 -0
  25. {nbsync-0.3.2 → nbsync-0.3.3}/tests/test_logger.py +0 -0
  26. {nbsync-0.3.2 → nbsync-0.3.3}/tests/test_markdown.py +0 -0
  27. {nbsync-0.3.2 → nbsync-0.3.3}/tests/test_notebook.py +0 -0
  28. {nbsync-0.3.2 → nbsync-0.3.3}/tests/test_sync.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbsync
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: A core library to synchronize Jupyter notebooks and Markdown documents, enabling seamless integration and dynamic content execution
5
5
  Project-URL: Documentation, https://daizutabi.github.io/nbsync/
6
6
  Project-URL: Source, https://github.com/daizutabi/nbsync
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "nbsync"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  description = "A core library to synchronize Jupyter notebooks and Markdown documents, enabling seamless integration and dynamic content execution"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -47,9 +47,9 @@ class Synchronizer:
47
47
  continue
48
48
 
49
49
  path = ".md" if url == ".md" else self.store.find_path(url)
50
- logger.info(f"Executing notebook: {path}...")
50
+ logger.info(f"Executing notebook: {path}")
51
51
  if elapsed := notebook.execute():
52
- logger.info(f"{Path(path).name!r} executed in {elapsed} seconds")
52
+ logger.info(f"{Path(path).name!r} executed in {elapsed:.2f} seconds")
53
53
 
54
54
  def convert(self, text: str) -> Iterator[str | Cell]:
55
55
  elems = list(self.parse(text))
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes