aio-libs / aiosparql Goto Github PK
View Code? Open in Web Editor NEWAn asynchronous SPARQL client library using aiohttp
License: Apache License 2.0
An asynchronous SPARQL client library using aiohttp
License: Apache License 2.0
(See discussion #27 (comment) )
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
The database can also be manage with HTTP operations: http://www.w3.org/TR/sparql11-http-rdf-update/
In order to implement this, we need to free the SPARQLClient from the inherited get, put, post and delete methods.
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Our PyPI credentials:
andrew.svetlov
fafhrd
@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.
As suggested, those properties are bound to the Client and should be read-only.
In the previous versions we had the possibility of using async with
but it's now not possible anymore (because we removed the inheritance from ClientSession
). We should implement it to make the code easier to write for the developers.
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.
@asvetlov I think I just managed to lose access to my own repository facepalm Can you add aiosparql-admins to this repo?
Do like this:
REPO_NAME={{ YOUR_REPO_NAME }}
travis encrypt -r "aio-libs/${REPO_NAME}" --api-endpoint 'https://api.travis-ci.com/'
Ref: https://github.com/orgs/aio-libs/teams/admins/discussions/9
Right now the only documentation is the synopsis in the README. We could provide much more documentation.
See the details @ https://github.com/orgs/aio-libs/discussions/26.
For this, we'll need somebody with Owner privileges to either give me access on PyPI (the username there is the same โ webknjaz
) or be invited to the org by me (for that I'd need the username of such an individual).
As a bonus, this will also allow us to set up secretless publishing from GHA to PyPI and get rid of the in-repo secrets.
cc @cecton
I just discovered that the attributes of the metaclass are shared with the classes. prefixes
is not intended to be inherited and probably conflict if the developer creates a PrefixedName
called "prefixes".
I think we are good for a new alpha release at this point. Can you show me how you normally do that?
Thanks
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.
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.