jjk-sheet


Namejjk-sheet JSON
Version 1.1.3 PyPI version JSON
download
home_page
SummaryUma biblioteca para a obtenção de dados de uma ficha do rpg Feiticeiros e Maldições.
upload_time2023-12-11 17:22:07
maintainer
docs_urlNone
author
requires_python>=3.10.7
licenseMIT License Copyright (c) 2023 H0ruh3 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords jjk_sheet rpg jujutsu kaisen ficha
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # jjk_sheet

**jjk_sheet** é uma biblioteca para a obtenção de dados de uma [ficha](https://docs.google.com/spreadsheets/d/1txN7cAC2WXbPeq5nRSgI-k4hjtBLbEI2KUr61RMuul4/)
do rpg [Feiticeiros e Maldições](https://drive.google.com/file/d/172OB3Pz7-o9BFateI3BEdRiBllpbx34w/view).

---

# Uso

Primeiro será instanciada a ficha passando caminho para o arquivo
`json` que contenha suas credencias do google obtidas [aqui](https://console.cloud.google.com/).

```py
from jjk_sheet import Ficha

ficha = Ficha("your_token_file.json", "https://url.para.sua.ficha/")
```
Com a ficha instanciada agora podemos acessar os dados das tabelas
da sua planilha no GoogleSheets.

---

### Ficha Pessoal

Exemplo para pegar dados da tabela:
```py
ficha.ficha_pessoal.get()

print(ficha.ficha_pessoal.nome)
```

Os atributos disponíveis em `ficha.ficha_pessoal` são:

- `acrobacia`
- `alma_atual`     
- `alma_maximo`    
- `alma_temporario`
- `astucia`        
- `atencao`        
- `atletismo`      
- `ca`
- `campanha`       
- `caracteristicas`
- `carisma`        
- `constituicao`
- `destreza`
- `energia_atual`
- `energia_maximo`
- `energia_temporario`
- `enganacao`
- `especializacao`
- `exp`
- `feiticaria`
- `forca`
- `fortitude`
- `furtividade`
- `grau`
- `habilidades_de_especializacao`
- `historia`
- `iniciativa`
- `integridade`
- `inteligencia`
- `intimidacao`
- `intuicao`
- `investigacao`
- `jogador`
- `luta`
- `maestria`
- `maestrias`
- `medicina`
- `mod_carisma`
- `mod_constituicao`
- `mod_destreza`
- `mod_forca`
- `mod_inteligencia`
- `mod_sabedoria`
- `movimento`
- `nivel`
- `nome`
- `ocultismo`
- `oficio1`
- `oficio2`
- `oficio3`
- `origem`
- `percepcao`
- `performance`
- `persuasao`
- `pontaria`
- `prestidigitacao`
- `reflexos`
- `registro_rapido`
- `religiao`
- `sabedoria`
- `talentos`
- `tecnica`
- `tudo`
- `vida_atual`
- `vida_maximo`
- `vida_temporario`
- `vontade`

---

### Registro e Inventário

Exemplo para pegar dados da tabela:
```py
ficha.reg_e_inv.get()

print(ficha.reg_e_inv.inv)
```

Os atributos disponíveis em `ficha.reg_e_inv` são:

- `altura`
- `aparencia`
- `aura`
- `cabelos`
- `defeitos`
- `espacos_ocupados`      
- `genero`
- `historia_do_personagem`
- `idade`
- `ideais`
- `inv`
- `ligacoes`
- `limite_de_espacos`
- `marcas`
- `nome`
- `olhos`
- `pele`
- `peso`
- `roupas`
- `tamanho`
- `tracos_de_personalidade`
- `tudo`

---

### Perfil Amaldiçoado

Exemplo para pegar dados da tabela:
```py
ficha.perf_amald.get()

print(ficha.perf_amald.nome_da_tecnica)
```

Os atributos disponíveis em `ficha.perf_amald` são:

- `atributo_principal`
- `bunus_acerto`
- `cd_tecnica`
- `descricao_da_tecnica`    
- `energia_atual`
- `energia_maximo`
- `energia_temporario`
- `habilidades_amaldicoadas`
- `habilidades_conhecidas`  
- `habilidades_maximas`     
- `nome_da_tecnica`
- `tecnicas_nv0`
- `tecnicas_nv1`
- `tecnicas_nv2`
- `tecnicas_nv3`
- `tecnicas_nv4`
- `tecnicas_nv5`
- `tudo`

---

### Shikigamis/Corpos Amaldiçoados

Exemplo para pegar dados da tabela:
```py
ficha.invocacoes.get()

for invocacao in ficha.invocacoes.invocacoes:
    print(invocacao.nome)
```

Os atributos disponíveis em `ficha.invocacoes` são:

- `invocacoes`
- `tipo`
- `tudo`

---

##### Invocações

`ficha.invocacoes.invocacoes` retornará uma lista de invocações, caso tenha alguma, onde
cada um delas terá os seguintes atributos:

- `acoes`
- `ca`
- `carisma`     
- `constituicao`
- `destreza`    
- `forca`       
- `inteligencia`
- `mod_carisma`
- `mod_constituicao`
- `mod_destreza`
- `mod_forca`
- `mod_inteligencia`
- `mod_sabedoria`
- `movimento`
- `nome`
- `pericias`
- `sabedoria`
- `vida`

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "jjk-sheet",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10.7",
    "maintainer_email": "",
    "keywords": "jjk_sheet,rpg,jujutsu,kaisen,ficha",
    "author": "",
    "author_email": "H0ruh3 <jorgemenezesaf@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/f8/b2/2bc5e439ad4d9d2a937d558dd9ae52f2043c06a0e721a4712db3f0bcf880/jjk_sheet-1.1.3.tar.gz",
    "platform": null,
    "description": "# jjk_sheet\n\n**jjk_sheet** \u00e9 uma biblioteca para a obten\u00e7\u00e3o de dados de uma [ficha](https://docs.google.com/spreadsheets/d/1txN7cAC2WXbPeq5nRSgI-k4hjtBLbEI2KUr61RMuul4/)\ndo rpg [Feiticeiros e Maldi\u00e7\u00f5es](https://drive.google.com/file/d/172OB3Pz7-o9BFateI3BEdRiBllpbx34w/view).\n\n---\n\n# Uso\n\nPrimeiro ser\u00e1 instanciada a ficha passando caminho para o arquivo\n`json` que contenha suas credencias do google obtidas [aqui](https://console.cloud.google.com/).\n\n```py\nfrom jjk_sheet import Ficha\n\nficha = Ficha(\"your_token_file.json\", \"https://url.para.sua.ficha/\")\n```\nCom a ficha instanciada agora podemos acessar os dados das tabelas\nda sua planilha no GoogleSheets.\n\n---\n\n### Ficha Pessoal\n\nExemplo para pegar dados da tabela:\n```py\nficha.ficha_pessoal.get()\n\nprint(ficha.ficha_pessoal.nome)\n```\n\nOs atributos dispon\u00edveis em `ficha.ficha_pessoal` s\u00e3o:\n\n- `acrobacia`\n- `alma_atual`     \n- `alma_maximo`    \n- `alma_temporario`\n- `astucia`        \n- `atencao`        \n- `atletismo`      \n- `ca`\n- `campanha`       \n- `caracteristicas`\n- `carisma`        \n- `constituicao`\n- `destreza`\n- `energia_atual`\n- `energia_maximo`\n- `energia_temporario`\n- `enganacao`\n- `especializacao`\n- `exp`\n- `feiticaria`\n- `forca`\n- `fortitude`\n- `furtividade`\n- `grau`\n- `habilidades_de_especializacao`\n- `historia`\n- `iniciativa`\n- `integridade`\n- `inteligencia`\n- `intimidacao`\n- `intuicao`\n- `investigacao`\n- `jogador`\n- `luta`\n- `maestria`\n- `maestrias`\n- `medicina`\n- `mod_carisma`\n- `mod_constituicao`\n- `mod_destreza`\n- `mod_forca`\n- `mod_inteligencia`\n- `mod_sabedoria`\n- `movimento`\n- `nivel`\n- `nome`\n- `ocultismo`\n- `oficio1`\n- `oficio2`\n- `oficio3`\n- `origem`\n- `percepcao`\n- `performance`\n- `persuasao`\n- `pontaria`\n- `prestidigitacao`\n- `reflexos`\n- `registro_rapido`\n- `religiao`\n- `sabedoria`\n- `talentos`\n- `tecnica`\n- `tudo`\n- `vida_atual`\n- `vida_maximo`\n- `vida_temporario`\n- `vontade`\n\n---\n\n### Registro e Invent\u00e1rio\n\nExemplo para pegar dados da tabela:\n```py\nficha.reg_e_inv.get()\n\nprint(ficha.reg_e_inv.inv)\n```\n\nOs atributos dispon\u00edveis em `ficha.reg_e_inv` s\u00e3o:\n\n- `altura`\n- `aparencia`\n- `aura`\n- `cabelos`\n- `defeitos`\n- `espacos_ocupados`      \n- `genero`\n- `historia_do_personagem`\n- `idade`\n- `ideais`\n- `inv`\n- `ligacoes`\n- `limite_de_espacos`\n- `marcas`\n- `nome`\n- `olhos`\n- `pele`\n- `peso`\n- `roupas`\n- `tamanho`\n- `tracos_de_personalidade`\n- `tudo`\n\n---\n\n### Perfil Amaldi\u00e7oado\n\nExemplo para pegar dados da tabela:\n```py\nficha.perf_amald.get()\n\nprint(ficha.perf_amald.nome_da_tecnica)\n```\n\nOs atributos dispon\u00edveis em `ficha.perf_amald` s\u00e3o:\n\n- `atributo_principal`\n- `bunus_acerto`\n- `cd_tecnica`\n- `descricao_da_tecnica`    \n- `energia_atual`\n- `energia_maximo`\n- `energia_temporario`\n- `habilidades_amaldicoadas`\n- `habilidades_conhecidas`  \n- `habilidades_maximas`     \n- `nome_da_tecnica`\n- `tecnicas_nv0`\n- `tecnicas_nv1`\n- `tecnicas_nv2`\n- `tecnicas_nv3`\n- `tecnicas_nv4`\n- `tecnicas_nv5`\n- `tudo`\n\n---\n\n### Shikigamis/Corpos Amaldi\u00e7oados\n\nExemplo para pegar dados da tabela:\n```py\nficha.invocacoes.get()\n\nfor invocacao in ficha.invocacoes.invocacoes:\n    print(invocacao.nome)\n```\n\nOs atributos dispon\u00edveis em `ficha.invocacoes` s\u00e3o:\n\n- `invocacoes`\n- `tipo`\n- `tudo`\n\n---\n\n##### Invoca\u00e7\u00f5es\n\n`ficha.invocacoes.invocacoes` retornar\u00e1 uma lista de invoca\u00e7\u00f5es, caso tenha alguma, onde\ncada um delas ter\u00e1 os seguintes atributos:\n\n- `acoes`\n- `ca`\n- `carisma`     \n- `constituicao`\n- `destreza`    \n- `forca`       \n- `inteligencia`\n- `mod_carisma`\n- `mod_constituicao`\n- `mod_destreza`\n- `mod_forca`\n- `mod_inteligencia`\n- `mod_sabedoria`\n- `movimento`\n- `nome`\n- `pericias`\n- `sabedoria`\n- `vida`\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 H0ruh3  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Uma biblioteca para a obten\u00e7\u00e3o de dados de uma ficha do rpg Feiticeiros e Maldi\u00e7\u00f5es.",
    "version": "1.1.3",
    "project_urls": null,
    "split_keywords": [
        "jjk_sheet",
        "rpg",
        "jujutsu",
        "kaisen",
        "ficha"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0fff3c0f84e613e6a9718986a19f5971ce690f6802abef46c7ca3560aebbdda4",
                "md5": "16726542d204eea64d929703340f06d1",
                "sha256": "2b9810f6bf29976b46a9493f95a4130a3c4610c42535473b2dde3e754771747d"
            },
            "downloads": -1,
            "filename": "jjk_sheet-1.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "16726542d204eea64d929703340f06d1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10.7",
            "size": 8006,
            "upload_time": "2023-12-11T17:22:06",
            "upload_time_iso_8601": "2023-12-11T17:22:06.187545Z",
            "url": "https://files.pythonhosted.org/packages/0f/ff/3c0f84e613e6a9718986a19f5971ce690f6802abef46c7ca3560aebbdda4/jjk_sheet-1.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f8b22bc5e439ad4d9d2a937d558dd9ae52f2043c06a0e721a4712db3f0bcf880",
                "md5": "477d2378c112faa42510f031d8c81adc",
                "sha256": "0c223efe983faa473fa49d78cf84f439a67e3b0f6e3d14f6b1977016961e29dd"
            },
            "downloads": -1,
            "filename": "jjk_sheet-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "477d2378c112faa42510f031d8c81adc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10.7",
            "size": 9105,
            "upload_time": "2023-12-11T17:22:07",
            "upload_time_iso_8601": "2023-12-11T17:22:07.654196Z",
            "url": "https://files.pythonhosted.org/packages/f8/b2/2bc5e439ad4d9d2a937d558dd9ae52f2043c06a0e721a4712db3f0bcf880/jjk_sheet-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 17:22:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "jjk-sheet"
}
        
Elapsed time: 0.23899s