PK$Itests/__init__.pyPK$Iemployee/__init__.pyPK%Iä::employee/employee.pyimport json class Employee: 'Base class for all employees' count = 0 def __init__(self, name, id, dept): self.name = name self.id = id self.dept = dept Employee.count += 1 def displayEmployee(self): print "Name: ", self.name, ", Id: ",self.id,", Dept: ", self.dept def empCount(self): print "Total employee: %d", Employee.count def dump_to_file(self, file): print "Dumping info of employee with id: ", self.id, " to a file: ", file file = open(file, 'w') file.write(self.name) file.close def jdefault(self,o): return o.__dict__ def dump_json(self, file): file = open(file, 'w') data = {u"id": str(self.id), u"name": self.name, u"dept": self.dept } print "DATA::: ", data print " JSON Create Idented Object::: ",json.dumps(data, indent=2) print " JSON Dump Class Object::: ",json.dumps(self,default=self.jdefault) print "Dumping info of employee with id: ", self.id, " to a file with JSON format: ", file json.dump(data,file) file.close PK]h-ILM#hrm-0.0.1.dist-info/DESCRIPTION.rstThis is the readme file PK]h-It$**!hrm-0.0.1.dist-info/metadata.json{"classifiers": ["Topic :: Utilities", "License :: OSI Approved :: MIT License"], "extensions": {"python.details": {"contacts": [{"email": "jagroop.mand@gmail.com", "name": "Jagroop Mand", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "http://packages.python.org/jag_hrm_project"}}}, "generator": "bdist_wheel (0.26.0)", "keywords": ["hrm", "example", "documentation", "tutorial"], "license": "MIT", "metadata_version": "2.0", "name": "hrm", "summary": "Human REsource Management", "version": "0.0.1"}PK]h-I!hrm-0.0.1.dist-info/top_level.txtemployee tests PK]h-I}\\hrm-0.0.1.dist-info/WHEELWheel-Version: 1.0 Generator: bdist_wheel (0.26.0) Root-Is-Purelib: true Tag: py3-none-any PK]h-I {{hrm-0.0.1.dist-info/METADATAMetadata-Version: 2.0 Name: hrm Version: 0.0.1 Summary: Human REsource Management Home-page: http://packages.python.org/jag_hrm_project Author: Jagroop Mand Author-email: jagroop.mand@gmail.com License: MIT Keywords: hrm example documentation tutorial Platform: UNKNOWN Classifier: Topic :: Utilities Classifier: License :: OSI Approved :: MIT License This is the readme file PK]h-I\̱nhrm-0.0.1.dist-info/RECORDemployee/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 employee/employee.py,sha256=kXRMv2w2vAUPScSpT_Rz-3_p6_kO647GyAvaHQktLQ8,1082 hrm-0.0.1.dist-info/DESCRIPTION.rst,sha256=1i8ga7xBk0GIRIJC5YHfS4fnjwE5igKrkMxsV5RuaUo,26 hrm-0.0.1.dist-info/METADATA,sha256=qbWBPfROecPkfnof4w1kYizYRx41nVdzu8H6OF2UFpw,379 hrm-0.0.1.dist-info/RECORD,, hrm-0.0.1.dist-info/WHEEL,sha256=zX7PHtH_7K-lEzyK75et0UBa3Bj8egCBMXe1M4gc6SU,92 hrm-0.0.1.dist-info/metadata.json,sha256=s1UBTryeCuI1H6MDpI542XcPZ1gZ7HtAFXWbC75egNM,554 hrm-0.0.1.dist-info/top_level.txt,sha256=6ICFsaIPn8pVK5_Nx579fH5p3UgQjCtpj4geQnkUddk,15 tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 PK$Itests/__init__.pyPK$I/employee/__init__.pyPK%Iä::aemployee/employee.pyPK]h-ILM#hrm-0.0.1.dist-info/DESCRIPTION.rstPK]h-It$**!(hrm-0.0.1.dist-info/metadata.jsonPK]h-I!hrm-0.0.1.dist-info/top_level.txtPK]h-I}\\hrm-0.0.1.dist-info/WHEELPK]h-I {{rhrm-0.0.1.dist-info/METADATAPK]h-I\̱n' hrm-0.0.1.dist-info/RECORDPK