From 12b2fe0b3334db9a8acc8e65846ab2fbfdfea878 Mon Sep 17 00:00:00 2001 From: Igor Elpin Date: Tue, 16 Aug 2022 12:54:51 +0300 Subject: [PATCH] initial commit --- Dockerfile | 9 ++ README.md | 92 ++++++++++++++++++ __pycache__/app.cpython-310.pyc | Bin 0 -> 1385 bytes app.py | 36 +++++++ companies/__init__.py | 0 .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 133 bytes companies/infowatch/__init__.py | 8 ++ .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 732 bytes .../__pycache__/jobs.cpython-310.pyc | Bin 0 -> 4140 bytes companies/infowatch/jobs.py | 45 +++++++++ companies/performancelab/__init__.py | 8 ++ .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 621 bytes .../__pycache__/jobs.cpython-310.pyc | Bin 0 -> 747 bytes companies/performancelab/jobs.py | 11 +++ companies/visionlabs/__init__.py | 8 ++ .../__pycache__/__init__.cpython-310.pyc | Bin 0 -> 722 bytes .../__pycache__/jobs.cpython-310.pyc | Bin 0 -> 1563 bytes companies/visionlabs/jobs.py | 20 ++++ cv.py | 46 +++++++++ employee/__init__.py | 26 +++++ employee/__pycache__/__init__.cpython-310.pyc | Bin 0 -> 1308 bytes .../__pycache__/applicants.cpython-310.pyc | Bin 0 -> 565 bytes employee/applicants.py | 8 ++ humans/__init__.py | 41 ++++++++ humans/__pycache__/__init__.cpython-310.pyc | Bin 0 -> 2040 bytes requirements.txt | 3 + static/prism.css | 3 + static/prism.js | 5 + static/rabbit.png | Bin 0 -> 4743 bytes templates/index.html | 43 ++++++++ templates/pycoral.html | 36 +++++++ templates/resume.html | 26 +++++ world/__init__.py | 18 ++++ world/__pycache__/__init__.cpython-310.pyc | Bin 0 -> 1133 bytes 34 files changed, 492 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 __pycache__/app.cpython-310.pyc create mode 100644 app.py create mode 100644 companies/__init__.py create mode 100644 companies/__pycache__/__init__.cpython-310.pyc create mode 100644 companies/infowatch/__init__.py create mode 100644 companies/infowatch/__pycache__/__init__.cpython-310.pyc create mode 100644 companies/infowatch/__pycache__/jobs.cpython-310.pyc create mode 100644 companies/infowatch/jobs.py create mode 100644 companies/performancelab/__init__.py create mode 100644 companies/performancelab/__pycache__/__init__.cpython-310.pyc create mode 100644 companies/performancelab/__pycache__/jobs.cpython-310.pyc create mode 100644 companies/performancelab/jobs.py create mode 100644 companies/visionlabs/__init__.py create mode 100644 companies/visionlabs/__pycache__/__init__.cpython-310.pyc create mode 100644 companies/visionlabs/__pycache__/jobs.cpython-310.pyc create mode 100644 companies/visionlabs/jobs.py create mode 100644 cv.py create mode 100644 employee/__init__.py create mode 100644 employee/__pycache__/__init__.cpython-310.pyc create mode 100644 employee/__pycache__/applicants.cpython-310.pyc create mode 100644 employee/applicants.py create mode 100644 humans/__init__.py create mode 100644 humans/__pycache__/__init__.cpython-310.pyc create mode 100644 requirements.txt create mode 100644 static/prism.css create mode 100644 static/prism.js create mode 100644 static/rabbit.png create mode 100644 templates/index.html create mode 100644 templates/pycoral.html create mode 100644 templates/resume.html create mode 100644 world/__init__.py create mode 100644 world/__pycache__/__init__.cpython-310.pyc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fc7463b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +# docker build -t ielpin.ru/logovo:latest . +FROM python:3.10.6-slim-buster +WORKDIR /code + +COPY . /code/ + +RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt + +CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..6c6e987 --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +# Resume + + + +## Getting started + +To make it easy for you to get started with GitLab, here's a list of recommended next steps. + +Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)! + +## Add your files + +- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files +- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command: + +``` +cd existing_repo +git remote add origin http://192.168.0.200/i.elpin/resume.git +git branch -M main +git push -uf origin main +``` + +## Integrate with your tools + +- [ ] [Set up project integrations](http://192.168.0.200/i.elpin/resume/-/settings/integrations) + +## Collaborate with your team + +- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/) +- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html) +- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically) +- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/) +- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html) + +## Test and Deploy + +Use the built-in continuous integration in GitLab. + +- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html) +- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/) +- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html) +- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/) +- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html) + +*** + +# Editing this README + +When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template. + +## Suggestions for a good README +Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information. + +## Name +Choose a self-explaining name for your project. + +## Description +Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors. + +## Badges +On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge. + +## Visuals +Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method. + +## Installation +Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection. + +## Usage +Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README. + +## Support +Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc. + +## Roadmap +If you have ideas for releases in the future, it is a good idea to list them in the README. + +## Contributing +State if you are open to contributions and what your requirements are for accepting them. + +For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self. + +You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser. + +## Authors and acknowledgment +Show your appreciation to those who have contributed to the project. + +## License +For open source projects, say how it is licensed. + +## Project status +If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers. diff --git a/__pycache__/app.cpython-310.pyc b/__pycache__/app.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0b1f7b2849eefc8a88fc41ca50f489066d6a7f8a GIT binary patch literal 1385 zcmZ8gOK%%D5GJ|YhoqG)KVqj36ey635!qd5wK2Bo)Vk zb8@am{y+})(SIR7Wv@N;oSRdio#A?Ir(DeJ%*WAc=Hthz-|rGwkN&xO`G^zp7bbU? z56NRN^AVgRlIEnKf)-3LiaE=@f(!0qFZYW;1TN-zSVSUnv7dK}uING>$nYHzJ=HrU zB3AKXUq&jD9oapj;Cp8tC8{f9%*BF=&lhF?g31NO_L*FigLnLtih;wIZt!Kf;_xMh zuioJI+IqRRLx$^rL;qyR>Tn}5_Q~%r>Tp}Vnki$4v|f1j+xE_8CS|UU60HDMWlDe z-;xt@NG+3mLZ$CKM!}g+VFy|bw>CtudHlR8)R5P{R4-?f+P9g_m55}On!TCMMMo=$ zF|6ss-60qKB+sj(y-H`3tTbY&NmD3OrOlGuv=xQ22bH`@4^$$RHbYM{=v6EvQtlNu zTxbvl8B)RblIir4=pLk3-;58Sxp6kpNjcWa%pe(!p}*4nQ4{UN*_bQ%cM|s$F^i&(QzH>=I~M^yImNg zUXl1u18|m{Q>6ZcWb}dowcggeo0U?%86DUn*Vxr1(^y&$+QV#5{gS$UH*w=)tn=OP z??dSh{0Sye9eiu}wNd9V3LHwsLF!w8nX2F>tls!BJOz6WT{HJq{j z3c~+S6ExrW7Pd?PuFF>GgMT&V^JqLhPAi?{U(9ruWW54)NNRjtc}uHag)O~?4kdF- zprh-1gpk9n;j#$#;YKFY%;`^ifQt2NXml&Y5wv2Q8pTq(3(dO=YBV0ZSZVP_NBekL zHBKd#+ns9>W#vSpE}Z~t57a9BqMDVq(SipOc6~Y`?hN2YaWaU0Dk?e4)z8R>`3~HG V#I$)L7Q}0;OCvU*kq5?C>3{DJL~#HB literal 0 HcmV?d00001 diff --git a/app.py b/app.py new file mode 100644 index 0000000..e46e95e --- /dev/null +++ b/app.py @@ -0,0 +1,36 @@ +from fastapi import FastAPI,Request +from fastapi.middleware.cors import CORSMiddleware +from fastapi.responses import HTMLResponse +from fastapi.staticfiles import StaticFiles +from fastapi.templating import Jinja2Templates + +def get_application(): + _app = FastAPI(debug=False,title="MyHome",docs_url=None,redoc_url=None) + + _app.add_middleware( + CORSMiddleware, + allow_origins=["*"], + allow_credentials=True, + allow_methods=["*"], + allow_headers=["*"], + ) + return _app + +app=get_application() + +app.mount("/static",StaticFiles(directory="static"),name="static") +templates = Jinja2Templates(directory="templates")\ + +## TODO Сделать полноценный микроблок +@app.get("/") +def index(request:Request): + return templates.TemplateResponse("index.html",{"request":request}) + +@app.get("/resume") +def resume(request:Request): + with open("cv.py") as cv: + return templates.TemplateResponse("resume.html",{"request":request,"cv":cv.read()}) + +@app.get("/pycoral") +def index(request:Request): + return templates.TemplateResponse("pycoral.html",{"request":request}) diff --git a/companies/__init__.py b/companies/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/companies/__pycache__/__init__.cpython-310.pyc b/companies/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..88658ea17c5387a5e2e5af6b615cbfa3b95db128 GIT binary patch literal 133 zcmd1j<>g`kf~vK@l0fuh5P=LBfgA@QE@lA|DGb33nv8xc8Hzx{2;!H9enx(7s(xmA zQDUBcQEG81kdvIBTacKSnOdwLAD@|*SrQ+wS5SG2!zMRBr8Fni4rD?x6OdqG001cy B9Gw6F literal 0 HcmV?d00001 diff --git a/companies/infowatch/__init__.py b/companies/infowatch/__init__.py new file mode 100644 index 0000000..f97b015 --- /dev/null +++ b/companies/infowatch/__init__.py @@ -0,0 +1,8 @@ +from world import AbstractCompany +from .jobs import * +class Infowatch(AbstractCompany): + name="ЗАО Инфовотч" + description=f"""Российская компания, специализирующаяся на информационной безопасности в корпоративном секторе: + защите корпораций от утечек информации и целевых атак извне.""" + + \ No newline at end of file diff --git a/companies/infowatch/__pycache__/__init__.cpython-310.pyc b/companies/infowatch/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..604042dab11355b25a8e6ef2d41b0e544cf95e84 GIT binary patch literal 732 zcmZuvJ#Q015Z(2igK-?uM55g?Mktmj5kf%}5ltGX+^o*tgB-dKb9Yvh&iQ}{fe0N` zh?WK&mQHa(Y#022+4fqh{DoA!U4w`aBkk<&ym{}X)?syua~_aoUxzgay49B zHn6faB*hdDS;V`XGgVVgSbM@YnQ~SAkg2-Q51g)}mL9YAwF`8!Hm`0x=w*58_49{G zH1Oix3wW41ztuM#SHmD1SlKF)&$?W(ZcTA0*1E28pz2oFAH`3T9WU>14{xH2KG1vm zB?IiL$!L!thJE@-yap~JP5B#hX{CT#HltCQiQmzkn(>mA=R0~2H|{M)zHj~@tJPu+zRG_AeTzAT literal 0 HcmV?d00001 diff --git a/companies/infowatch/__pycache__/jobs.cpython-310.pyc b/companies/infowatch/__pycache__/jobs.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ed85b33418b07de094247890368b1c7be091dcf5 GIT binary patch literal 4140 zcmeHL&u<%55Z?8V)cHkos1OGZ%ZWxJ2@)I;Y7Yn%N>nLGNWNH3c4>`lZ&=%^IFZCD zEh@d#ON3UCEoBx9`o&d-KgV zv+-wVrz~7Q{{Ce3&MTJnCx!Txf^Z4H$~D|v%e9ME$$e9lWkPC?GNlaME6e%hT{vF4}$f>vwZ?oMA`tyF{jTJDrLtM*TL)~)o|1)riXZJW4I|V z_Eg7F_tiZIqaAguPGv!;!nmfNRfD>)xT6k5lis8kP|G{iJ1QKn{S>pBj_7EqM_ghI z=^aNM;1TYr1ASY(Ys78eHwL&@vs2Y_Fw~$Dy#=G(z{!w8O^fo6N&vjiL!FpY9 z=({5G^p;kk0^KG zfH_Epg|Q5=9SKVZ8){?dc(HG4`C+=7$>qxVl9$VMr*gTH@79WZp2_9DtmTW*o6Ndj zDG)H-3Aa`)c$J4%Fb&Aa?aAWO4Zq|q6|M*Q@>1YcY7o}^(t5s(nM;N8=l;!nb?wH| z7yfExas8`+$&$qH@dR!eD`jVF8G9z81I`9|U;m`wx<&697=9a*)Gq`iLU0HBK9s{A z59zO=x_=yi^aDXjKl%d2==55QuRt1#n*i7mqIAqN7Ml{uxT=@g@dC30bTlsG>Sx$x zL<$aYk3j!hDF##b03hTluo9Aqdbui`2wv%Br@>c4-*WUOwyW=g0s%7ofH%w|V*qgn zX6UKSoTV^mCX=qB0Fhgm&Jr!g24Oc02c|XwVXw2p z*pfleN1`m7mc%fcQ>^9VXaACu{|B6W9#s4q=~y_K(sMaE^Qo6FUG?&A?K4bQ4_E^v zqXD2n@o}O8cZyPhUiXyQ$+BaR6&0sLboh92OJLi?a;ES;)P=P~BBE(z{I4>Hbb%5U z(Gc^VcsDtZr+qFb^4THtlLZgb%t>Wq+aKAA>p>YuZuay*W8*CQV7w8cf-Rb$-z`@VDRDF!djaCQgh9?95_6MtGZ)VP18Suid;kCd literal 0 HcmV?d00001 diff --git a/companies/infowatch/jobs.py b/companies/infowatch/jobs.py new file mode 100644 index 0000000..ab88af2 --- /dev/null +++ b/companies/infowatch/jobs.py @@ -0,0 +1,45 @@ +from world import AbstractJob + +class ImplementationEngineer(AbstractJob): + position="Инженер внедрения" + duties=f""" + - Установка прикладного ПО компании + - Настройка серверов и прикладного ПО под требования заказчика + - Проведение работ по настройке инфраструктуры заказчика для интеграции ПО + - Аудит работы ПО, идентификация и устранение проблем. + """ + +class MiddleImplementationEngineer(ImplementationEngineer): + position="Старший инженер внедрения" + duties=f""" + - Разработка проектной документации + - Установка прикладного ПО компании + - Настройка серверов и прикладного ПО под требования заказчика + - Проведение работ по настройке инфраструктуры заказчика для интеграции ПО в инфраструктуру компании заказчика. + - Аудит работы ПО, идентификация и устранение проблем. + - Оптимизация ПО на проектах с высокой нагрузкой. + - Проведений демонстраций и предварительного обучения сотрудников заказчика функционалу продукта. + """ + +class SeniorImplementationEngineer(MiddleImplementationEngineer): + position="Ведущий инженер внедрения" + duties=f""" + - Разработка проектной документации + - Установка прикладного ПО компании + - Настройка серверов и прикладного ПО под требования заказчика + - Разработал несколько встраиваемых утилит для использования в основном продукте. + - Обучение стажеров + - Проведение работ по настройке инфраструктуры заказчика для интеграции ПО в инфраструктуру компании заказчика. + - Разработка дополнительного функционала для модуля анализа и принятия решений на lua + - Аудит работы ПО, идентификация и устранение проблем. + - Оптимизация ПО на проектах с высокой нагрузкой. + - Проведений демонстраций и предварительного обучения сотрудников заказчика функционалу продукта. + """ + +class TeamLead(AbstractJob): + position="Руководитель группы персональной техподдержки" + duties=f""" + - Техническое сопровождение клиентов по техническим вопросам продуктов + - Организация и контроль работы группы персонального технического обслуживания (3-4 человека) + - Проработка вопросов по автоматизации бизнес-процессов группы (обработка заявок, контроль SLA, подсчет KPI) + """ \ No newline at end of file diff --git a/companies/performancelab/__init__.py b/companies/performancelab/__init__.py new file mode 100644 index 0000000..610167b --- /dev/null +++ b/companies/performancelab/__init__.py @@ -0,0 +1,8 @@ +from world import AbstractCompany +from .jobs import * +class PerformanceLab(AbstractCompany): + name="ООО Перформанс Лабс" + description=f"Российская компания, сервис-провайдер в области тестирование программного обеспечения." + + + \ No newline at end of file diff --git a/companies/performancelab/__pycache__/__init__.cpython-310.pyc b/companies/performancelab/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bee694be99420dc9e585a6ef135e4b4f6423e195 GIT binary patch literal 621 zcmYjOJ#W-N5Z(1hu#yWj`2j8{I0SJ?gHR9!LW&|JsNAf4UIRw{IP9}fx;R9l%nyhJ zh>iwb5-eRHIDcWbbxW1M5DAI5c0@APyq%dh^TuB1tE z-T_D^dBRfebIzn8&BS=go-%1kdyh#w;vY=kluIwz_{KT9*_d~?9#6_y5rnfRc{&ZU z?Q`tVb$&P09oJ1W8}M=s5HX)i<{Oej(eN#4Le=VSK97o5d65QL7;OfV>NZ;GlYU(K zOpV%6d(^5OI;A=NR<%n92o6GkI9jxy=>b}({d+Db2+~|Agnnqkr6U)WL;8jJTJ6%p1vEqWzZqK8xR=w%D9^Fv6f0Ufrgjj(4E8qa zBQ?YB^{uhpIYMMX8VS)Y3z6osN_0FD;$0OamyD&)Zbe3ASj5v=oM+!yv4T(R;o^b! zCQlS+wtV}2 kUL>+G!1&hNd{Xwz)z%>zf$p4#!+Sr{zqHpHF^8}5f7E2_@Bjb+ literal 0 HcmV?d00001 diff --git a/companies/performancelab/__pycache__/jobs.cpython-310.pyc b/companies/performancelab/__pycache__/jobs.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..00ccb21ecbf87e83a271d3fd7d09efb35b6e9901 GIT binary patch literal 747 zcmZ{iF>ll`6vyo(SB0aU=*Zxa43L2pAs7IOp+aKI5+!F-0!e&0i4fbh*NUMMFtWkQ zf(}Z!)6pJZ;d#x<#8>FVb8>K3sXWO~@4fur&(DtK)>faOvCn5QP(ps0WZfK0?%*mI zI!-uENk#)o$pgYIZXXbC3p%y~i#v~r*ZYks;?d^v-MA=KG$+z_A|b zF-&2hUt_+26Fp{nA60wkXL^LCuP8gk_)T>chv>7VU1#vFMf`vnOc_ci@C7;h`sf@1 z@ik(P^dZxGh%sO+taCnM>vRQxIZQ5?u0#Bt4d+@%d{~ZJ!?*UBGpH{>;AxKW=>Iw3 z+jBtF;;=Ah?fuL#Ib?9s-3+@H%d$*GE(XsF?_b-F*K6D`%%e<%Vbc%8O!6u<@n#sl zsG@ZF#U08bDHEAD8@wtLQG6om68@&vo!#`G%1rplu8MMBiK4<}AhThVqtYL)esLPb z{xcaDH-@j2jqPR?8|Yl(P?xr~9nWrhFQrPkvdj)fv)ZeR%wulcTivj?%|k293*IE# F)*qN~FB|{> literal 0 HcmV?d00001 diff --git a/companies/performancelab/jobs.py b/companies/performancelab/jobs.py new file mode 100644 index 0000000..75e6222 --- /dev/null +++ b/companies/performancelab/jobs.py @@ -0,0 +1,11 @@ +from world import AbstractJob + +class PerformanceEngineer(AbstractJob): + position="Инженер по нагрузочному тестированию" + duties=f""" + - Анализ работы тестируемых систем + - Разработка нагрузочных тестов + - Проведение нагрузочного тестирования + - Поиск узких мест (bottlenecks) + """ + \ No newline at end of file diff --git a/companies/visionlabs/__init__.py b/companies/visionlabs/__init__.py new file mode 100644 index 0000000..85d4586 --- /dev/null +++ b/companies/visionlabs/__init__.py @@ -0,0 +1,8 @@ +from world import AbstractCompany +from .jobs import * +class Visionlabs(AbstractCompany): + name="ООО ВИЖНЛАБС" + description=f"""Российская компания, специализирующаяся на создании продуктов и решений в области распознавания лиц и объектов, + дополненной и виртуальной реальности.""" + + \ No newline at end of file diff --git a/companies/visionlabs/__pycache__/__init__.cpython-310.pyc b/companies/visionlabs/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bb2c9917f9b32d91d4f7cee4e20a8bb9952db712 GIT binary patch literal 722 zcmYjPzi-n(6uwKGVx_5ADzPx!NKjP|tOyk`uyp}3csV&a3yd5)*a@gxn^YAbM1TPy zA%1l1f=twiw586!@NV_W)PJE9-#LNytb2a%``-KB^PS_Bl{&-v_T#)Y;f(z;!R2Kk z*uYM2z$m78$U5BRoT-YchLwlxK2w&e?J`yK`LOC%)zSmjymE$Y*5t+2yREdBcP6f3T!s!+9x`lBEX;wbc5Y5yA1=&N}I zeV|YDk-pGpdPnbRzkeNK^qq3OqjzXZN3h3~>5;%Ir{6TAj818)M{5Gqj3#;yX&Ifs z{sO+Ohx)C4WlA715(3$oNzFkY&WmX(Xr{LT9qJ(+>jAv6019lPU(&>Mpd(?xoPI(( zgVtc402ghI8iZ;5ZyaGJ(0fM3)achxStzfGy1+vBysSJyrD<`B7)?+xE(afA7<`C+ zvtZ0L7r=ai_049ju%(Q=jxS|Vm$DP9erWuLl+XHJxL_>vE|!&_wv(XS!_gnGWElrv zn)6%EleptM!Q;e>oWxK22-@XE2Y%{2|9@AGltC2qq+IWAB{h^+vC}0On_1lECANwC nt-XkoP$d;Gh4nOUr6qIGaqcw?ZQq{He8>DZrB;L4e3kzNq$M!u literal 0 HcmV?d00001 diff --git a/companies/visionlabs/__pycache__/jobs.cpython-310.pyc b/companies/visionlabs/__pycache__/jobs.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e081065759315f578da073c776b26d53a9ec7873 GIT binary patch literal 1563 zcmah}J5L)y5We#(7O$kBj<&>-!TAAE1PT!%kw_G%+*oJt0hic5bLS(b^8@lw5)n~H zd3AKQv4eRS($nm9dfc{G`d? z1Di69zkLS-SGby0a%xgll{tk6cyLqUL0zo{lL5>_JdAl*&VxL%sKjpkLX;9yd&4tn zyJ%^d;zKi?A=}`iVls{Y`8Wn$Nvd2)2Dq9G@<1}ggUA!=jm_%oj|=vL{ECs+bt@Uc z+$`A68A65_o=GM?iH2yq6>*C3m1v8u=!iBGr*2uCxG!l5i*<&f0Yh0FiVnlit;(gU z=#ZmmiaJHQ+e|dsoKehb>HY>^F9Yic6kT@{5p|@kx@ET}4)LzR(skduTa?+`TC|Yy z(0whs4CxybBKBz`Hfv^{>z1Egz7}@Fy=W?x*K&F))f-Bsawd1O^gWVFtvOoOUx^k> z+b9}lz8B$6(a`N(#To__a=1t&R?VEAFjg!rpRjb>!6akm3R)hXiFLz9AdY1xo|$QT zs<2@Z%R&6lBN(DeNR6t}_D`xT@&+w87j5yv1~(j_{B3BC}-5@=$&3Rj;n zP%ZXo0ea{lzUz}kTY(`@GY5mIK4a+w3$*PY0wHPnxrt637dn9J0kqcu zP0Z()vrdU?MJ>jb^sEkTEwi}cS<~@3Otri=#l#0xhG*j)sekEf3$x~YXE$5gP_asMHa{Ew)M2}U4{Fkd)L#;+RBm)v!VxweQVkR}4D zkUf+@%pSS#`Z}t?(4h_8YQF#kc=ru7h^qh&xH51&ya6-SS4TFYcw&YwN%q7t*&^{h zQ!;Fit_3TM#=2^8?`wo?V;E%XkM?H^Xw2{n)5>xyKsM@b>2_UwFM8LzWA4#4Y|{lW KqTC9MM}Gs*q~gi| literal 0 HcmV?d00001 diff --git a/companies/visionlabs/jobs.py b/companies/visionlabs/jobs.py new file mode 100644 index 0000000..3f18587 --- /dev/null +++ b/companies/visionlabs/jobs.py @@ -0,0 +1,20 @@ +from world import AbstractJob + +class DevOpsEngineer(AbstractJob): + position="Devops" + duties=f""" + - Обеспечение процесса сборки и тестирования в Gitlab + - Сборка инфраструктурных и продакшн образов Docker + - + """ + +class ServiceEngineer(AbstractJob): + position="Ведущий сервисный инженер" + duties=f""" + - Внедрение продуктов компании + - Разработка интеграционных решений + - Проектирование отказоустойчивых архитектур под высокие нагрузки (кластер и балансировка - связка nginx, haproxy,Redis,rabbitmq) + - Мониторинг на стэке TICK (Influxdata) Telegraf ,influxdb,Grafana. Алертинг через telegram бота. + - Сборка тестовых и демонстрационных решений для клиентов в docker + - Разработка тестовых и вспомогательных утилит для сбора датасета с камер (Astra Pro S и Axis) + """ \ No newline at end of file diff --git a/cv.py b/cv.py new file mode 100644 index 0000000..73d2df3 --- /dev/null +++ b/cv.py @@ -0,0 +1,46 @@ + +""" +Шуточное кодовое представление моего резюме. Enjoy! +""" +from humans import Sex +from employee.applicants import Applicant +from companies.performancelab import PerformanceLab,PerformanceEngineer +from companies.infowatch import ( + Infowatch, + ImplementationEngineer, + MiddleImplementationEngineer, + SeniorImplementationEngineer, + TeamLead + ) + +from companies.visionlabs import Visionlabs,ServiceEngineer,DevOpsEngineer + +me = Applicant( first_name="Игорь", + last_name="Ельпин", + sex=Sex.MALE, + birthday="16-11-1989") + +me.discover_company(PerformanceLab) +me.enter_job(PerformanceEngineer( + start="08.2011", + end="10.2012")) +me.discover_company(Infowatch) +me.enter_job(ImplementationEngineer( + start="10.2012", + end="03.2014")) +me.enter_job(MiddleImplementationEngineer( + start="03.2014", + end="04.2016")) +me.enter_job(SeniorImplementationEngineer( + start="04.2016", + end="09.2018")) +me.enter_job(TeamLead( + start="09.2018", + end="09.2019")) +me.discover_company(Visionlabs) +me.enter_job(ServiceEngineer( + start="09.2019", + end="06.2020")) +me.enter_job(DevOpsEngineer( + start="09.2020")) +me.represent() \ No newline at end of file diff --git a/employee/__init__.py b/employee/__init__.py new file mode 100644 index 0000000..fa7fce3 --- /dev/null +++ b/employee/__init__.py @@ -0,0 +1,26 @@ +from humans import AbstractHuman + + +class Employee(AbstractHuman): + known_companies=list() + current_company=None + expirience=list() + achivements=list() + + def enter_job(self,job): + description=f""" + {job.start} -> {job.end}: + {repr(self.current_company)} - {job.position} + Мои обязанности и достижения: + {job.duties} + ============================= + {self.achivements} + """ + self.expirience.append(description) + + @property + def summary(self): + return "\n".join(self.expirience) + def represent(self) -> None: + self.say(self.about()) + self.say(self.summary) if self.summary else self.say("Немного занят, отвечу позднее.") diff --git a/employee/__pycache__/__init__.cpython-310.pyc b/employee/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b20794c6ddb56de8efa76b2363ae7625d7a07f66 GIT binary patch literal 1308 zcmaJ>&2Aev5GJ|QYPFUe*J%nLa@a$GKtN&xy%;FkAVpEM=s^gO+g=vyB^$4z{VBQI zR)TwIWFSXBKpWIP`j$3v>_hBa@&KzVuQ~M#SI2SN}*2PC0BrQ};8n6P$DAJ{-^VOCv zR2UWCl}VUJXk8poX`1y8EF|%%AU>1UnD|^!zfrI3S~jOud`Gqf7mZyqroJm$qA8qR z?k@=nRbAtJljMVJC}l5V3w5we2j_4gnI-JyN*J3t3bL0bjeA$@C%YYsLJx&gWY z+6Ipenm+FQic!sdXNMiY)dhi~&EBZxdb2U&-mTl-$o>2+i|3Vhq3GOJ{ZXA&Cmx8u zCVSO!^`tt5&)MX+$wM^5_u0j+dR`rY?_{!fnQ~ribDr_b4~==$#lddNG;|TF!dNmD zhAWvXb0sR3l4%h{S(1n8(0B4o$3>i_zAefkmf9?Z(RTckOdv`dSN@X6Dwb&^jUDDW zWa?UmYdQGAxBA%@^hD}N#W|)pB&rQBaDHQBJ4@t7d|!p>hLXC3jhwY?BM9O&E`ne^ zADR}_kSc&YNK1Vk1f!ht|8Y8u|HpB1{x7$k^A%^bdeQjx`N4?7p^JfQWI@dUgd*rZ zfnL%BBo6Bt>UNpo{VYyZ3*3iPErF_0PX+SFGy!oEs^K-*Xk=KMjaKHRXHH`)S(GY$ z2LS$tY5|$ygS*$4GWM#M5OEA#I)(V7b?A5OJTE7ipM_~^<(u?)gExyo{>is2OJC+N7uS+B4m3VVtOHD1RdHgLp-kHgrKOP5*g g@4?OOZT$by3VT)?-1gmf_?K44AJ!&1_q2|kdufIxB=!c_Z67S z$%`8~%)5o4@l7x-Af|bp7n!U$PZ0kx2hk8+pJLz;5e8UHBDbcCyqd_gE{h^dlUOY7 z5?iw~yLZvA&~+cf5@zs5mSpCvP?lYnKwSnXhl~Qxbmu}o37W{fh(*e^If#pb3uZhK z=iGFYQYkJL+k`4`jHh`vi4NK#-IpIHatz07%-PE{;I#dV2*Z@UbUvKFfcMP+&{ z)roxMYDaot#oAFG6Q4Zye_I>;PaFje)1=fYqtvu1%_S={yZ0%5DC4ZYiF%oo^Hfaf zL@GLyW37&meIs-)*soP~Sk|=_(FBk9&gN_sxCWFR=LYVT*>;t!HO=$-{R{i8n+AM1 Gaee^q&4v>I literal 0 HcmV?d00001 diff --git a/employee/applicants.py b/employee/applicants.py new file mode 100644 index 0000000..8fe1f3d --- /dev/null +++ b/employee/applicants.py @@ -0,0 +1,8 @@ +from . import Employee + +class Applicant(Employee): + looking_for_jobs=True + + def discover_company(self,company): + self.known_companies.append(company.name) + self.current_company=company.name \ No newline at end of file diff --git a/humans/__init__.py b/humans/__init__.py new file mode 100644 index 0000000..d7bb016 --- /dev/null +++ b/humans/__init__.py @@ -0,0 +1,41 @@ +from datetime import date,datetime +from enum import Enum + + +class Sex(Enum): + MALE="Мужчина", + FEMALE="Женщина" + + def __repr__(self) -> str: + return f"{self.value}" + +class AbstractHuman: + def __init__(self,first_name:str,last_name:str,sex:Sex,birthday:str) -> None: + self.first_name=first_name + self.last_name=last_name + self.sex=sex + self.birthday=datetime.strptime(birthday, "%d-%m-%Y").date() + + @property + def age(self) -> int: + age=datetime.now().year-self.birthday.year + if age>0: + return int(age) + else: + raise "Мамочка! Меня еще не родили" + + + def _eat(self): + pass + + def _sleep(self): + pass + + def _play(self): + pass + + def say(self,speach: str) -> None: + print(f"{self.first_name} {self.last_name}: {speach}") + + def about(self): + return f"{self.first_name} {self.last_name}. {repr(self.sex)} {self.birthday} ({self.age} полных лет)" diff --git a/humans/__pycache__/__init__.cpython-310.pyc b/humans/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5b9dea8d251c297bda9ac7c67caac950f0f5f38f GIT binary patch literal 2040 zcmbtVy>A>v6rZo%Tc7V7`|Ox+vxzXu7O_K%P~-?1DBv1bY_nS5jN`l97qh#NI~@|r z86iYL6`CZHUAl9DQA9}i7xvm|si@Pr;=MT^wl6^xnbrK}&Agd;-?N=^xk#Yhzkjm5 zA_(~lC+8cikqzj{O#n$GZITuZX^Vt};+!>Ei-(+&Pl@DG>=7vxAM#MZ+>tKK-60Dd zS=b_h_cz=@0%nAaQ)N8FwBAwyHDa@!wQ9&d-#AP*peI)W6bY#$A(J%Zl7&KYG}G-Gh24{e zH1?07Cmz6nG{^(8MGk2d^mM+Co0&QUg%j1>IV5@(ww$c4?{->hy?$HA?RBk^3?{o- zD{d$2QB-f&(z@z;VXuLLIRKWz;)s9;#icB$zS{<1+kuF8i zS6SRV<%lnCeZCpGpKRi2c#>*ehU=_0=b(gZ4ghv*jYk9(w8HG_3;xDb*ubrAfHQw9 z@Hcd>1O^wwx>J+|>4D!JUu|7q{W2)% zB{-`uBP=6eG8zvw>|)Mp44-}tAaFGLZF)Phrb2D%dyhj6G)tJ)R2LSoQ{3!n; ze+G5&dwz7qhdGwS&whRkb#d%NtsMKK@A7B)uTUjV^2cBvS|0Lt=bKRURIIJlhS%F^ zz^v(p$G6p#t@ z-P3^TD{#}apLr7ZR$<*fTt1x+C2(JG0oH}p>;@3yht%qY`mxle?Qo*2fHf%2h6AH` zR0K_(sz#6W*_z*H{e5Bq( zz5) literal 0 HcmV?d00001 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..2ace517 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +fastapi +uvicorn +jinja2 diff --git a/static/prism.css b/static/prism.css new file mode 100644 index 0000000..4351872 --- /dev/null +++ b/static/prism.css @@ -0,0 +1,3 @@ +/* PrismJS 1.28.0 +https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+python */ +code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help} diff --git a/static/prism.js b/static/prism.js new file mode 100644 index 0000000..0f6149c --- /dev/null +++ b/static/prism.js @@ -0,0 +1,5 @@ +/* PrismJS 1.28.0 +https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+python */ +var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(e){var n=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof i?new i(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=g.reach);A+=w.value.length,w=w.next){var E=w.value;if(n.length>e.length)return;if(!(E instanceof i)){var P,L=1;if(y){if(!(P=l(b,A,e,m))||P.index>=e.length)break;var S=P.index,O=P.index+P[0].length,j=A;for(j+=w.value.length;S>=j;)j+=(w=w.next).value.length;if(A=j-=w.value.length,w.value instanceof i)continue;for(var C=w;C!==n.tail&&(jg.reach&&(g.reach=W);var z=w.prev;if(_&&(z=u(n,z,_),A+=_.length),c(n,z,L),w=u(n,z,new i(f,p?a.tokenize(N,p):N,k,N)),M&&u(n,w,M),L>1){var I={cause:f+","+d,reach:W};o(e,n,t,w.prev,A,I),g&&I.reach>g.reach&&(g.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function u(e,n,t){var r=n.next,a={value:t,prev:n,next:r};return n.next=a,r.prev=a,e.length++,a}function c(e,n,t){for(var r=n.next,a=0;a"+i.content+""},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",(function(n){var t=JSON.parse(n.data),r=t.language,i=t.code,l=t.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),l&&e.close()}),!1),a):a;var g=a.util.currentScript();function f(){a.manual||a.highlightAll()}if(g&&(a.filename=g.src,g.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var h=document.readyState;"loading"===h||"interactive"===h&&g&&g.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return a}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); +Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(a,e){var s={};s["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[e]},s.cdata=/^$/i;var t={"included-cdata":{pattern://i,inside:s}};t["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var n={};n[a]={pattern:RegExp("(<__[^>]*>)(?:))*\\]\\]>|(?!)".replace(/__/g,(function(){return a})),"i"),lookbehind:!0,greedy:!0,inside:t},Prism.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(a,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp("(^|[\"'\\s])(?:"+a+")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))","i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml; +Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python; diff --git a/static/rabbit.png b/static/rabbit.png new file mode 100644 index 0000000000000000000000000000000000000000..e858f63eeba9e03761b4e53293d23b49d3571aab GIT binary patch literal 4743 zcmV;25_s*2P)ZgXgFbngSdJ^%m!E@@O)bVG7w zVRUJ4ZXi@?ZDjxe0002clF@=7F*YF3u+Xy5vmi1sGBO}AGCDLkIx;h86bz0401@9w zL_t(|oaLNrj2u^$$A9-$S6B6G9vRP!6TimeM8c-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~S9aUL8-#}oL)H#sEY~I0;5@8rWisGIHnmZ#=-oetKp+bS~glh&T%ke2C7t1DWsT`xagRQ zW%$+m#)8tbz)cEf+qo9o{(mNAtTxzTlO5Mo!9%2NS?D(}cWp?*eRL{E;KTS;WJ zHfFZ_RD_-3hWi9EOEoMwy z5N)Z9P)s`J>5NgoySdhxqVAGw(u*RqnVN-4L~Z1x*GFuj&{IoPt;wPCI5b9${~sY8 VniiRg0`vd?002ovPDHLkV1neoGra%+ literal 0 HcmV?d00001 diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..b825a9f --- /dev/null +++ b/templates/index.html @@ -0,0 +1,43 @@ + + + Логово Игоря + + + + + + + +
+
+ +
+
+    + +
+            
+                def show_my_projects():
+                    return [project for project in projects if project.sense is not None]
+            
+            
+             `>>> class project Resume``
+             `>>> class project PYCORAL_CCTV`
+        
+ + + \ No newline at end of file diff --git a/templates/pycoral.html b/templates/pycoral.html new file mode 100644 index 0000000..d2d9b51 --- /dev/null +++ b/templates/pycoral.html @@ -0,0 +1,36 @@ + + + Логово Игоря + + + + + + +
+
(Google Coral + RPi 4)*RTSPCam = CCTV? +
+    +
+            
+                def pycoral_cctv(pycoral_cctv):
+                    return pycoral_cctv.story
+            
+            

+ Моя малинка 4 верой и правдой служила мне как детектор движения на даче в деревне. + Только вот одна была с ней беда: + motioneye и под капотом motion безбожно срабатывали буквально на все - дождь снег ветер. + + Как-то вспомнил что давно хотел присмотреться к ускорителю Google Coral. + Пока заказанный свисток отправлялся со склада в Мск, я думал как мне его использовать. + +

+
+
+ + \ No newline at end of file diff --git a/templates/resume.html b/templates/resume.html new file mode 100644 index 0000000..d15ddf9 --- /dev/null +++ b/templates/resume.html @@ -0,0 +1,26 @@ + + + Логово Игоря + + + + + + +
+
Wake up,HR... Follow the white rabbit... +
+    +
+            
+                {{cv}}
+            
+        
+
+ + \ No newline at end of file diff --git a/world/__init__.py b/world/__init__.py new file mode 100644 index 0000000..644b4b0 --- /dev/null +++ b/world/__init__.py @@ -0,0 +1,18 @@ +from datetime import date,datetime,timedelta + +class AbstractCompany: + def __init__(self,name,description) -> None: + self.name=name + self.description=description + + def __repr__(self) -> str: + return f"{self.name}\n{self.description}" + +class AbstractJob: + def __init__(self,start:str,end:str=None) -> None: + self.start=datetime.strptime(start, "%m.%Y").date() + if end: + self.end=datetime.strptime(end, "%m.%Y").date() + else: + self.end=datetime.now().date() + self.delta=(datetime.now().date()-self.end) diff --git a/world/__pycache__/__init__.cpython-310.pyc b/world/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cabc3e897c88169d01f095759896d96a7cbadb26 GIT binary patch literal 1133 zcmZuwJ8u&~5T1S9`QkhP<3I|^q_`$-C=m*Z5E6xjl!|Ls7w-lf`R>fzSy3!^IkK5z765uBbZBis0&{w}CX2FUH z6e1G^WKhUV3U~)rT6Fn2S; zVvjc6W!)vMgG^Y+r0rN`^@Yxq6;7W>8`+qo$V$qR_(yM!>jv{tb66GAygc_Yx@Lyu zaKzD8#CPfw4(Y2O6I+M{7+6T+l;sF+#PCLXUFKBbx^?vk$J1t9mE1t>CMUQ?kB~vT z0o}ymF-tUHrEKjDG<0 z16>-p5({C)wY-wo1g%jEiQ7RdTUuRqNEcnhA1~dOPW2AIjCqA<6!U1W*x&n@c91*v z2?0Y}R5)bV@fow{Y*1x&MjOmOL8_KhyEC>x4EQm`jAqTt*ArUw#g^O=^M0%KyY)c^ zF^%vE9mpGlPnq?ZaiCW4zZ2Rf18+`P&jelwWX+Jma2Lzk8M!dFV0$QxPhKsT