
Security News
Scaling Socket from Zero to 10,000+ Organizations
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.
giteegit
Advanced tools
from giteegit import giteegit_on_run
@giteegit_on_run
def main():
print("Hello, World!")
# 你的代码逻辑
if __name__ == "__main__":
main() # 函数执行完后会自动发送当前文件到 GiteeGit
from giteegit import GiteeGit
with GiteeGit():
print("Hello, World!")
# 你的代码逻辑
# 退出 with 块时会自动发送当前文件到 GiteeGit
from giteegit import GiteeGit
def main():
print("Hello, World!")
# 你的代码逻辑
# 手动发送当前文件
GiteeGit().send_current_file()
if __name__ == "__main__":
main()
主要的发送器类。
class GiteeGit:
def __init__(self, bot_token: Optional[str] = None, chat_id: Optional[str] = None)
def send_current_file(self) -> bool
def send_file(self, file_path: str) -> bool
giteegit_on_run(func) - 装饰器,函数执行完后发送当前文件git() - 发送当前运行的文件giteegit_file(file_path) - 发送指定文件auto_giteegit - giteegit_on_run 的别名CodeSender - GiteeGit 的别名MIT License
FAQs
一个简单的工具,用于将Python代码文件自动发送到GiteeGit
We found that giteegit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh shares lessons from scaling a developer security startup to 10,000+ organizations in this founder interview.

Research
Socket Threat Research maps a rare inside look at OtterCookie’s npm-Vercel-GitHub chain, adding 197 malicious packages and evidence of North Korean operators.

Research
Socket researchers identified a malicious Chrome extension that manipulates Raydium swaps to inject an undisclosed SOL transfer, quietly routing fees to an attacker wallet.