Skip to content

Commit

Permalink
🥳
Browse files Browse the repository at this point in the history
- types added
  • Loading branch information
securisec committed Apr 13, 2021
1 parent 38fb4d5 commit 2ae1459
Show file tree
Hide file tree
Showing 54 changed files with 1,665 additions and 1,051 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.PHONY: types

types:
stubgen -o . -p chepy
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Enhance:

Plugins:
☐ sqlite plugin
☐ protobuf plugin

Methods:
☐ windings decoding/encoding ♐︎●︎♋︎♑︎❀︎♏︎📁︎🖮︎🖲︎📂︎♍︎♏︎⌛︎🖰︎♐︎🖮︎📂︎🖰︎📂︎🖰︎🖰︎♍︎📁︎🗏︎🖮︎🖰︎♌︎📂︎♍︎📁︎♋︎🗏︎♌︎♎︎♍︎🖲︎♏︎❝︎ f︎l︎a︎g︎{︎e︎0︎7︎9︎1︎c︎e︎6︎8︎f︎7︎1︎8︎1︎8︎8︎c︎0︎3︎7︎8︎b︎1︎c︎0︎a︎3︎b︎d︎c︎9︎e︎}︎
Expand Down
20 changes: 20 additions & 0 deletions chepy/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from .modules.aritmeticlogic import AritmeticLogic
from .modules.codetidy import CodeTidy
from .modules.compression import Compression
from .modules.dataformat import DataFormat
from .modules.datetimemodule import DateTime
from .modules.encryptionencoding import EncryptionEncoding
from .modules.extractors import Extractors
from .modules.hashing import Hashing
from .modules.language import Language
from .modules.links import Links
from .modules.multimedia import Multimedia
from .modules.networking import Networking
from .modules.other import Other
from .modules.publickey import Publickey
from .modules.search import Search
from .modules.utils import Utils

class Chepy(AritmeticLogic, CodeTidy, Compression, DataFormat, DateTime, EncryptionEncoding, Extractors, Hashing, Language, Links, Multimedia, Networking, Other, Publickey, Search, Utils): ...

def search_chepy_methods(search: str) -> None: ...
4 changes: 2 additions & 2 deletions chepy/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.8.1" # pragma: no cover
__author__ = "Hapsida @securisec" # pragma: no cover
__version__ = "3.0.0" # pragma: no cover
__author__ = "Hapsida @securisec" # pragma: no cover
Empty file added chepy/__version__.pyi
Empty file.
2 changes: 1 addition & 1 deletion chepy/chepy_plugins
8 changes: 2 additions & 6 deletions chepy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,11 @@ def __init__(self):
self.prompt_toolbar_errors = self.__get_conf_value(
"#ff0000", "prompt_toolbar_errors"
)
self.prompt_cli_method = self.__get_conf_value(
"#ffd700", "prompt_cli_method"
)
self.prompt_cli_method = self.__get_conf_value("#ffd700", "prompt_cli_method")
self.prompt_plugin_method = self.__get_conf_value(
"#30d8ff", "prompt_plugin_method"
)
self.cli_info_color = self.__get_conf_value(
"#c2c2ff", "cli_info_color"
)
self.cli_info_color = self.__get_conf_value("#c2c2ff", "cli_info_color")

def __get_conf_value(self, default: str, option: str, section: str = "Cli"):
if self.config.has_section(section):
Expand Down
25 changes: 25 additions & 0 deletions chepy/config.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from typing import Any

class ChepyConfig:
chepy_dir: Any = ...
chepy_conf: Any = ...
config: Any = ...
enable_plugins: Any = ...
plugin_path: Any = ...
history_path: Any = ...
prompt_char: Any = ...
prompt_colors: Any = ...
show_rprompt: Any = ...
prompt_rprompt: Any = ...
prompt_bottom_toolbar: Any = ...
prompt_toolbar_version: Any = ...
prompt_toolbar_states: Any = ...
prompt_toolbar_buffers: Any = ...
prompt_toolbar_type: Any = ...
prompt_toolbar_plugins: Any = ...
prompt_toolbar_errors: Any = ...
prompt_cli_method: Any = ...
prompt_plugin_method: Any = ...
cli_info_color: Any = ...
def __init__(self) -> None: ...
def load_plugins(self): ...

0 comments on commit 2ae1459

Please sign in to comment.