Skip to content

Commit

Permalink
cron
Browse files Browse the repository at this point in the history
  • Loading branch information
bozokopic committed Mar 28, 2024
1 parent cf9c2b0 commit ac6157d
Show file tree
Hide file tree
Showing 16 changed files with 567 additions and 451 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hat-util"
version = "0.6.13"
version = "0.6.14"
description = "Hat utility library"
readme = "README.rst"
requires-python = ">=3.10"
Expand All @@ -16,10 +16,10 @@ Repository = "https://github.com/hat-open/hat-util.git"
Documentation = "http://hat-util.hat-open.com"

[project.optional-dependencies]
dev = ["hat-doit ~=0.15.11"]
dev = ["hat-doit ~=0.15.12"]

[build-system]
requires = ["hat-doit ~=0.15.11"]
requires = ["hat-doit ~=0.15.12"]
build-backend = "hat.doit.pep517"

[tool.hat-doit]
Expand Down
2 changes: 1 addition & 1 deletion requirements.pip.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hat-doit ~=0.15.11
hat-doit ~=0.15.12
264 changes: 0 additions & 264 deletions src_py/hat/util.py

This file was deleted.

24 changes: 24 additions & 0 deletions src_py/hat/util/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""Common utility functions"""

from hat.util import cron
from hat.util.bytes import (Bytes,
BytesBuffer)
from hat.util.callback import (RegisterCallbackHandle,
ExceptionCb,
CallbackRegistry)
from hat.util.first import first
from hat.util.socket import (get_unused_tcp_port,
get_unused_udp_port)
from hat.util.sqlite3 import register_sqlite3_timestamp_converter


__all__ = ['cron',
'Bytes',
'BytesBuffer',
'RegisterCallbackHandle',
'ExceptionCb',
'CallbackRegistry',
'first',
'get_unused_tcp_port',
'get_unused_udp_port',
'register_sqlite3_timestamp_converter']
Loading

0 comments on commit ac6157d

Please sign in to comment.