nanopub
nanopub copied to clipboard
Python client for searching, publishing and modifying nanopublications.
Hi, I tried running `np setup` and it failed to parse my reply to the prompt `Would you like to publish your profile to the nanopub servers?`:  I think...
In the `NanopubClient._query_grlc_try_servers` method, all available grlc servers are tried by checking if they don't return HTTP 502. This breaks on other types of failures, like timeouts. If one of...
Hi. It seems that the website nanopub.org is not reachable: http://nanopub.org/ I think that it is an essential resource for nanopublications. Is it still being maintained? Is there someone that...
This returns 2 results: ```python >>> results = client.find_nanopubs_with_text('Picoides') >>> for result in results: >>> print(result) {'np': 'http://purl.org/np/RAMzGwLotMRSQTHRCS15B6hvuYSyEupGnxZaFU3EmcItA', 'description': 'Inter-species interaction of Picoides villosus with Ips', 'date': '2020-12-24T10:51:43.931Z'} {'np': 'http://purl.org/np/RAMzGwLotMRSQTHRCS15B6hvuYSyEupGnxZaFU3EmcItA',...
The last character represents a checksum, and can be ```X``` for 10. At present we don't perform this extra check that the id is valid.
Hello! 👋 I've tried creating a keypair a few different ways (`openssl genrsa` and using the `pycryptodome` library) - I can read the keys with `pycryptodome` but the `np setup`...