chemrecon 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. {chemrecon-0.1.1 → chemrecon-0.1.2}/PKG-INFO +3 -3
  2. {chemrecon-0.1.1 → chemrecon-0.1.2}/README.md +2 -2
  3. {chemrecon-0.1.1 → chemrecon-0.1.2}/pyproject.toml +2 -2
  4. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/__init__.py +1 -1
  5. chemrecon-0.1.2/src/chemrecon/database/connection_params/chemrecon_dev_do.dbinfo +5 -0
  6. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/connection_params/chemrecon_pub.dbinfo +2 -2
  7. chemrecon-0.1.2/src/chemrecon/database/connection_params/chemrecon_pub_do.dbinfo +5 -0
  8. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/scripts/initialize_database.py +9 -6
  9. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/__init__.py +0 -0
  10. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/chemreaction.py +0 -0
  11. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/constant_compounds.py +0 -0
  12. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/create_mol.py +0 -0
  13. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/elements.py +0 -0
  14. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/gml/__init__.py +0 -0
  15. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/gml/gml.py +0 -0
  16. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/gml/gml_reactant_matching.py +0 -0
  17. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/gml/gml_to_rdk.py +0 -0
  18. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/mol.py +0 -0
  19. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/chem/sumformula.py +0 -0
  20. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/connection.py +0 -0
  21. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/core/__init__.py +0 -0
  22. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/core/id_types.py +0 -0
  23. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/core/ontology.py +0 -0
  24. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/core/populate_query_handler.py +0 -0
  25. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/core/query_handler.py +0 -0
  26. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/__init__.py +0 -0
  27. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/connect.py +0 -0
  28. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/connection_params/local_docker_dev.dbinfo +0 -0
  29. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/connection_params/local_docker_init.dbinfo +0 -0
  30. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/connection_params/local_docker_pub.dbinfo +0 -0
  31. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/database/params.py +0 -0
  32. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/draw.py +0 -0
  33. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/entrygraph.py +0 -0
  34. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/explorationprotocol.py +0 -0
  35. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/explore.py +0 -0
  36. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/explore_procedure.py +0 -0
  37. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/filter.py +0 -0
  38. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/entrygraph/scoring.py +0 -0
  39. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/__init__.py +0 -0
  40. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/create_entry.py +0 -0
  41. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/default_protocols.py +0 -0
  42. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/find_entry.py +0 -0
  43. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/get_relations.py +0 -0
  44. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/query/get_structures_from_compound.py +0 -0
  45. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/__init__.py +0 -0
  46. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/db_object.py +0 -0
  47. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/direction.py +0 -0
  48. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/__init__.py +0 -0
  49. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/aam.py +0 -0
  50. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/aam_repr.py +0 -0
  51. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/compound.py +0 -0
  52. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/enzyme.py +0 -0
  53. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/molstructure.py +0 -0
  54. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/molstructure_repr.py +0 -0
  55. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/entry_types/reaction.py +0 -0
  56. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/enums.py +0 -0
  57. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/procedural_relation_entrygraph.py +0 -0
  58. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_composed/__init__.py +0 -0
  59. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_composed/compound_has_molstructure_relation.py +0 -0
  60. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_composed/reaction_has_aam_relation.py +0 -0
  61. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/__init__.py +0 -0
  62. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/aam_convert_relation.py +0 -0
  63. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/compound_select_structure_proceduralrelation.py +0 -0
  64. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/compound_similarlity_proceduralrelation.py +0 -0
  65. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/molstructure_convert_relation.py +0 -0
  66. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/reaction_select_aam_proceduralrelation.py +0 -0
  67. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_procedural/reaction_similarity_proceduralrelation.py +0 -0
  68. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/__init__.py +0 -0
  69. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/aam_involves_molstructure_relation.py +0 -0
  70. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/aam_repr_involves_molstructure_repr_relation.py +0 -0
  71. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/compound_has_structure_representation_relation.py +0 -0
  72. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/compound_reference_relation.py +0 -0
  73. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/molstructure_standardisation_relation.py +0 -0
  74. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/ontology/__init__.py +0 -0
  75. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/ontology/compound_ontology.py +0 -0
  76. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/ontology/enzyme_ontology.py +0 -0
  77. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/ontology/reaction_ontology.py +0 -0
  78. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/reaction_has_aam_representation_relation.py +0 -0
  79. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/reaction_has_enzyme_relation.py +0 -0
  80. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/reaction_involves_compound_relation.py +0 -0
  81. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/schema/relation_types_source/reaction_reference_relation.py +0 -0
  82. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/copy_signature.py +0 -0
  83. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/encodeable_list.py +0 -0
  84. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/get_id_type.py +0 -0
  85. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/hungarian.py +0 -0
  86. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/reactant_matching.py +0 -0
  87. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/rxnutils.py +0 -0
  88. {chemrecon-0.1.1 → chemrecon-0.1.2}/src/chemrecon/utils/set_cwd.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chemrecon
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: The ChemRecon library for integration and exploration of interconnected biochemical databases.
5
5
  Keywords: bioinformatics
6
6
  Author: Casper Asbjørn Eriksen
@@ -31,7 +31,7 @@ Provides-Extra: docs
31
31
  Description-Content-Type: text/markdown
32
32
 
33
33
  # ChemRecon
34
- *v. 0.1.1*
34
+ *v. 0.1.2*
35
35
 
36
36
  ChemRecon is a Python library and consolidated meta-database designed to simplify the integration and exploration of
37
37
  biochemical data from a range of sources.
@@ -77,7 +77,7 @@ See the [GraphViz Python package](https://pypi.org/project/graphviz/) for instru
77
77
 
78
78
  ## Documentation
79
79
  The documentation, including instructions on usage, tutorials, and complete description covering the types of entries
80
- and relations supported, is available on the [ChemRecon homepage](https://www.cheminf.imada.sdu.dk/chemrecon).
80
+ and relations supported, is available on the [ChemRecon homepage](https://chemrecon.org).
81
81
 
82
82
  ## Usage
83
83
  The following is an example of a typical ChemRecon workflow, producing the graph seen above.
@@ -1,5 +1,5 @@
1
1
  # ChemRecon
2
- *v. 0.1.1*
2
+ *v. 0.1.2*
3
3
 
4
4
  ChemRecon is a Python library and consolidated meta-database designed to simplify the integration and exploration of
5
5
  biochemical data from a range of sources.
@@ -45,7 +45,7 @@ See the [GraphViz Python package](https://pypi.org/project/graphviz/) for instru
45
45
 
46
46
  ## Documentation
47
47
  The documentation, including instructions on usage, tutorials, and complete description covering the types of entries
48
- and relations supported, is available on the [ChemRecon homepage](https://www.cheminf.imada.sdu.dk/chemrecon).
48
+ and relations supported, is available on the [ChemRecon homepage](https://chemrecon.org).
49
49
 
50
50
  ## Usage
51
51
  The following is an example of a typical ChemRecon workflow, producing the graph seen above.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = 'chemrecon'
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = 'The ChemRecon library for integration and exploration of interconnected biochemical databases.'
5
5
  authors = [
6
6
  {name = 'Casper Asbjørn Eriksen', email = 'casbjorn@imada.sdu.dk'}
@@ -33,7 +33,7 @@ classifiers = [
33
33
 
34
34
  #[project.urls]
35
35
  Homepage = 'https://chemrecon.org'
36
- Documentation = 'https://docs.chemrecon.org'
36
+ Documentation = 'https://chemrecon.org'
37
37
  Repository = 'https://gitlab.com/casbjorn/chemrecon'
38
38
  #Changelog = ''
39
39
 
@@ -1,7 +1,7 @@
1
1
  """ Defines metadata and the most general exports in the chemrecon.* namespace.
2
2
  """
3
3
  # Metadata
4
- __version__ = '0.1.1' # Library version
4
+ __version__ = '0.1.2' # Library version
5
5
  __db_version__: list[str] = ['0.1.1'] # Compatible database versions
6
6
 
7
7
 
@@ -0,0 +1,5 @@
1
+ chemrecon_db
2
+ dev
3
+ AVNS_W0F0IvTDcJuYpvIwz5N
4
+ db.chemrecon.org
5
+ 25060
@@ -1,5 +1,5 @@
1
1
  chemrecon_db
2
2
  public_user
3
3
  chemrecon_public_password
4
- 130.225.164.152
5
- 5432
4
+ db.chemrecon.org
5
+ 25060
@@ -0,0 +1,5 @@
1
+ chemrecon_db
2
+ public_user
3
+ chemrecon_public_password
4
+ db.chemrecon.org
5
+ 25060
@@ -143,14 +143,10 @@ def initialise_database(
143
143
  public_group = sql.Identifier('public_group')
144
144
  ))
145
145
 
146
+ conn.commit()
147
+
146
148
  # Create users/roles
147
149
  # ----------------------------------------------------------------------------------------------------------
148
- c.execute(sql.SQL(
149
- 'CREATE USER {dev_username} WITH PASSWORD {dev_password};'
150
- ).format(
151
- dev_username = sql.Identifier(db_user_dev),
152
- dev_password = db_pass_dev,
153
- ))
154
150
  c.execute(sql.SQL(
155
151
  'CREATE USER {pub_username} WITH PASSWORD {pub_password} IN GROUP {public_group};'
156
152
  ).format(
@@ -159,6 +155,13 @@ def initialise_database(
159
155
  public_group = sql.Identifier('public_group')
160
156
  ))
161
157
 
158
+ c.execute(sql.SQL(
159
+ 'CREATE USER {dev_username} WITH PASSWORD {dev_password};'
160
+ ).format(
161
+ dev_username = sql.Identifier(db_user_dev),
162
+ dev_password = db_pass_dev,
163
+ ))
164
+
162
165
  except psycopg.errors.DuplicateObject as e:
163
166
  # Already exists, reset
164
167
  conn.commit()