Giter Club home page Giter Club logo

evegenie's People

Contributors

beeradb avatar davidzisky avatar frodopwns avatar nicolaiarocci avatar nmccrory avatar ultimateboy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

evegenie's Issues

Improve Examples

Need some simple input examples so people know what to put in their JSON files...

Add support for null values

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.

Mark the project as discontinued

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.

Error on install - 'Requirement' object has no attribute 'project_name'

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

Deploy pip, install as a python binary

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/

Todo

  • Improve examples #7
  • Improve test coverage #6
  • Move test related files into tests/ dir

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.