Skip to main content

A framework for elegantly configuring complex applications

Project description

Hydra Slayer

build Pipi version Python Version License Slack

Hydra Slayer is a 4th level spell in the School of Fire Magic. Depending of the level of expertise in fire magic, slayer spell increases attack of target troop by 8 against behemoths, dragons, hydras, and other creatures.

What is more, it also allows configuring of complex applications just by config and few lines of code.


Installation

Using pip you can easily install the latest release version PyPI:

pip install hydra-slayer

Example

dataset:
  _target_: torchvision.datasets.CIFAR100
  root: ./data
  train: false
  download: true
import hydra_slayer
import yaml

with open("dataset.yaml") as stream:
    raw_config = yaml.safe_load(stream)

config = hydra_slayer.get_from_params(**raw_config)
config["dataset"]
# Dataset CIFAR100
#     Number of datapoints: 10000
#     Root location: ./data
#     Split: Test

Please check documentation for more examples.

Documentation

Full documentation for the project is available at https://catalyst-team.github.io/hydra-slayer

Communication

  • GitHub Issues: Bug reports, feature requests, install issues, RFCs, thoughts, etc.
  • Slack: The Catalyst Slack hosts a primary audience of moderate to experienced Hydra-Slayer (and Catalyst) users and developers for general chat, online discussions, collaboration, etc.
  • Email: Feel free to use feedback@catalyst-team.com as an additional channel for feedback.

Citation

Please use this bibtex if you want to cite this repository in your publications:

@misc{catalyst,
    author = {Sergey Kolesnikov and Yauheni Kachan},
    title = {Hydra-Slayer},
    year = {2021},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/catalyst-team/hydra-slayer}},
}

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

hydra_slayer-0.5.0.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

hydra_slayer-0.5.0-py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 3

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