Git Product home page Git Product logo

copiertemplate.jl's Introduction

COPIERTemplate.jl

ARCHIVED: Forked to BestieTemplate.jl - Copier OPInionated Evolving Reusable Template

Stable Documentation In development documentation Build Status Test workflow status Lint workflow Status Docs workflow Status Coverage DOI Contributor Covenant All Contributors Copier

What does COPIERTemplate do?

Creating Julia packages involve the creation and edition of many tiny files. Wouldn't it be great to automate this?

This is exactly what COPIERTemplate does.

FAQ

  • How is COPIERTemplate different from PkgTemplates?
    • it can be applied to existing packages
    • it invites to follow some (opinionated) best practices
    • it can be reapplied to acquire updates made to the template
    • it is automatically reapplied through Pull Requests made by the Copier.yml workflow (Work in progress)

Architecture

Under the hood, COPIERTemplate is no more and no less than:

  • a copier template/skeleton for Julia packages (see folder template); and
  • a package that wraps copier in Julia using PythonCall.

Quickstart

Install COPIERTemplate in your chosen environment (we recommend globally) by entering pkg mode by pressing ] and then:

pkg> add COPIERTemplate

then:

julia> using COPIERTemplate
julia> COPIERTemplate.generate("YourPackage.jl")

please note that "YourPackage.jl" can either be a fresh new package or an existing one.

asciicast

If you like what you see, check the full usage guide.

Users and Examples

The following are users and examples of repos using this template, or other templates based on it. Feel free to create a pull request to add your repo.

Contributing

If you would like to get involved in the COPIERTemplate growth, please check our contributing guide. We welcome contributions of many types, including coding, reviewing, creating issues, creating tutorials, interacting with users, etc. Make sure to follow our code of conduct.

If your interest is in developing the package, check the development guide as well.

References

Here is a list of links/repos that include content that we have used for inspiration, or used directly. This is most likely not a complete list, since many of the things included here were based on existing packages and knowledge that we brought from other projects. This also doesn't explain where each file came from or why they are here. You can find some of that information in the Explanation section of the docs.

  • PkgTemplates.jl, naturally. We used it for many years, and in particular for the initial TulipaEnergyModel.jl commit (see below).
  • Netherlands eScience Center's python template includes many of the best practices that we apply here. We used many of the ideas there in a Julia context, and took many non-Julia specific ideas from there.
  • TulipaEnergyModel.jl was the project that motivated this version of a template. From the start we decide to implement many best practices and so we started from a PkgTemplates.jl template and started adding parts of the python template that made sense.
  • The Julia Smooth Optimizers package ecosystem was one of the main motivations to look for a solution that could be applied and reapplied to existing packages, in particular to help maintainers.

Contributors

Abel Soares Siqueira
Abel Soares Siqueira

πŸ’» πŸ“† πŸ“– 🚧
Tangi Migot
Tangi Migot

πŸ’» πŸ“– πŸ‘€
Pablo RodrΓ­guez-SΓ‘nchez
Pablo RodrΓ­guez-SΓ‘nchez

πŸ“– πŸ€”
Olga Lyashevska
Olga Lyashevska

πŸ’» πŸ“– πŸ€”
Luisa Orozco
Luisa Orozco

πŸ’» πŸ“– πŸ€”
Netherlands eScience Center
Netherlands eScience Center

πŸ’΅
Suvayu Ali
Suvayu Ali

πŸ› πŸ‘€
Stefan Verhoeven
Stefan Verhoeven

πŸ’» πŸ€”
Dominique
Dominique

πŸ€”

copiertemplate.jl's People

Contributors

abelsiqueira avatar allcontributors[bot] avatar dependabot[bot] avatar github-actions[bot] avatar luisaforozco avatar lyashevska avatar pabrod avatar sverhoeven avatar tmigot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.