All Projects → Shravan-1908 → hydra

Shravan-1908 / hydra

Licence: MIT license
A command-line utility for generating language-specific project structure.

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
perl
6916 projects
powershell
5483 projects

Projects that are alternatives of or similar to hydra

lightning-hydra-template
PyTorch Lightning + Hydra. A very user-friendly template for rapid and reproducible ML experimentation with best practices. ⚡🔥⚡
Stars: ✭ 1,905 (+10483.33%)
Mutual labels:  hydra, project-structure
crawler click tutorial
click tutorial ( crawler ) use python
Stars: ✭ 15 (-16.67%)
Mutual labels:  command-line-tool
hyku
Hyku: A multi-tenant Hyrax application built on the latest and greatest Samvera community components. Brought to you by the Hydra-in-a-Box project partners and IMLS; maintained by the Hyku Interest Group.
Stars: ✭ 83 (+361.11%)
Mutual labels:  hydra
gatling
Hydra-enabled GPU path tracer that supports MaterialX and MDL.
Stars: ✭ 159 (+783.33%)
Mutual labels:  hydra
specification
RDF vocabulary and specification
Stars: ✭ 21 (+16.67%)
Mutual labels:  hydra
CommandGenInterface
Simple vueJS based command generator which I developed in order to learn vueJS a little bit more.
Stars: ✭ 17 (-5.56%)
Mutual labels:  hydra
deepaudio-speaker
neural network based speaker embedder
Stars: ✭ 19 (+5.56%)
Mutual labels:  hydra
fix
Allows you to use OpenAI Codex to fix errors in the command line.
Stars: ✭ 72 (+300%)
Mutual labels:  command-line-tool
tidal-looper
Different looper variants for SuperDirt to provide live sampling in TidalCycles.
Stars: ✭ 55 (+205.56%)
Mutual labels:  hydra
rails-app-best-practice
Rails app structure example
Stars: ✭ 37 (+105.56%)
Mutual labels:  project-structure
hydra-js
DOES NOT WORK WITH VERSIONS > 0.10.0 - A simple library to help you build node-based identity providers that work with Hydra.
Stars: ✭ 17 (-5.56%)
Mutual labels:  hydra
go-todo-backend
Go Todo Backend example using modular project layout for product microservice.
Stars: ✭ 177 (+883.33%)
Mutual labels:  project-structure
notion scheduler
Allows the creation of recurring tasks in Notion.
Stars: ✭ 17 (-5.56%)
Mutual labels:  command-line-tool
hydra-antlia
A collection of functions for Hydra
Stars: ✭ 45 (+150%)
Mutual labels:  hydra
glacier
❄️ Building Python CLI using docstrings and typehints 🐍
Stars: ✭ 84 (+366.67%)
Mutual labels:  command-line-tool
presentations
Presentations at the Tokyo Nixos Meetup
Stars: ✭ 57 (+216.67%)
Mutual labels:  hydra
lightning-transformers
Flexible components pairing 🤗 Transformers with Pytorch Lightning
Stars: ✭ 551 (+2961.11%)
Mutual labels:  hydra
libgen-downloader
A simple tool to search and download ebooks from libgen via terminal user interface.
Stars: ✭ 98 (+444.44%)
Mutual labels:  command-line-tool
pint
A single-file command-line package manager for Windows.
Stars: ✭ 35 (+94.44%)
Mutual labels:  command-line-tool
note-keeper
📓 A tiny bash tool for taking and organizing notes.
Stars: ✭ 58 (+222.22%)
Mutual labels:  command-line-tool

hydra

Continuous Integration

hydra is a command line utility for generating language-specific project structures.

python-init

python-dir


Features

  • Build project templates with just one command
  • Support for seven different licenses
  • Language-specific .gitignore file
  • Configure default language and default license to work with
  • Fast and reliable

⚡️ Installation

For Linux users:

If you use an Arch based distro,

yay -S hydra-go

Or any other AUR helper would work.

Otherwise,

Execute the following command in bash:

curl https://raw.githubusercontent.com/Shravan-1908/hydra/main/linux_install.sh > hydra_install.sh

chmod +x ./hydra_install.sh

bash ./hydra_install.sh

For MacOS users:

Execute the following command in bash:

curl https://raw.githubusercontent.com/Shravan-1908/hydra/main/macos_install.sh > hydra_install.sh

chmod +x ./hydra_install.sh

bash ./hydra_install.sh

For Windows users:

Open Powershell as Admin and execute the following command:

Set-ExecutionPolicy Bypass -Scope Process -Force; (Invoke-WebRequest -Uri https://raw.githubusercontent.com/Shravan-1908/hydra/main/windows_install.ps1 -UseBasicParsing).Content | powershell -

To verify the installation of hydra, open a new shell and execute hydra -v. You should see output like this:

hydra 2.2.0

Version: 2.2.0

If the output isn't something like this, you need to repeat the above steps carefully.


💡 Usage

This section shows how you can use hydra.

config

The config command is used to set or alter the hydra user configurations.

$ hydra config {flags}

The valid flags for config command are:

  • name --> The name of the user. It is used as the name of the copyright holder in the LICENSE file.

  • github-username --> The Github username of the user. It is used to initiate the modules in go.

  • default-lang --> The default language for project initialisation. It is used in case the lang argument is not provided in the init command. Valid options for the default-lang flag are:

    • go
    • python
    • web
    • flask
    • c
    • c++
    • ruby
  • default-license --> The default license for project creation. Valid values are:

    • MIT
    • GPL
    • BSD
    • APACHE
    • EPL
    • MPL
    • UNI

Once hydra is installed, it is advised to run the following command to complete the configuration.

$ hydra config --name "YOUR NAME" --github-username "YOUR GITHUB USERNAME"

list

The list command is used to list supported languages, licenses and the hydra user configurations.

$ hydra list <item>

Valid options for the item argument are:

  • langs --> Languages supported by hydra
  • licenses --> Licenses supported by hydra
  • configs --> The hydra user configurations

Example: hydra list langs

init

To create a new project structure using hydra, execute:

$ hydra init <project name> [lang]

The init command initialises the project.

Valid options for the language argument are:

  • python
  • go
  • web
  • flask
  • c
  • c++
  • ruby

Example: hydra init myProject python

In case the lang argument is not provided, hydra falls back to the default-lang configuration.

You can view the structures.md file to see the project structure hydra creates for every language it supports.

version

$ hydra version

The version command shows the version of hydra installed.

help

$ hydra help

Renders assistance for hydra on a terminal, briefly showing its usage.


Change Log

The changes made in the latest version of hydra, v2.2.0 are:

  • Added flask (python web framework), C, C++, and ruby as language types for project initialisation
  • Improved web initialisation
  • Added support for Unilicense
  • Changed the hydra config directory

View CHANGELOG.md for more information.


🔖 Versioning

hydra releases follow semantic versioning, every release is in the x.y.z form, where:

  • x is the MAJOR version and is incremented when a backwards incompatible change to hydra is made.
  • y is the MINOR version and is incremented when a backwards compatible change to hydra is made, like changing dependencies or adding a new function, method, struct field, or type.
  • z is the PATCH version and is incremented after making minor changes that don't affect hydra's public API or dependencies, like fixing a bug.

📄 License

License © 2021-Present Shravan Asati

This repository is licensed under the MIT license. See LICENSE for details.


👥 Contribution

Pull requests are more than welcome. For more information on how to contribute to hydra, refer CONTRIBUTING.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].