semvec/pypi-packages huggingface dataset:
pylax 0.1.0
Zero-friction Python environment orchestrator. Never activate again.
Requires Python: >=3.7


<div align="center">
  <img src="pylax_logo.png" alt="pylax logo" width="200"/>
  <h1>pylax</h1>
  <p><strong>Zero-friction Python environment orchestrator.</strong></p>
  <p>Never activate. Never guess. Always be correct.</p>
  <br>
  <a href="https://www.buymeacoffee.com/nuhmanpk"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" width="150" alt="Buy Me A Coffee"></a>
  <br>
  <a href="https://github.com/sponsors/nuhmanpk"><img src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86" alt="Sponsor on GitHub"></a>
</div>

---

`pylax` removes the need for `source .venv/bin/activate` by directly dispatching commands to your project's virtual environment.

## The Core Idea

Most Python projects start with:
```bash
python -m venv .venv
source .venv/bin/activate  # <-- The friction point
pip install -r requirements.txt
```

With `pylax`, you just do:
```bash
pylax init
pylax run app.py
```

`pylax` effectively runs `.venv/bin/python app.py`. It is not a shell tool; it is a dispatcher.

## Installation

```bash
pip install pylax
```

Or for global safety (recommended):
```bash
pipx install pylax
```

## Usage

### Initialize a Project
Creates `.venv`, upgrades pip, and installs `requirements.txt` (if present).
```bash
cd myproject
pylax init
```

### Run a Script
Runs the script using the project's virtual environment.
```bash
pylax run app.py
```
Equivalent to: `.venv/bin/python app.py`

### Run a Command
Run any executable from the venv (like `pip`, `black`, `pytest`).
```bash
pylax run pip list
pylax run pytest
```

### Spawn a Shell (Optional)
If you really need a shell where `python` and `pip` map to the venv versions:
```bash
pylax shell
```

## Structure
Pylax enforces a standard, clean structure:
- Virtual environments are always named `.venv`.
- It relies on standard `requirements.txt`.
- It works on macOS, Linux, and Windows.

---

## Development & Testing

### Running Tests
We use `pytest` for testing.

1. Initialize the dev environment:
   ```bash
   # You can even use pylax to develop pylax!
   python3 -m venv .venv
   .venv/bin/pip install -e .[test]
   ```

2. Run tests:
   ```bash
   pytest
   ```

## License
MIT © [Nuhman PK](https://github.com/nuhmanpk)
dvc-objects 5.2.0
dvc objects - filesystem and object-db level abstractions to use in dvc and dvc-data
Requires Python: >=3.9

DVC objects
===========

|PyPI| |Status| |Python Version| |License|

|Tests| |Codecov| |pre-commit| |Black|

.. |PyPI| image:: https://img.shields.io/pypi/v/dvc-objects.svg
   :target: https://pypi.org/project/dvc-objects/
   :alt: PyPI
.. |Status| image:: https://img.shields.io/pypi/status/dvc-objects.svg
   :target: https://pypi.org/project/dvc-objects/
   :alt: Status
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/dvc-objects
   :target: https://pypi.org/project/dvc-objects
   :alt: Python Version
.. |License| image:: https://img.shields.io/pypi/l/dvc-objects
   :target: https://opensource.org/licenses/Apache-2.0
   :alt: License
.. |Tests| image:: https://github.com/treeverse/dvc-objects/workflows/Tests/badge.svg
   :target: https://github.com/treeverse/dvc-objects/actions?workflow=Tests
   :alt: Tests
.. |Codecov| image:: https://codecov.io/gh/treeverse/dvc-objects/branch/main/graph/badge.svg
   :target: https://app.codecov.io/gh/treeverse/dvc-objects
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black


Features
--------

* serverless
* supports multiple storages (local, s3, gs, gdrive, ssh/sftp, etc)
* based on fsspec


Requirements
------------

Storage must support these operations:

* uploading
* downloading
* listing
* copying
* quasiatomic rename


Installation
------------

You can install *DVC objects* via pip_ from PyPI_:

.. code:: console

   $ pip install dvc-objects


Usage
-----

This is used in `dvc`_ and `dvc-data`_.

Contributing
------------

Contributions are very welcome.
To learn more, see the `Contributor Guide`_.


License
-------

Distributed under the terms of the `Apache 2.0 license`_,
*DVC objects* is free and open source software.


Issues
------

If you encounter any problems,
please `file an issue`_ along with a detailed description.


.. _Apache 2.0 license: https://opensource.org/licenses/Apache-2.0
.. _PyPI: https://pypi.org/
.. _file an issue: https://github.com/treeverse/dvc-objects/issues
.. _pip: https://pip.pypa.io/
.. github-only
.. _Contributor Guide: CONTRIBUTING.rst
.. _dvc: https://github.com/treeverse/dvc
.. _dvc-data: https://github.com/treeverse/dvc-data