generated from jCloud/repository-template
Marked as deprecated
This commit is contained in:
@@ -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
@@ -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"
|
||||||
@@ -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
|
||||||
'''
|
'''
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user