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

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

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

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.1.1.tar.gz (10.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.1.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hydra-slayer-0.1.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for hydra-slayer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c86a49f7f6b71e5cea725816269e18849fed8da480599b493e7013005aa67b35
MD5 dc69155ac9ebd46b4797e245fb0c0f3b
BLAKE2b-256 dfe1d19c19db43237e837256aa4aa3ed300eeb53741465854c4a7880daed9014

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hydra_slayer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for hydra_slayer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b99a0b484fba519975fbc90a8e13fcddd22ed3ca33c5bfae6a97c9fc5c2cd3d1
MD5 9fb1d4b2137c8f96f2f8a695190572cb
BLAKE2b-256 33f5bb483466fdc1f16627630f1f4fd3edc886a2c567ce5cb789bcd5d8958675

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