• Stars
    star
    306
  • Rank 136,456 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Grayskull πŸ’€ - Recipe generator for Conda

Grayskull


Tests Deployment (PyPI)

codecov Code style: black PyPI version Conda Version Gitter




"Skeletonr's main goal is to conquer the mysterious fortress of Castle Grayskull, from which He-Man draws his powers. If he succeeds, Skeletor would be able to conquer not only Eternia, but the whole universe."
Adapted from Wikipedia. Image credits: https://he-man.fandom.com

Introduction

Grayskull is an automatic conda recipe generator.
The main goal of this project is to generate concise recipes for conda-forge. The Grayskull project was created with the intention to eventually replace conda skeleton.
Presently Grayskull can generate recipes for Python packages available on PyPI and also those not published on PyPI but available as GitHub repositories. Grayskull can also generate recipes for R packages published on CRAN. Future versions of Grayskull will support recipe generation for packages of other repositories such as Conan and CPAN etc..

Installation

It is possible to install this project using pip:

pip install grayskull

or conda, using the conda-forge channel:

conda install -c conda-forge grayskull

It is also possible to clone this repo and install it using pip:

git clone https://github.com/conda/grayskull.git
cd grayskull
pip install -e .

Usage

It is pretty simple to use grayskull. Just call it, pass the repository (pypi or cran) and the package name.

  • Example:
grayskull pypi pytest

After that grayskull will create a folder with the same name as the package and inside this folder the generated recipe will be present (meta.yaml).

  • Example with pytest (grayskull pypi pytest):

Grayskull CLI

If your package is a GitHub repository just replace the package name with the GitHub repository URL.
For example:

grayskull pypi https://github.com/confluentinc/confluent-kafka-python

You can also generate a recipe from a local sdist archive:

grayskull pypi ./pytest-5.3.5.tar.gz

Note that such a recipe isn't really portable as it will depend on the local path of the sdist file. It can be useful if you want to automatically generate a conda package.

Online Grayskull

It is also possible to use Grayskull without any installation. You can go to this website marcelotrevisani.com/grayskull and inform the name and the version (optional) of the package and it will create the recipe for you.

License

Copyright Marcelo Duarte Trevisani and contributors, 2020-2023.

Distributed under the terms of the Apache 2.0 license, grayskull is free and open source software.

More Repositories

1

conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
Python
6,285
star
2

conda-pack

Package conda environments for redistribution
Python
519
star
3

conda-lock

Lightweight lockfile for conda environments
Python
461
star
4

constructor

tool for creating installers from conda packages
Python
453
star
5

conda-docs

Conda documentation
378
star
6

conda-build

Commands and tools for building conda packages
Python
375
star
7

rattler

Rust crates to work with the Conda ecosystem.
Rust
260
star
8

conda-libmamba-solver

The libmamba based solver for conda.
Python
188
star
9

pycosat

Python bindings to picosat (a SAT solver)
C
182
star
10

cookiecutter-conda-python

A cookiecutter template for conda packages using Python
Python
102
star
11

menuinst

Cross platform menu item installation
Python
34
star
12

conda-package-handling

Create and extract conda packages of various formats
Python
26
star
13

governance

The Conda & Conda-Incubator Governance Policy
Python
25
star
14

ceps

Conda Enhancement Proposals
19
star
15

conda-verify

Verify conda recipes and packages
Python
17
star
16

conda-prefix-replacement

CPR resuscitates packages in new locations
Python
11
star
17

infrastructure

A repo to report issues and have discussions about the conda infrastructure
Python
11
star
18

conda-index

conda index, formerly part of conda-build. Create channels from collections of packages.
Python
9
star
19

schemas

Conda file formats and schemas
Python
9
star
20

conda-package-streaming

An efficient library to read from new and old format .conda and .tar.bz2 conda packages.
Python
9
star
21

conda-plugin-template

Python
8
star
22

conda-content-trust

Signing and verification tools for conda
Python
7
star
23

conda-benchmarks

Benchmarking the conda project
Python
4
star
24

issue-tracker

A visualization of the issue count of conda org repositories over time.
Python
2
star
25

conda_build_test_recipe

This repo is used for testing conda-build
Python
2
star
26

actions

A collection of custom GitHub Actions for the conda org.
Python
1
star
27

test-cla

1
star
28

communications

Repo to organize conda communications work
1
star
29

conda-standalone

A standalone conda executable built with PyInstaller.
Python
1
star