Skip to content

Commit

Permalink
Merge pull request #178 from ResidenciaTICBrisa/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
pedrobarbosaocb authored May 3, 2024
2 parents b1bd510 + 06f2b11 commit c0a8f01
Show file tree
Hide file tree
Showing 441 changed files with 47,478 additions and 7,014 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
31 changes: 31 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
django = "==4.2.4"
asgiref = "==3.7.2"
attrs = "==23.1.0"
cffi = "==1.16.0"
cryptography = "==41.0.5"
et-xmlfile = "==1.1.0"
iniconfig = "==2.0.0"
openpyxl = "==3.0.10"
oracledb = "==1.4.2"
packaging = "==23.2"
pillow = "==10.1.0"
pluggy = "==1.3.0"
psycopg2-binary = "==2.9.9"
py = "==1.11.0"
pycparser = "==2.21"
pytest = "==7.1.2"
sqlparse = "==0.4.4"
tomli = "==2.0.1"
typing-extensions = "==4.8.0"
python-dotenv = "*"

[dev-packages]

[requires]
python_version = "3.8"
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified docs/atas/06-29.md
100644 → 100755
Empty file.
Empty file modified docs/atas/07-11.md
100644 → 100755
Empty file.
Empty file modified docs/atas/07-20.md
100644 → 100755
Empty file.
Empty file modified docs/atas/07-27.md
100644 → 100755
Empty file.
Empty file modified docs/atas/08-01.md
100644 → 100755
Empty file.
Empty file modified docs/atas/08-09.md
100644 → 100755
Empty file.
Empty file modified docs/atas/08-10.md
100644 → 100755
Empty file.
Empty file modified docs/atas/08-17.md
100644 → 100755
Empty file.
Empty file modified docs/index.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/StoryMapping.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/assets/fluxograma.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/planejamento/assets/incremental.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/planejamento/assets/logo.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/planejamento/assets/mvp.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/planejamento/assets/roadmap.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/planejamento/backlog/backlog.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/backlog/backlog1.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/contexto.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/escopo.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/fluxograma.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/heatmap.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/metodologia.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/requisitos/elicitacao.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/requisitos/priorizacao.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/roadmap.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/tecnologias.md
100644 → 100755
Empty file.
Empty file modified docs/planejamento/teste.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/estudos_individuais/PipelinedeDados.md
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/treinamento/estudos_individuais/assets/fundBD/Untitled.png
100644 → 100755
Empty file modified docs/treinamento/estudos_individuais/fundamentosBD.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/estudos_individuais/linguagem_framework.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/estudos_individuais/metodologias.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/introducao.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/treinamentos/mkdocs.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/treinamentos/pipelinesimples.md
100644 → 100755
Empty file.
Empty file modified docs/treinamento/treinamentos/postgresql.md
100644 → 100755
Empty file.
Binary file added imagemFap/fapdf.png
Binary file added imagemFinep/Finep.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Empty file modified mkdocs.yml
100644 → 100755
Empty file.
File renamed without changes.
Binary file added planilhas/ModeloFUNDEP.xlsx
Binary file not shown.
Binary file added planilhas/Modelo_Fub.xlsx
Binary file not shown.
Binary file added planilhas/modeloFap.xlsx
Binary file not shown.
Binary file added planilhas/modeloFinep.xlsx
Binary file not shown.
File renamed without changes.
12 changes: 12 additions & 0 deletions project/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pypdf2 = {extras = ["crypto"], version = "*"}

[dev-packages]

[requires]
python_version = "3.8"
77 changes: 77 additions & 0 deletions project/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions project/app/Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pypdf2 = "*"

[dev-packages]

[requires]
python_version = "3.8"
38 changes: 38 additions & 0 deletions project/app/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified project/app/__init__.py
100644 → 100755
Empty file.
22 changes: 21 additions & 1 deletion project/app/admin.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from django.contrib.auth.models import User

# Register your models here.
from .models import Employee


# Define an inline admin descriptor for Employee model
# which acts a bit like a singleton
class EmployeeInline(admin.StackedInline):
model = Employee
can_delete = False
verbose_name_plural = "employee"


# Define a new User admin
class UserAdmin(BaseUserAdmin):
inlines = [EmployeeInline]


# Re-register UserAdmin
admin.site.unregister(User)
admin.site.register(User, UserAdmin)
Empty file modified project/app/apps.py
100644 → 100755
Empty file.
37 changes: 19 additions & 18 deletions project/app/capa.py → project/app/capaFub.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -99,23 +99,18 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):

planilha_local_dados = {
"Capa Finatec":[
("E6",'NOME_FINANCIADOR'),
("E9",'NOME'),
("E14",'COORDENADOR'),
("E17",'PROCESSO'),
("E19",'CODIGO'),
("K17",'BANCO'),
("K19",'CONTA_BANCARIA'),
("K21",'AGENCIA_BANCARIA'),
("E35",'Suellen Santos Diniz de Carvalho')
("E6",'NomePessoaFinanciador'),
("E9",'NomeConvenio'),
("E14",'NomePessoaResponsavel'),
("E17",'Processo'),
("E19",'CodConvenio'),
("K17",'NomeBanco'),
("K19",'Conta'),
("K21",'Agencia')

]
}






# Create an empty dictionary to store the values from the second dictionary
result_dict = {}

Expand Down Expand Up @@ -159,7 +154,7 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
'gerente_branco.png',#17
'periodo.png',#18
'periodo_branco.png',#19
'prestaçãodecontasparcial.png',#20
'prestacaodecontaparcial.png',#20
'processo.png',#21
'processo_branco.png',#22
'projeto.png',#23
Expand All @@ -173,7 +168,7 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
# List to hold Image objects
images = []

nomePasta = "imagensCapa"
nomePasta = "../../imagensCapa"
diretorio = os.path.dirname(__file__)

# Loop through the list of image names and create Image objects
Expand All @@ -185,7 +180,7 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
images.append(img)



#daqui pra cima testado

#estilo imagem
worksheet.add_image(images[20], "B2")#prestação
Expand All @@ -210,6 +205,7 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
worksheet['E6'].font = Font(name="Tahoma", size=9, color="204c80",bold=False)
worksheet['E6'].alignment = Alignment(horizontal="center",vertical="center",wrap_text=True)


worksheet.add_image(images[23], "B9")#projeto
worksheet.merge_cells('B9:D13')
worksheet['B9'] = 'PROJETO'
Expand Down Expand Up @@ -271,6 +267,8 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
worksheet['K21'].font = Font(name="Tahoma", size=10, color="204c80",bold=False)
worksheet['K21'].alignment = Alignment(horizontal="center",vertical="center",wrap_text=True)

#testado

worksheet.add_image(images[25], "B19")#Centro de custo
worksheet.merge_cells('B19:D20')
worksheet['B19'] = 'CENTRO DE CUSTO'
Expand All @@ -292,6 +290,8 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):
worksheet['E21'] = f"{(data1)} a {(data2)}"
worksheet['E21'].font = Font(name="Tahoma", size=10, color="204c80",bold=False)
worksheet['E21'].alignment = Alignment(horizontal="center",vertical="center",wrap_text=True)
#testado


worksheet.add_image(images[7], "B30")#Assistente
worksheet.merge_cells('B30:D32')
Expand All @@ -314,7 +314,7 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):

worksheet.add_image(images[16], "B34")#gerengte
worksheet.merge_cells('B34:D36')
worksheet['B34'] = 'COORDENADORA DE GESTÃO DE PROJETOS'
worksheet['B34'] = 'GERENTE DE PROJETOS'
worksheet['B34'].font = Font(name="Tahoma", size=10, color="204c80",bold=True)
worksheet['B34'].alignment = Alignment(horizontal="left",vertical="center",wrap_text=True,shrink_to_fit=True )
worksheet.add_image(images[17], "E34")#gerente
Expand All @@ -329,3 +329,4 @@ def inserir_round_retangulo(planilha,data1,data2,dicionariofin):

# Save the workbook
workbook.save(planilha)
workbook.close()
Loading

0 comments on commit c0a8f01

Please sign in to comment.