/synchro

Synchronize your requirement.txt and pyproject.toml at the bush of a button!

Primary LanguagePythonMIT LicenseMIT

Multi-Modality

Synchro: Synchronize Your Python Project Dependencies Effortlessly

Elevate Your Development Workflow

Are you tired of manually synchronizing requirements.txt and pyproject.toml for your Python projects? Say goodbye to the tedious and error-prone process of keeping your dependency files in sync. Synchro is here to make your life easier!

Synchro is a cutting-edge command-line tool that seamlessly synchronizes your project's dependencies. With Synchro, you can ensure that your requirements.txt and pyproject.toml files are always perfectly aligned, saving you time and reducing the risk of version conflicts.

Quick Installation

Get started with Synchro in no time! Install it directly from PyPI:

pip install synchronx

Simple Usage

Running Synchro is as easy as executing a single command:

synchro

Synchro intelligently scans your requirements.txt and pyproject.toml files, aligns the versions, and updates them as needed. Say hello to streamlined and hassle-free dependency management!

Features

  • Automatic Synchronization: Effortlessly syncs requirements.txt and pyproject.toml.
  • Backup Creation: Automatically creates backups before making changes.
  • Customization: Supports custom file paths and non-interactive modes for advanced users.
  • User Confirmation: Prompts for confirmation before applying changes, ensuring control over your project.
  • Colored Output: Enhances the user experience with visually distinct output messages.

Advanced Usage

Customize the synchronization process to fit your workflow:

# Specify custom file paths
synchro --requirements path/to/requirements.txt --pyproject path/to/pyproject.toml

# Skip backup creation
synchro --no-backup

# Run in non-interactive mode
synchro --non-interactive

Contributing

Your contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Join the Agora discord!

Todo

  • Add setup.py synchronization as well