Coverage for /var/srv/projects/api.amasfac.comuna18.com/tmp/venv/lib/python3.9/site-packages/faker/providers/company/__init__.py: 61%

17 statements  

« prev     ^ index     » next       coverage.py v6.4.4, created at 2023-07-17 14:22 -0600

1from typing import Tuple 

2 

3from .. import BaseProvider, ElementsType 

4 

5localized = True 

6 

7 

8class Provider(BaseProvider): 

9 formats: ElementsType[str] = ( 

10 "{{last_name}} {{company_suffix}}", 

11 "{{last_name}}-{{last_name}}", 

12 "{{last_name}}, {{last_name}} and {{last_name}}", 

13 ) 

14 

15 company_suffixes: ElementsType[str] = ("Inc", "and Sons", "LLC", "Group", "PLC", "Ltd") 

16 

17 catch_phrase_words: Tuple[ElementsType[str], ...] = ( 

18 ( 

19 "Adaptive", 

20 "Advanced", 

21 "Ameliorated", 

22 "Assimilated", 

23 "Automated", 

24 "Balanced", 

25 "Business-focused", 

26 "Centralized", 

27 "Cloned", 

28 "Compatible", 

29 "Configurable", 

30 "Cross-group", 

31 "Cross-platform", 

32 "Customer-focused", 

33 "Customizable", 

34 "Decentralized", 

35 "De-engineered", 

36 "Devolved", 

37 "Digitized", 

38 "Distributed", 

39 "Diverse", 

40 "Down-sized", 

41 "Enhanced", 

42 "Enterprise-wide", 

43 "Ergonomic", 

44 "Exclusive", 

45 "Expanded", 

46 "Extended", 

47 "Face-to-face", 

48 "Focused", 

49 "Front-line", 

50 "Fully-configurable", 

51 "Function-based", 

52 "Fundamental", 

53 "Future-proofed", 

54 "Grass-roots", 

55 "Horizontal", 

56 "Implemented", 

57 "Innovative", 

58 "Integrated", 

59 "Intuitive", 

60 "Inverse", 

61 "Managed", 

62 "Mandatory", 

63 "Monitored", 

64 "Multi-channeled", 

65 "Multi-lateral", 

66 "Multi-layered", 

67 "Multi-tiered", 

68 "Networked", 

69 "Object-based", 

70 "Open-architected", 

71 "Open-source", 

72 "Operative", 

73 "Optimized", 

74 "Optional", 

75 "Organic", 

76 "Organized", 

77 "Persevering", 

78 "Persistent", 

79 "Phased", 

80 "Polarized", 

81 "Pre-emptive", 

82 "Proactive", 

83 "Profit-focused", 

84 "Profound", 

85 "Programmable", 

86 "Progressive", 

87 "Public-key", 

88 "Quality-focused", 

89 "Reactive", 

90 "Realigned", 

91 "Re-contextualized", 

92 "Re-engineered", 

93 "Reduced", 

94 "Reverse-engineered", 

95 "Right-sized", 

96 "Robust", 

97 "Seamless", 

98 "Secured", 

99 "Self-enabling", 

100 "Sharable", 

101 "Stand-alone", 

102 "Streamlined", 

103 "Switchable", 

104 "Synchronized", 

105 "Synergistic", 

106 "Synergized", 

107 "Team-oriented", 

108 "Total", 

109 "Triple-buffered", 

110 "Universal", 

111 "Up-sized", 

112 "Upgradable", 

113 "User-centric", 

114 "User-friendly", 

115 "Versatile", 

116 "Virtual", 

117 "Visionary", 

118 "Vision-oriented", 

119 ), 

120 ( 

121 "24hour", 

122 "24/7", 

123 "3rdgeneration", 

124 "4thgeneration", 

125 "5thgeneration", 

126 "6thgeneration", 

127 "actuating", 

128 "analyzing", 

129 "asymmetric", 

130 "asynchronous", 

131 "attitude-oriented", 

132 "background", 

133 "bandwidth-monitored", 

134 "bi-directional", 

135 "bifurcated", 

136 "bottom-line", 

137 "clear-thinking", 

138 "client-driven", 

139 "client-server", 

140 "coherent", 

141 "cohesive", 

142 "composite", 

143 "context-sensitive", 

144 "contextually-based", 

145 "content-based", 

146 "dedicated", 

147 "demand-driven", 

148 "didactic", 

149 "directional", 

150 "discrete", 

151 "disintermediate", 

152 "dynamic", 

153 "eco-centric", 

154 "empowering", 

155 "encompassing", 

156 "even-keeled", 

157 "executive", 

158 "explicit", 

159 "exuding", 

160 "fault-tolerant", 

161 "foreground", 

162 "fresh-thinking", 

163 "full-range", 

164 "global", 

165 "grid-enabled", 

166 "heuristic", 

167 "high-level", 

168 "holistic", 

169 "homogeneous", 

170 "human-resource", 

171 "hybrid", 

172 "impactful", 

173 "incremental", 

174 "intangible", 

175 "interactive", 

176 "intermediate", 

177 "leadingedge", 

178 "local", 

179 "logistical", 

180 "maximized", 

181 "methodical", 

182 "mission-critical", 

183 "mobile", 

184 "modular", 

185 "motivating", 

186 "multimedia", 

187 "multi-state", 

188 "multi-tasking", 

189 "national", 

190 "needs-based", 

191 "neutral", 

192 "next generation", 

193 "non-volatile", 

194 "object-oriented", 

195 "optimal", 

196 "optimizing", 

197 "radical", 

198 "real-time", 

199 "reciprocal", 

200 "regional", 

201 "responsive", 

202 "scalable", 

203 "secondary", 

204 "solution-oriented", 

205 "stable", 

206 "static", 

207 "systematic", 

208 "systemic", 

209 "system-worthy", 

210 "tangible", 

211 "tertiary", 

212 "transitional", 

213 "uniform", 

214 "upward-trending", 

215 "user-facing", 

216 "value-added", 

217 "web-enabled", 

218 "well-modulated", 

219 "zero administration", 

220 "zero-defect", 

221 "zero tolerance", 

222 ), 

223 ( 

224 "ability", 

225 "access", 

226 "adapter", 

227 "algorithm", 

228 "alliance", 

229 "analyzer", 

230 "application", 

231 "approach", 

232 "architecture", 

233 "archive", 

234 "artificial intelligence", 

235 "array", 

236 "attitude", 

237 "benchmark", 

238 "budgetary management", 

239 "capability", 

240 "capacity", 

241 "challenge", 

242 "circuit", 

243 "collaboration", 

244 "complexity", 

245 "concept", 

246 "conglomeration", 

247 "contingency", 

248 "core", 

249 "customer loyalty", 

250 "database", 

251 "data-warehouse", 

252 "definition", 

253 "emulation", 

254 "encoding", 

255 "encryption", 

256 "extranet", 

257 "firmware", 

258 "flexibility", 

259 "focus group", 

260 "forecast", 

261 "frame", 

262 "framework", 

263 "function", 

264 "functionalities", 

265 "Graphic Interface", 

266 "groupware", 

267 "Graphical User Interface", 

268 "hardware", 

269 "help-desk", 

270 "hierarchy", 

271 "hub", 

272 "implementation", 

273 "info-mediaries", 

274 "infrastructure", 

275 "initiative", 

276 "installation", 

277 "instruction set", 

278 "interface", 

279 "Internet solution", 

280 "intranet", 

281 "knowledge user", 

282 "knowledgebase", 

283 "Local Area Network", 

284 "leverage", 

285 "matrices", 

286 "matrix", 

287 "methodology", 

288 "middleware", 

289 "migration", 

290 "model", 

291 "moderator", 

292 "monitoring", 

293 "moratorium", 

294 "neural-net", 

295 "open architecture", 

296 "open system", 

297 "orchestration", 

298 "paradigm", 

299 "parallelism", 

300 "policy", 

301 "portal", 

302 "pricing structure", 

303 "process improvement", 

304 "product", 

305 "productivity", 

306 "project", 

307 "projection", 

308 "protocol", 

309 "secured line", 

310 "service-desk", 

311 "software", 

312 "solution", 

313 "standardization", 

314 "strategy", 

315 "structure", 

316 "success", 

317 "superstructure", 

318 "support", 

319 "synergy", 

320 "system engine", 

321 "task-force", 

322 "throughput", 

323 "time-frame", 

324 "toolset", 

325 "utilization", 

326 "website", 

327 "workforce", 

328 ), 

329 ) 

330 

331 bsWords: Tuple[ElementsType[str], ...] = ( 

332 ( 

333 "implement", 

334 "utilize", 

335 "integrate", 

336 "streamline", 

337 "optimize", 

338 "evolve", 

339 "transform", 

340 "embrace", 

341 "enable", 

342 "orchestrate", 

343 "leverage", 

344 "reinvent", 

345 "aggregate", 

346 "architect", 

347 "enhance", 

348 "incentivize", 

349 "morph", 

350 "empower", 

351 "envisioneer", 

352 "monetize", 

353 "harness", 

354 "facilitate", 

355 "seize", 

356 "disintermediate", 

357 "synergize", 

358 "strategize", 

359 "deploy", 

360 "brand", 

361 "grow", 

362 "target", 

363 "syndicate", 

364 "synthesize", 

365 "deliver", 

366 "mesh", 

367 "incubate", 

368 "engage", 

369 "maximize", 

370 "benchmark", 

371 "expedite", 

372 "re-intermediate", 

373 "whiteboard", 

374 "visualize", 

375 "repurpose", 

376 "innovate", 

377 "scale", 

378 "unleash", 

379 "drive", 

380 "extend", 

381 "engineer", 

382 "revolutionize", 

383 "generate", 

384 "exploit", 

385 "transition", 

386 "e-enable", 

387 "iterate", 

388 "cultivate", 

389 "matrix", 

390 "productize", 

391 "redefine", 

392 "re-contextualize", 

393 ), 

394 ( 

395 "clicks-and-mortar", 

396 "value-added", 

397 "vertical", 

398 "proactive", 

399 "robust", 

400 "revolutionary", 

401 "scalable", 

402 "leading-edge", 

403 "innovative", 

404 "intuitive", 

405 "strategic", 

406 "e-business", 

407 "mission-critical", 

408 "sticky", 

409 "one-to-one", 

410 "24/7", 

411 "end-to-end", 

412 "global", 

413 "B2B", 

414 "B2C", 

415 "granular", 

416 "frictionless", 

417 "virtual", 

418 "viral", 

419 "dynamic", 

420 "24/365", 

421 "best-of-breed", 

422 "killer", 

423 "magnetic", 

424 "bleeding-edge", 

425 "web-enabled", 

426 "interactive", 

427 "dot-com", 

428 "back-end", 

429 "real-time", 

430 "efficient", 

431 "front-end", 

432 "distributed", 

433 "seamless", 

434 "extensible", 

435 "turn-key", 

436 "world-class", 

437 "open-source", 

438 "cross-platform", 

439 "cross-media", 

440 "synergistic", 

441 "bricks-and-clicks", 

442 "out-of-the-box", 

443 "enterprise", 

444 "integrated", 

445 "impactful", 

446 "wireless", 

447 "transparent", 

448 "next-generation", 

449 "cutting-edge", 

450 "user-centric", 

451 "visionary", 

452 "customized", 

453 "ubiquitous", 

454 "plug-and-play", 

455 "collaborative", 

456 "compelling", 

457 "holistic", 

458 "rich", 

459 ), 

460 ( 

461 "synergies", 

462 "web-readiness", 

463 "paradigms", 

464 "markets", 

465 "partnerships", 

466 "infrastructures", 

467 "platforms", 

468 "initiatives", 

469 "channels", 

470 "eyeballs", 

471 "communities", 

472 "ROI", 

473 "solutions", 

474 "e-tailers", 

475 "e-services", 

476 "action-items", 

477 "portals", 

478 "niches", 

479 "technologies", 

480 "content", 

481 "vortals", 

482 "supply-chains", 

483 "convergence", 

484 "relationships", 

485 "architectures", 

486 "interfaces", 

487 "e-markets", 

488 "e-commerce", 

489 "systems", 

490 "bandwidth", 

491 "info-mediaries", 

492 "models", 

493 "mindshare", 

494 "deliverables", 

495 "users", 

496 "schemas", 

497 "networks", 

498 "applications", 

499 "metrics", 

500 "e-business", 

501 "functionalities", 

502 "experiences", 

503 "web services", 

504 "methodologies", 

505 ), 

506 ) 

507 

508 def company(self) -> str: 

509 """ 

510 :example: 'Acme Ltd' 

511 """ 

512 pattern: str = self.random_element(self.formats) 

513 return self.generator.parse(pattern) 

514 

515 def company_suffix(self) -> str: 

516 """ 

517 :example: 'Ltd' 

518 """ 

519 return self.random_element(self.company_suffixes) 

520 

521 def catch_phrase(self) -> str: 

522 """ 

523 :example: 'Robust full-range hub' 

524 """ 

525 return " ".join([self.random_element(word_list) for word_list in self.catch_phrase_words]) 

526 

527 def bs(self) -> str: 

528 """ 

529 :example: 'integrate extensible convergence' 

530 """ 

531 return " ".join([self.random_element(word_list) for word_list in self.bsWords])