openepd 6.3.1__py3-none-any.whl → 6.4.0__py3-none-any.whl

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.
openepd/__version__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- VERSION = "6.3.1"
16
+ VERSION = "6.4.0"
openepd/model/org.py CHANGED
@@ -79,6 +79,12 @@ class Plant(WithAttachmentsMixin, WithAltIdsMixin, BaseOpenEpdSchema):
79
79
  deprecated="Pluscode field is deprecated. If users need a pluscode they can obtain it from "
80
80
  "`id` like this: `id.spit('.', maxsplit=1)[0]`",
81
81
  )
82
+ latitude: float | None = pyd.Field(
83
+ default=None, description="(deprecated) Latitude of the plant location. Use 'location' fields instead."
84
+ )
85
+ longitude: float | None = pyd.Field(
86
+ default=None, description="(deprecated) Longitude of the plant location. Use 'location' fields instead."
87
+ )
82
88
  owner: Org | None = pyd.Field(description="Organization that owns the plant", default=None)
83
89
  name: str | None = pyd.Field(
84
90
  max_length=200,
@@ -89,12 +95,13 @@ class Plant(WithAttachmentsMixin, WithAltIdsMixin, BaseOpenEpdSchema):
89
95
  address: str | None = pyd.Field(
90
96
  max_length=200,
91
97
  default=None,
92
- description="Text address, preferably geocoded",
98
+ description="(deprecated) Text address, preferably geocoded. Use 'location' fields instead",
93
99
  example="1503 Orchard Hill Rd, LaGrange, GA 30240, United States",
94
100
  )
95
101
  contact_email: pyd.EmailStr | None = pyd.Field(
96
102
  description="Email contact", example="info@interface.com", default=None
97
103
  )
104
+ location: Location | None = pyd.Field(description="Location of the plant", default=None)
98
105
 
99
106
  @classmethod
100
107
  def get_asset_type(cls) -> str | None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: openepd
3
- Version: 6.3.1
3
+ Version: 6.4.0
4
4
  Summary: Python library to work with OpenEPD format
5
5
  Home-page: https://github.com/cchangelabs/openepd
6
6
  License: Apache-2.0
@@ -1,5 +1,5 @@
1
1
  openepd/__init__.py,sha256=Shkfh0Kun0YRhmRDw7LkUj2eQL3X-HnP55u2THOEALw,794
2
- openepd/__version__.py,sha256=9-O6i7qcYZLc-Ty16U1UcqrtWq9-iQfVCVLwVjya99s,638
2
+ openepd/__version__.py,sha256=O6qOKVfb9pn636JTuJTFAz0fRVsGULoVFAA8im6tjMQ,638
3
3
  openepd/api/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
4
4
  openepd/api/average_dataset/__init__.py,sha256=UGmZGEyMnASrYwEBPHuXmVzHiuCUskUsJEPoHTIo-lg,620
5
5
  openepd/api/average_dataset/generic_estimate_sync_api.py,sha256=mxWwDokEGMe87Px8C_aHvIdVKZVHrEAuVtaSA1zJchU,7953
@@ -43,7 +43,7 @@ openepd/model/generic_estimate.py,sha256=bbU0cR4izSqjZcfxUHNbdO4pllqqd8OaUFikrEg
43
43
  openepd/model/geography.py,sha256=G3Oz3QBw5n-RiSCAv-vAGxrOZBhwIT5rASnPlo9dkcs,42095
44
44
  openepd/model/industry_epd.py,sha256=rgXhCUDAgzZ9eGio7ExqE3ymP3zTXnrrwcIDvg5YP1A,3285
45
45
  openepd/model/lcia.py,sha256=EChQO_zcc9ZV0cYHCsjjO24pn5oi8d3WMeUxB1Cj3Ww,24390
46
- openepd/model/org.py,sha256=xEYeqcqtmyd9fr322iCYwjhUlpRLREfzDe7gdBL7f04,4588
46
+ openepd/model/org.py,sha256=gLzbFt4LNFYLhkAMQUrrAgSu-zC6x5NZ0UiNSQqQ0sc,5043
47
47
  openepd/model/pcr.py,sha256=QknLtTn6Y14JORWKQ1qBqGgKnZpbKgqNiYF3Axl4U4c,5494
48
48
  openepd/model/specs/README.md,sha256=UGhSiFJ9hOxT1mZl-5ZrhkOrPKf1W_gcu5CI9hzV7LU,2430
49
49
  openepd/model/specs/__init__.py,sha256=IAevXqqYrCWlTH4z4Fy9o77vaOLinX56G05iIJJfm0M,3094
@@ -133,7 +133,7 @@ openepd/model/validation/quantity.py,sha256=UP6x2nUj1nP7G8e2rpi-HigHx9rwKeCuIDh_
133
133
  openepd/model/versioning.py,sha256=R_zm6rCrgF3vlJQYbpyWhirdS_Oek16cv_mvZmpuE8I,4473
134
134
  openepd/patch_pydantic.py,sha256=xrkzblatmU9HBzukWkp1cPq9ZSuohoz1p0pQqVKSlKs,4122
135
135
  openepd/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
136
- openepd-6.3.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
137
- openepd-6.3.1.dist-info/METADATA,sha256=e71TcIfypVycIAtmh7z2JSBoGJSbaP5-RCK_-xEFn2c,9038
138
- openepd-6.3.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
139
- openepd-6.3.1.dist-info/RECORD,,
136
+ openepd-6.4.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
137
+ openepd-6.4.0.dist-info/METADATA,sha256=KZPeu2OsyQ-aYGRDN6-NpqSvTfPgeCoG-hAezksY5wc,9038
138
+ openepd-6.4.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
139
+ openepd-6.4.0.dist-info/RECORD,,