Skip to main content

A module to automatically check and install missing imports

Project description

PyAutoPilot

Overview

"PyAutoPilot" is an intelligent Python module that automatically detects missing dependencies in your script and installs them. It scans your script for "import" statements, checks for missing packages, and installs them using "pip"—making dependency management seamless.

Features

  • 🚀 Automatic Dependency Detection – Scans your script for required imports.
  • 🔧 Auto-Installation – Installs missing dependencies using "pip".
  • Smart Mapping – Handles cases where module names differ from package names (e.g., "win32com.client" → "pywin32").
  • 🔄 Hassle-Free Execution – No manual intervention needed; just import "PyAutoPilot", and it works.

Installation

You can install "PyAutoPilot" using pip:

"""sh pip install PyAutoPilot """

Or, if installing locally from a built distribution:

"""sh pip install dist/PyAutoPilot-0.1.0-py3-none-any.whl """

Usage

Simply import "PyAutoPilot" in your Python script:

"""python import PyAutoPilot """

When you run your script, "PyAutoPilot" will scan for imported modules and install any missing ones automatically.

Building from Source

If you want to build "PyAutoPilot" from source, follow these steps:

  1. Clone or download the repository.
  2. Navigate to the project directory.
  3. Run the following command to create a distributable package:

"""sh python setup.py sdist bdist_wheel """

Publishing to PyPI

To publish "PyAutoPilot" to PyPI, use:

"""sh pip install twine """

Then, upload your package:

"""sh twine upload dist/* """

License

This module is released under the MIT License.

Author

Created by Your Name (your_email@example.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyautopilot-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyautopilot-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pyautopilot-0.1.0.tar.gz.

File metadata

  • Download URL: pyautopilot-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyautopilot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3f2c8c8f70c06e59babaf947ed9ddbfbe4bbb0e7a7b4ec9ead29fb2f5285fbc8
MD5 d622322f76274cbec76a74707c25ae9c
BLAKE2b-256 06a237ee08ff1a612642c36cf39e1b2fd686220a01ab2cf5a80a9bdbcee34cf6

See more details on using hashes here.

File details

Details for the file pyautopilot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyautopilot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyautopilot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76181ceb46b91c296182743dac383a6b00e0aef42043a4ec669c12269c847e37
MD5 1ea1eb8f9cd0662eba5f6203fe501843
BLAKE2b-256 d10233cb92142f3d8f3bfaefaa56b33e30cca22b033ab4ff1ac15efbb14f06a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page