generated from jCloud/repository-template
Marked as deprecated
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# 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
|
||||
You can install the library using `pip`:
|
||||
@@ -31,6 +35,10 @@ A segment.
|
||||
For more details, see the function and method docstrings.
|
||||
|
||||
## Changelog
|
||||
|
||||
### Version 0.2.0
|
||||
- marked as deprecated
|
||||
|
||||
### Version 0.1.2
|
||||
- Bug fix
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "jeb-server-utils"
|
||||
version = "0.1.2"
|
||||
version = "0.2.0"
|
||||
description = "The utilities for the jeb server"
|
||||
dependencies = ["config-parser", "jeb-utils"]
|
||||
license = "Apache-2.0"
|
||||
@@ -12,6 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Warning: This library is deprecated. Use jeb-core instead.
|
||||
|
||||
'''
|
||||
The utilities for the jeb server
|
||||
'''
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Warning: This library is deprecated. Use jeb-core instead.
|
||||
|
||||
from jeb_utils import exceptions, jeb_utils, utils
|
||||
import os
|
||||
import dbm
|
||||
@@ -27,6 +29,9 @@ __all__ = [
|
||||
'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''):
|
||||
'''
|
||||
Creates a file if it does not exist.
|
||||
|
||||
Reference in New Issue
Block a user