Skip to main content

A simple and straight-forward Python module for creating context-dependent proxy objects.

Project description

proxyvars skeleton

Package version Supported Python versions

Tests Coverage Documentation Status License

Poetry Ruff Pre-commit

A simple and straight-forward Python module for creating context-dependent proxy objects.

As for now, the documentation is mostly in the codebase (check relevant docstrings of proxy(), const_proxy(), lookup_proxy(), proxy_field_accessor(), proxy_item_accessor() and proxy_attribute_accessor() for more information).

Installation

You might simply install it with pip:

pip install proxyvars

If you use Poetry, then run:

poetry add proxyvars

For contributors

[!Note] If you use Windows, it is highly recommended to complete the installation in the way presented below through WSL2.

  1. Fork the proxyvars repository on GitHub.

  2. Install Poetry.
    Poetry is an amazing tool for managing dependencies & virtual environments, building packages and publishing them. You might use pipx to install it globally (recommended):

    pipx install poetry
    

    If you encounter any problems, refer to the official documentation for the most up-to-date installation instructions.

    Be sure to have Python 3.8 installed—if you use pyenv, simply run:

    pyenv install 3.8
    
  3. Clone your fork locally and install dependencies.

    git clone https://github.com/your-username/proxyvars path/to/proxyvars
    cd path/to/proxyvars
    poetry env use $(cat .python-version)
    poetry install
    

    Next up, simply activate the virtual environment and install pre-commit hooks:

    poetry shell
    pre-commit install --hook-type pre-commit --hook-type pre-push
    

For more information on how to contribute, check out CONTRIBUTING.md.
Always happy to accept contributions! ❤️

Legal info

© Copyright by Bartosz Sławecki (@bswck).
This software is licensed under the terms of MIT License.

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

proxyvars-0.9.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

proxyvars-0.9.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file proxyvars-0.9.2.tar.gz.

File metadata

  • Download URL: proxyvars-0.9.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for proxyvars-0.9.2.tar.gz
Algorithm Hash digest
SHA256 8517e245fe6fa5266d27edc53ca14d63ba772d042a40bcd5802dd64973347aef
MD5 631dee58761e67c14dda0fcf0f45666e
BLAKE2b-256 acd35486efa756f01c2f91280003dd9866d3653b533380eb4a152bd53207a78f

See more details on using hashes here.

File details

Details for the file proxyvars-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: proxyvars-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for proxyvars-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e0345af984fc24f96ab3a722d423f547386ae5b2f735ff4ca7f4b5d34435b83
MD5 dbfd4be7d1e05dea21d3d0d1adfec0b5
BLAKE2b-256 f6239b8c6a6b2b5edd4cd68fd597f2b1f2af90ca24783294b674b6f3c3f35921

See more details on using hashes here.

Supported by

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