GithubHelp home page GithubHelp logo

patdaoust / yarnproject Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 127.12 MB

A simple bit of code to recommend yarns for crochet and knitting projects. Takes in the URL for any pattern on ravelry.com

License: MIT License

Python 6.75% Rich Text Format 93.25%
yarn crochet knitting ravelry ravelry-api python

yarnproject's Introduction

YarnProject

Description

A simple bit of code to recommend yarns for crochet and knitting projects. Takes in the URL for any pattern on ravelry.com

I hope this tiny project can help those unfamilar with yarn types to chose a material that is appropriate to their fiber arts project. I'm a crocheter myself, and worked with some non-coder crochet and knitting friends to make sure to consider the important characteristics of a yarn. I suspect this tool could also be useful for other yarn based fiber arts such as weaving, but as I don't know the technical details of these arts I can't be sure. If any exerienced weavers or practitioners of other fibers are have a moment, I'd love feedback on the yarn recommendations.

WARNING: this code is note yet minimally functional. Updates are comming soon. I'll also be implementing a function to suggest substitution yarns based on any yarn on ravelry.com Feel free to suggest other features.

Installation

Copy the file "YarnDB yarn selector.py" to your directory and machine. Run the file, this will prompt you to input the URL to the pattern you would like yarn suggestions for. Please make sure to input the full URL for your pattern, such as https://www.ravelry.com/patterns/library/velvet-cache-cou

Please note that this code interacts with the Ravelry API, and so requires an internet connection, and depends on Ravelry being functional when you run the code.

Requirements

Requires the following python modules: requests

Credits

Developed by Patricia Daoust [email protected] https://github.com/CatalunaLilith

Many thanks to Cassidy Forbes, the amazing coder of ravelry.com

License

MIT License

yarnproject's People

Contributors

patdaoust avatar

Stargazers

 avatar  avatar  avatar  avatar  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.