diff --git a/README.md b/README.md index e57c096..85eccd5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# Owlet -Owlet provides a handy interface for ontologies for use in your Python application. It automatically generates symbols for URIs based on the ontology terms themselves. Currently the Sequence Ontology (SO) and Systems Biology Ontology are supported. +# Tyto +Tyto provides a handy interface for ontologies for use in your Python application. It automatically generates symbols for URIs based on the ontology terms themselves. Currently the Sequence Ontology (SO) and Systems Biology Ontology are supported. For example: ``` ->>> from owlet import SO +>>> from tyto import SO RDFLib Version: 5.0.0 >>> print(SO.promoter) http://purl.obolibrary.org/obo/SO_0000167 @@ -14,7 +14,7 @@ These symbols are not hard-coded, rather they are dynamically generated by query Additionally ontologies have methods that allow for other types of inference. ``` ->>> SO.getTermByURI('http://purl.obolibrary.org/obo/SO_0000167') +>>> SO.get_term_by_uri('http://purl.obolibrary.org/obo/SO_0000167') 'promoter' ``` diff --git a/setup.py b/setup.py index c97bcdd..453e633 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,10 @@ from setuptools import setup -setup(name='Owlet', +setup(name='tyto', version='1.0a', description='Automatically generates Python symbols for ontology terms', python_requires='>=3.6', - url='https://github.com/SynBioDex/Owlet', + url='https://github.com/SynBioDex/tyto', author='Bryan Bartley', author_email='bartleyba@sbolstandard.org', license='Apache-2', @@ -28,8 +28,8 @@ ], # What does your project relate to? keywords='ontologies', - packages=['Owlet'], - package_data={'Owlet': ['ontologies/*.owl', + packages=['tyto'], + package_data={'tyto': ['ontologies/*.owl', 'ontologies/*.rdf', 'ontologies/*.ttl']}, include_package_data=True, diff --git a/owlet/__init__.py b/tyto/__init__.py similarity index 100% rename from owlet/__init__.py rename to tyto/__init__.py diff --git a/owlet/ontologies/.DS_Store b/tyto/ontologies/.DS_Store similarity index 100% rename from owlet/ontologies/.DS_Store rename to tyto/ontologies/.DS_Store diff --git a/owlet/ontologies/SBO_OWL.owl b/tyto/ontologies/SBO_OWL.owl similarity index 100% rename from owlet/ontologies/SBO_OWL.owl rename to tyto/ontologies/SBO_OWL.owl diff --git a/owlet/ontologies/example.owl b/tyto/ontologies/example.owl similarity index 100% rename from owlet/ontologies/example.owl rename to tyto/ontologies/example.owl diff --git a/owlet/ontologies/om-2.0.rdf b/tyto/ontologies/om-2.0.rdf similarity index 100% rename from owlet/ontologies/om-2.0.rdf rename to tyto/ontologies/om-2.0.rdf diff --git a/owlet/ontologies/so.owl b/tyto/ontologies/so.owl similarity index 100% rename from owlet/ontologies/so.owl rename to tyto/ontologies/so.owl diff --git a/owlet/owlet.py b/tyto/owlet.py similarity index 100% rename from owlet/owlet.py rename to tyto/owlet.py