Skip to main content

Project to generate recipes for conda packages.

Project description

Grayskull


Tests Checkers Deployment (PyPI)

codecov Code style: black PyPI version Conda Version Gitter Language grade: Python




"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

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. Future versions of Grayskull will support recipe generation for packages of other repositories such as CRAN and Conan 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-incubator/grayskull.git
cd grayskull
pip install -e .

Usage

It is pretty simple to use grayskull. Just call it, pass the repository (just pypi for now) 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-2021.

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grayskull-1.4.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

grayskull-1.4.0-py3-none-any.whl (165.3 kB view details)

Uploaded Python 3

File details

Details for the file grayskull-1.4.0.tar.gz.

File metadata

  • Download URL: grayskull-1.4.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for grayskull-1.4.0.tar.gz
Algorithm Hash digest
SHA256 803ff00fd4e7473df1ad7680363dcd78410bd8387e72a7d91e4ddc7e63a111d7
MD5 821122ad10b2f40f1b864f2c2c49498c
BLAKE2b-256 efe2f6d3b1d38147861110f08b426997bc2025ac32d3346f5ef3ad03e6236a9f

See more details on using hashes here.

File details

Details for the file grayskull-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: grayskull-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 165.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.13

File hashes

Hashes for grayskull-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 541d0045a4a719d0bfa94cc5a5be3d3bf3cef04e5331320b84e299e7c1851077
MD5 edcf0fd442381c7280fd15b89f4f8c1d
BLAKE2b-256 54c9a642d2769232ec5f2b3bb158189962341f9632c0be851a621fc343ce3d1e

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