Giter Club home page Giter Club logo

aiosparql's Issues

Improve test environment

  1. We could use a fixture to run the test server automatically for the integration tests.
  2. We could use py.test syntax which is simpler and clearer to rewrite all the tests.

(See discussion #27 (comment) )

Tests not working

Hi there, should pytest-aiohttp be installed or not? It's not in the test-requirements.txt but it's in the conftest file. When I have it installed all tests fail with

ValueError: option names {'--fast'} already added

When I don't have it installed the test_syntax and test-escape work but I get errors in 9/10 of the test_client tests. Some failures are these:

AttributeError: 'TestClient' object has no attribute 'query'

RuntimeError: There is no current event loop in thread 'MainThread'.

Relevant versions:

Python 3.5.2

aiohttp==2.3.10

pytest==4.3.1

Looking for the project maintainer

@cecton, the project initial author, doesn't use Python anymore.
She is not interesting for aiosparql project support.

I never used sparql personally and overwhelmed by other Open Source projects.

The library is looking for a project maintainer.
The responsibility is not too high, maybe the biggest challenge for now is keeping the support of the newest Python and aiohttp versions.

I can help with any question, CI setup, etc. but really love to have the project owner who is responsible for communication with users and keeping updates working.

If somebody wants to be a champion -- please left a comment.

Switch to github actions

Travis was a great tool but now it is barely nonfunctional for open source projects.
We need the migration to GitHub Workflows.

The change is obvious and trivial; a champion is needed.

Add automatic deploy and pyup bot

  1. Most of projects has this feature so each team member can trigger deploy with git tag, should be easy to do
  2. we use pyup bot to watch updates in dependencies, very useful tool to find incompatibilities.

Make a real documentation

Right now the only documentation is the synopsis in the README. We could provide much more documentation.

Release v0.10.0

I think we are good for a new alpha release at this point. Can you show me how you normally do that?

Thanks

KeyError when query includes "UNION"

pretty much the title.

I'm a big fan of this package, it helped me alot in my Masterthesis but today I seemed to have trouble with it.

from aiosparql.client import SPARQLClient

async with SPARQLClient("https://dbpedia.org/sparql") as client:
       result = await client.query("select ?redirects where {{?redirects dbo:wikiPageRedirects dbr:Big_Trout_Lake} union {dbr:Big_Trout_Lake dbo:wikiPageRedirects ?redirects}}")

this query seems to break and infact every query that includes "UNION". For now I will try to work around it by quering the endpoint two times and concatinate the results afterwards but it would be cool if you could fix that issue.

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.