punyecs 0.8.1
legitimate ECS library
“A simple attribute-based approach to ECS.”
Python json.load callSerializes to a stream with json.dump()
SHA-256219454ea74e2e1657230d44648098efe80c7b0887b019b6fdd739ca63a0f69e4
MaleculeH₂(Db₂F)
Evidence
241:5… serialized["entities"].append(entity_dict)
242 with open(dest, "w") as file:
243 json.dump(serialized, file)
244
245 def deserialize(self, src: str):
246 """Loads and initializes objects of JSON file to be the world.
249:9… """
250 with open(src, "r") as file:
251 entities = json.load(file)
252 for entity in entities["entities"]:
253 initialized_entity = globals()[entity["cls_name"]]
254 …
1Metadata-Version: 2.3
2Name: punyecs
3Version: 0.8.1
4Summary: A simple attribute-based approach to ECS.
5Author-email: [email protected]
6Classifier: Programming Language :: Python :: 3.11
7Classif …
7:20… ming Language :: Python :: 3.12
8Requires-Python: >=3.11
9Description-Content-Type: text/markdown
10
11<p align="center">
12 <img src="punyecs-logo.svg" alt="punyecs"> …
No evidence locations were recorded for this file. Raw result