Welcome to the IX-py repository! Here, you will find a powerful tool designed to simplify your Python development experience. IX-py is a zero-dependency Python environment and package manager that effectively eliminates dependency hell and fully isolates your projects.
- Introduction
- Features
- Installation
- Usage
- Project Structure
- Best Practices
- Contributing
- License
- Releases
Managing dependencies in Python can often feel like navigating a minefield. With multiple projects requiring different versions of libraries, developers frequently encounter issues that can slow down progress. IX-py aims to solve these problems with a modern approach to Python project management.
This tool serves as an alternative to traditional methods like virtualenv
and pip-tools
. It is designed for elite developers, data scientists, AI teams, and secure DevOps environments. By using IX-py, you can focus on building your applications rather than wrestling with dependency conflicts.
- Zero Dependencies: IX-py has no external dependencies, making it lightweight and easy to integrate into your workflow.
- Project Isolation: Each project runs in its own isolated environment, ensuring that dependencies do not interfere with one another.
- Lightweight CLI: The command-line interface is designed to be user-friendly and efficient.
- Best Practices: Supports
pyproject.toml
, aligning with modern Python packaging standards. - Reproducible Builds: Easily reproduce builds across different environments.
- Secure Packaging: Focus on security by isolating environments and managing dependencies effectively.
To get started with IX-py, follow these simple steps:
-
Clone the Repository:
git clone https://github.com/Neengen/IX-py.git cd IX-py
-
Install IX-py: You can install IX-py using pip:
pip install .
-
Verify Installation: Run the following command to ensure IX-py is installed correctly:
ix --version
Using IX-py is straightforward. Here are some common commands to get you started:
To create a new project, use the following command:
ix create my_project
This will set up a new project with an isolated environment.
To activate your project environment, run:
ix activate my_project
To install dependencies for your project, use:
ix install requests numpy
You can run your Python application within the isolated environment:
ix run my_script.py
A typical IX-py project will look like this:
my_project/
β
βββ .ix/
β βββ environment/
β
βββ pyproject.toml
βββ README.md
βββ my_script.py
- .ix/: Contains environment-specific files.
- pyproject.toml: Configuration file for your project.
- README.md: Documentation for your project.
- my_script.py: Your main application script.
To make the most out of IX-py, consider the following best practices:
-
Use
pyproject.toml
: Always define your dependencies in thepyproject.toml
file. This keeps your project organized and in line with modern Python practices. -
Isolate Projects: Always create a new environment for each project. This prevents conflicts between different projects.
-
Regular Updates: Keep your dependencies updated to benefit from the latest features and security patches.
-
Documentation: Maintain clear documentation in your README file to help others understand your project.
-
Testing: Regularly test your project in its isolated environment to catch any issues early.
We welcome contributions to IX-py! If you would like to contribute, please follow these steps:
- Fork the Repository: Click on the "Fork" button at the top right of the page.
- Create a New Branch:
git checkout -b feature/YourFeature
- Make Your Changes: Implement your feature or fix.
- Commit Your Changes:
git commit -m "Add your message here"
- Push to Your Fork:
git push origin feature/YourFeature
- Create a Pull Request: Go to the original repository and click on "New Pull Request."
Your contributions help improve IX-py for everyone!
IX-py is licensed under the MIT License. See the LICENSE file for more information.
To keep track of updates and new features, check out the Releases section. You can download the latest version and execute it as needed.
Feel free to visit the Releases section for more information about updates and changes.
Thank you for your interest in IX-py! We hope this tool enhances your Python development experience. If you have any questions or feedback, feel free to reach out.