Marked as deprecated

This commit is contained in:
2026-03-09 22:00:42 +01:00
parent 1aa9a8f498
commit 0e5980fbec
4 changed files with 17 additions and 2 deletions
+9 -1
View File
@@ -1,6 +1,10 @@
# jeb-server-utils # jeb-server-utils
The utilities for the jeb server The utilities for the jeb server.
## Warning
This library is deprecated. Use [jeb-core](https://gitea.jcloud-services.ddns.net/jCloud/jeb-core) instead
## Installation ## Installation
You can install the library using `pip`: You can install the library using `pip`:
@@ -31,6 +35,10 @@ A segment.
For more details, see the function and method docstrings. For more details, see the function and method docstrings.
## Changelog ## Changelog
### Version 0.2.0
- marked as deprecated
### Version 0.1.2 ### Version 0.1.2
- Bug fix - Bug fix
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "jeb-server-utils" name = "jeb-server-utils"
version = "0.1.2" version = "0.2.0"
description = "The utilities for the jeb server" description = "The utilities for the jeb server"
dependencies = ["config-parser", "jeb-utils"] dependencies = ["config-parser", "jeb-utils"]
license = "Apache-2.0" license = "Apache-2.0"
+2
View File
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Warning: This library is deprecated. Use jeb-core instead.
''' '''
The utilities for the jeb server The utilities for the jeb server
''' '''
+5
View File
@@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Warning: This library is deprecated. Use jeb-core instead.
from jeb_utils import exceptions, jeb_utils, utils from jeb_utils import exceptions, jeb_utils, utils
import os import os
import dbm import dbm
@@ -27,6 +29,9 @@ __all__ = [
'Topic', 'Topic',
] ]
# This library is deprecated. Use jeb-core instead.
warnings.warn('jeb-server-utils is deprecated. Use jeb-core (https://gitea.jcloud-services.ddns.net/jCloud/jeb-core) instead.', DeprecationWarning)
def _create_file_if_not_exists(path: str, content: bytes = b''): def _create_file_if_not_exists(path: str, content: bytes = b''):
''' '''
Creates a file if it does not exist. Creates a file if it does not exist.