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.3.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hydra_slayer-0.3.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file hydra-slayer-0.3.0.tar.gz.

File metadata

  • Download URL: hydra-slayer-0.3.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.12 Linux/5.8.0-1042-azure

File hashes

Hashes for hydra-slayer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 27c6ddf9ea44f70307a807966530540b79f5bc8276364fd017c1697edf8a8b18
MD5 8b8b26ca92bdedc5e927f0e3597f7d2f
BLAKE2b-256 e514b0c8bc44903f913f2f848d27aff3b86c0af870944f95f8a5788f2de99927

See more details on using hashes here.

File details

Details for the file hydra_slayer-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: hydra_slayer-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.8.12 Linux/5.8.0-1042-azure

File hashes

Hashes for hydra_slayer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5fa2c2ba83a931a5be70ab9ebbce0f57ec65eec3560752ee734b86df82a191
MD5 a213b11c7d13d9ee4a1e52ebba514c77
BLAKE2b-256 cb14c110a7ba0decb8c99fc657943316085e41479fb9a58943c78495d5cc57f5

See more details on using hashes here.

Supported by

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