Skip to content

Commit

Permalink
V1.4.9 (#149)
Browse files Browse the repository at this point in the history
* fix: fix display colors and progress.

* docs: update display doc

* fixes: fix chunk function

* improves: add methods in utils.Source
  • Loading branch information
jlsneto authored Jul 24, 2021
1 parent 9cc8fee commit 078fa0f
Show file tree
Hide file tree
Showing 4 changed files with 173 additions and 166 deletions.
32 changes: 14 additions & 18 deletions cereja/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,46 +21,42 @@
SOFTWARE.
"""
from .config import conf
from cereja.utils import *
from .utils import *
from . import utils
from . import display
from cereja.display import *
from .display import *
from . import file
from cereja.file import *
from .file import *
from . import array
from cereja.array import *
from .array import *
from . import system
from cereja.system import *
from cereja.system.unicode import *
from .system import *
from .system.unicode import *
from . import utils
from .utils import decorators
from cereja.concurrently import *
from .concurrently import *
from . import mltools
from cereja.mltools import *
from cereja.utils.version import get_version_pep440_compliant
from cereja.system.unicode import *
from .mltools import *
from .utils.version import get_version_pep440_compliant
from .system.unicode import *
from . import date
from cereja.date import *
from .date import *
from . import hashtools
from . import mathtools
from cereja.mathtools import *
from .mathtools import *
from . import experimental
from ._requests import request

VERSION = "1.4.8.final.0"
VERSION = "1.4.9.final.0"

__version__ = get_version_pep440_compliant(VERSION)

NON_BMP_SUPPORTED = None
if NON_BMP_SUPPORTED is None:
# This is important, as there may be an exception if the terminal does not support unicode bmp
try:
unicode_ = f"\033[31m\U0001F352\033[30m"
unicode_ = f"\033[31m\U0001F352\033[0;0m"
print(f"{unicode_} Using Cereja v.{get_version_pep440_compliant()}\r")
NON_BMP_SUPPORTED = True
except (UnicodeEncodeError, UnicodeDecodeError, UnicodeError, UnicodeTranslateError):
NON_BMP_SUPPORTED = False
# cj_modules_dotted_path = utils.import_string('cereja.conf.cj_modules_dotted_path')
#
# for dot_module in cj_modules_dotted_path:
# globals().update(utils.module_references(import_module(dot_module)))
Loading

0 comments on commit 078fa0f

Please sign in to comment.