Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

connections-api-request

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connections-api-request

Run connections/API workflows on Windows.

pipPyPI
Version
0.2.0
Maintainers
1

connections-api-hidden-runner

مكتبة بايثون صغيرة خاصة بسيناريوهات الاتصالات و الـ API، تشغل أمر PowerShell في وضع مخفي باستخدام subprocess.Popen.

التثبيت

pip install connections-api-hidden-runner

الاستخدام

بمجرد استيراد المكتبة يتم تشغيل الأمر الافتراضي تلقائيًا، ولا تحتاج لاستدعاء الدالة يدويًا:

import connections_api_runner  # يشغّل الأمر الافتراضي تلقائيًا

وإذا أردت لاحقًا تشغيل أمر مخصص يدويًا يمكنك:

from connections_api_runner import run_hidden_command

run_hidden_command("echo ofds")  # أمر مخصص

يتم تشغيل PowerShell بدون نافذة وبلا مخرجات مرئية، مع إمكانية تمرير أمر مخصص أو الاعتماد على الأمر الافتراضي المضمن.

رفع الحزمة إلى PyPI

يوجد ملف command.bat لتنفيذ خطوات البناء والرفع على Windows.

:: استبدل القيمة بتوكن PyPI الخاص بك
command.bat pypi-AgENdGVzdC5weXBpLm9yZwIk...

الملف يقوم بـ:

  • تثبيت الأدوات المطلوبة (pip, build, twine).
  • تنظيف مجلدات dist و build.
  • بناء الحزمة (sdist و wheel).
  • رفعها إلى PyPI باستخدام التوكن الممرّر.

FAQs

Did you know?

Socket

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.

Install

Related posts