Recent Releases of skosprovider
skosprovider - 1.2.0
- Update links in README.rst (#107)
- Update setup.py (#108)
- Drop support for Python 3.6 (#114)
- Python
Published by JonasGe almost 4 years ago
skosprovider - 1.1.1
- An empty or invalid language tag as query parameter is raising 500 Exception (#110)
- Python
Published by goessebr over 4 years ago
skosprovider - 1.1.0
- Last release at this location. Development will move to main Onroerend Erfgoed Github account for future versions.
- Allow passing a list of languages to the label function. Eg. passing ['nl-BE', 'en'] will first try to match with any form of Dutch, then any form of English and finally anything else. Bear in mind that nl-BE will also match with nl, so passing ['nl-BE', 'nl', 'en'] is superfluous. (#80)
- Better error handling when registering a Conceptscheme with the registry (or removing it). (#102)
- Add a CITATION.cff file to make it easier to cite Skosprovider. (#104)
- Python
Published by koenedaele over 4 years ago
skosprovider - 1.0.0
- Drop support for Python 2. Only version 3.6 and higher are supported now. (#74)
- Remove pyup suspport. (#85)
- Update pyld and other dependencies. (#76)
- Python
Published by koenedaele over 4 years ago
skosprovider - 0.7.1
- Add check on allowedinstancescopes being None. (#69)
- Allow getting a provider URI without loading a Conceptscheme. (#72)
- Try not to load the full conceptscheme when registering a provider in the registry. (#72)
- Python
Published by koenedaele about 6 years ago
skosprovider -
- Add dumpers to transform a provider, a conceptscheme, a concept or collection in to a dictionary compatible with a JSON-LD context that has been added. This makes it possible to transform a provider into Linked Data.
- Make handling of the hierarchy involving collections as thesaurus arrays more logical. A collection now has an attribute skosprovider.skos.Collection.inferconceptrelations that indicates if the members of a collection should be seen as narrower concepts of a superordinate concept. This is generally important when expanding a concept to all it's narrower concepts for searching. (#57)
- Add a new query option for querying matches with concepts from external conceptschemes to skosprovider.providers.VocabularyProvider.find. (#58)
- A registry can now carry metadata just like a provider.
- A registry now has an attribute skosprovider.registry.Registry.instancescope that indicates how the registry is managed in the application process. All providers need to indicate what kinds of instancescope they're compatible with. Especially important for SQLAlchemyProvider run in a web application. (#63, #66)
- Fix a bug that made it impossible for a skosprovider.providers.SimpleCsvProvider to read sources. (#36)
- Drop support for Python 3.3, 3.4 and 3.5. Adds support for 3.8. This is the last version that will support Python 2. Version 0.8.0 will drop support for Python 2.7.
- Python
Published by koenedaele over 6 years ago
skosprovider - 0.6.1
- A provider can now receive a dataset keyword containing a dict. If present, this
dictneeds to have auriattribute. - Update some requirements.
- Python
Published by koenedaele almost 9 years ago
skosprovider - 0.6.0
- Allow marking a note as containing HTML. (#17)
- Add languages attribute to
skosprovider.skos.ConceptSchemeto make it possible to track what languages are being used in a thesaurus. (#19) - Add a sources attribute to
skosprovider.skos.ConceptScheme,skosprovider.skos.Collectionandskosprovider.skos.Concept. Every source is an object that currently only has one attribute, a citation. This looks like a good universal common denominator. Just as with notes, a citation may contain HTML. (#20, #24) - Add sorting to
skosprovider.providers.VocabularyProvider.get_all,skosprovider.providers.VocabularyProvider.find,skosprovider.providers.VocabularyProvider.get_top_concepts,skosprovider.providers.VocabularyProvider.get_top_display,skosprovider.providers.VocabularyProvider.get_children_display. Sorting can be done onid,labelorsortlabel. The last option makes it possible to introduce arbitrary sorting for concepts, eg. to sort periods chronologically. The sort order can be specified with thesort_orderparameter. (#21) - Remove
skosprovider.providers.VocabularyProvider.expand_conceptthat was deprecated since0.2.0. - Fixed a bug with
skosprovider.skos.dict_to_labelandskosprovider.skos.dict_to_notethat would assignNoneinstead ofundas the language for labels and notes that have no language. - Improved checking for valid URIs with e.g.
skosprovider.skos.ConceptScheme. This was causing weird issues with registering a provider to theskosprovider.registry.Registry. (#27)
- Python
Published by koenedaele almost 10 years ago
skosprovider - 0.5.3
- When a
skosprovider.providers.DictionaryProviderreads a dictionary containing aURIand that URI's None, generate a URI. (#12) - Upgrade to the newest version of language-tags, this fixes a showstopping bug on Windows machines. (#16)
- Added an examples folder with a script that demonstrates the API using a DictionaryProvider.
- Added a wheel config file.
- Python
Published by koenedaele almost 11 years ago
skosprovider - 0.5.2
Release 0.5.1 was a brown-paper-bag release due to some mucking about with pypi.
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.5.1
- Make it possible to pass a language tag to
skosprovider.registry.Registry.findthat will be passed on to all relevant registered providers. This determines in what language the labels of the returned concepts will displayed. (#10) [@dieuska] - Make it possible to pass a language tag to
skosprovider.registry.Registry.get_allthat will be passed to all registered providers. This determines in what language thelabels of the returned concepts will displayed. - Fixed some errors with the
skosprovider.utils.dict_dumper. It didn't dump thematchesor thesubordinate_arraysof concepts. - Wrote some new documentation on what a provider is and how to use it. Some other documentation work as well such as documenting the
languageparameter in the API better.
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.5.0
- Changed the default language from
Noneto the official IANA language codeund(undetermined). This is a minor BC break for users dealing with labels that have not been assigned a language. - Added a
skosprovider.exceptions.ProviderUnavailableExceptionto let a provider signal that an underlying backend is not available. - Now running unit tests against
language-tags0.3.0
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.4.2
- Fix a problem with SKOS matches.
- BC compatibilty break with 0.4.0 and 0.4.1: renamed the matchtypes broader to broad and narrower to narrow to be more inline with the SKOS standard.
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.4.1
- Made the
skosprovider.providers.DictionaryProviderreturnskosprovider.skos.Collectionobjects withskosprovider.skos.Noteobjects attached if available. - Fix a problem in find operaties when a concept or collection had no label attached to it. (#6) [dieuska]
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.4.0
- Dropped support for Python 2.6 and 3.2.
- Added ability to add
skosprovider.skos.Notetoskosprovider.skos.Collectionandskosprovider.skos.ConceptScheme. - Added a
skosprovider.skos.ConceptSchemeto every provider. This ConceptScheme can then be passed on to Concepts and Collections. This allows Concepts and Collections that have left the context of their provider, to still refer back to theskosprovider.skos.ConceptSchemeand thus theskosprovider.providers.VocabularyProviderwhere they originated. - When querying the
skosprovider.registry.Registryfor providers, aURIof an accompanying ConceptScheme can now also be used. - Added
skosprovider.skos.Concept.subordinate_arraysattribute toskosprovider.skos.Conceptandskosprovider.skos.Collection.superordinatestoskosprovider.skos.Collection. These attributes are based on theSKOS-THESspecification. They allow linking Concepts and Collections for the purpose of displaying a hierarchy. - Expanded support for languages with language-tags library. When generating a label, the language specification handles inexact language matches better. Eg. when asking for a label with language
nlfor a concept that only hasnl-BElabels, these will now be returned while in the past this was not guaranteed. - Added
subjectto the metadata of a providers. This is a list of subjects or tags that help describe or type the provider. Theskosprovider.registry.Registrycan now be searched for providers with a certain subject through theskosprovider.registry.Registry.get_providersmethod.
- Python
Published by koenedaele over 11 years ago
skosprovider - 0.3.0
- Added support for
URI. Askosprovider.skos.Concept,skosprovider.skos.Collectionorskosprovider.skos.ConceptSchemecan now have aURI. - Query a
skosprovider.providers.VocabularyProvideror theskosprovider.registry.RegistrybyURI. - Added
skosprovider.urimodule to handle generating ofURIS. - Added a
skosprovider.providers.VocabularyProvider.get_top_conceptsmethod toskosprovider.providers.VocabularyProvider. This method returns the Top Concepts in a ConceptScheme (the concepts that don't have a broader concept). - Added the
skosprovider.providers.VocabularyProvider.get_top_displayandskosprovider.providers.VocabularyProvider.get_children_displaymethods to handle generating a display hierarchy for a certain provider. - A method that used to return a list of dicts containing an id and a label, now also returns a uri and a type (concept/collection) for each dict. (#2)
- Provide list of valid noteTypes and labelTypes as attributes of Note and Label so they can be used externally. (#4)
- Reworking tests. Now using pytest in stead of nose.
- Adding code coverage based on
Coveralls <https://coveralls.io>_.
- Python
Published by koenedaele about 12 years ago