davidzisky / evegenie Goto Github PK
View Code? Open in Web Editor NEWA tool for making Eve schema generation easier.
License: Apache License 2.0
A tool for making Eve schema generation easier.
License: Apache License 2.0
When a null value is passed in as a part of the json object, evegenie fails. We should instead create an item with 'nullable': True - leaving the 'type' off.
Need some simple input examples so people know what to put in their JSON files...
Test coverage should be closer to 100%. Check here to see what isn't covered: https://coveralls.io/github/newmediadenver/evegenie?branch=master.
Hi,
could you please deploy this tool, as a pip package instead of a git repository please.
I'd be really glad to use it this way:
pip install evegenie
evegenie sample.json
Instead i'm forced to :
git clone https://github.com/drud/evegenie.git
cd evegenie
pip -r requirements
python geneve.py sample.json
please notice that the binary is not named as the project i've just cloned. Which is a little bit confusing.
Please check this out:
https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
I have just tried installing evegenie using the instructions on the homepage. I cloned the repo into ~/git/evegenie, then ran the install command, but I immediately get an error. Here is the overall console output:
arjun@arjun-G53SW:~/git/evegenie$ ll
total 32
drwxrwxr-x 2 arjun arjun 4096 Oct 10 20:51 docs/
drwxrwxr-x 3 arjun arjun 4096 Oct 10 20:51 evegenie/
-rw-rw-r-- 1 arjun arjun 736 Oct 10 20:51 geneve.py
-rw-rw-r-- 1 arjun arjun 1084 Oct 10 20:51 LICENSE
-rw-rw-r-- 1 arjun arjun 3371 Oct 10 20:51 README.md
-rw-rw-r-- 1 arjun arjun 37 Oct 10 20:51 requirements.txt
-rw-rw-r-- 1 arjun arjun 736 Oct 10 20:51 test.json
drwxrwxr-x 2 arjun arjun 4096 Oct 10 20:51 tests/
arjun@arjun-G53SW:~/git/evegenie$ sudo pip install -r requirements.txt
[sudo] password for arjun:
The directory '/home/arjun/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/arjun/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.8 in /home/arjun/.local/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Collecting pytest==2.7.2 (from -r requirements.txt (line 2))
Downloading pytest-2.7.2-py2.py3-none-any.whl (127kB)
100% |████████████████████████████████| 133kB 1.7MB/s
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 317, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 448, in _prepare_file
req_to_install, finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 387, in _check_skip_installed
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
Any ideas as to what could be causing this?
Interestingly, it does produce correct output when I run python geneve.py test.json
As stated in #24 you are not maintaining this repository anymore.
In order to avoid unwanted disturbance you can mark it as dormant/discontinued in the README.md.
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.