hotzenklotz / pybeerxml Goto Github PK
View Code? Open in Web Editor NEWA simple BeerXML parser for Python
License: MIT License
A simple BeerXML parser for Python
License: MIT License
Hey and first of all thank you for this great library! It is helping me a lot in my projects to get alone with the beerxmls.
I now have the requirement to export the parsed beerxmls again in an xml formatted way and was wondering, if the library can help me here as well?
Any help is highly appreciated!
I've tried installing with pip install pybeerxml
, pip install -U pybeerxml
, and sudo pip install pybeerxml
, plus tried replacing pip
with pip3
in all of those; I've also tried purging the pip cache between each attempt. All of these attempts give me some close variation on:
sudo pip install pybeerxml
Collecting pybeerxml
Using cached pybeerxml-1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-gknj4krg/pybeerxml/setup.py", line 5, in <module>
import pybeerxml
File "/tmp/pip-build-gknj4krg/pybeerxml/pybeerxml/__init__.py", line 1, in <module>
from recipe import Recipe
ImportError: No module named 'recipe'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gknj4krg/pybeerxml/
00:39:21 patrick@linawesome _posts$ sudo pip install pybeerxml
Collecting pybeerxml
Downloading pybeerxml-1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-onobhrs7/pybeerxml/setup.py", line 5, in <module>
import pybeerxml
File "/tmp/pip-build-onobhrs7/pybeerxml/pybeerxml/__init__.py", line 1, in <module>
from recipe import Recipe
ImportError: No module named 'recipe'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-onobhrs7/pybeerxml/
It looks to me like the code is trying to run itself during the install (from recipe import Recipe
) but before it's fully installed, preventing the installation from completing. No?
I'm running 64-bit Python 2.7.9 and Python 3.4.2 under Crunchbang++ Linux, a Debian derivative.
First off, thanks for the great library! Helps me a lot, as I'm currently parsing BeerXML recipes for data analysis :)
I've recignized that the values for ibu/fg/og/abv/color are calculated from the recipe ingredients, so there's no way to retrieve the values originally provided in the recipe XML. Do you see any chance to make these values somehow available? E.g. via an og_beerxml
(or similar) attribute?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.