Saravanan666/pypi-org huggingface dataset:
Package: jjk-sheet
jjk_sheetjjk_sheeté uma biblioteca para a obtenção de dados de umafichado rpgFeiticeiros e Maldições.UsoPrimeiro será instanciada a ficha passando caminho para o arquivojsonque contenha suas credencias do google obtidasaqui.fromjjk_sheetimportFichaficha=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 PessoalExemplo para pegar dados da tabela:ficha.ficha_pessoal.get()print(ficha.ficha_pessoal.nome)Os atributos disponíveis emficha.ficha_pessoalsão:acrobaciaalma_atualalma_maximoalma_temporarioastuciaatencaoatletismocacampanhacaracteristicascarismaconstituicaodestrezaenergia_atualenergia_maximoenergia_temporarioenganacaoespecializacaoexpfeiticariaforcafortitudefurtividadegrauhabilidades_de_especializacaohistoriainiciativaintegridadeinteligenciaintimidacaointuicaoinvestigacaojogadorlutamaestriamaestriasmedicinamod_carismamod_constituicaomod_destrezamod_forcamod_inteligenciamod_sabedoriamovimentonivelnomeocultismooficio1oficio2oficio3origempercepcaoperformancepersuasaopontariaprestidigitacaoreflexosregistro_rapidoreligiaosabedoriatalentostecnicatudovida_atualvida_maximovida_temporariovontadeRegistro e InventárioExemplo para pegar dados da tabela:ficha.reg_e_inv.get()print(ficha.reg_e_inv.inv)Os atributos disponíveis emficha.reg_e_invsão:alturaaparenciaauracabelosdefeitosespacos_ocupadosgenerohistoria_do_personagemidadeideaisinvligacoeslimite_de_espacosmarcasnomeolhospelepesoroupastamanhotracos_de_personalidadetudoPerfil AmaldiçoadoExemplo para pegar dados da tabela:ficha.perf_amald.get()print(ficha.perf_amald.nome_da_tecnica)Os atributos disponíveis emficha.perf_amaldsão:atributo_principalbunus_acertocd_tecnicadescricao_da_tecnicaenergia_atualenergia_maximoenergia_temporariohabilidades_amaldicoadashabilidades_conhecidashabilidades_maximasnome_da_tecnicatecnicas_nv0tecnicas_nv1tecnicas_nv2tecnicas_nv3tecnicas_nv4tecnicas_nv5tudoShikigamis/Corpos AmaldiçoadosExemplo para pegar dados da tabela:ficha.invocacoes.get()forinvocacaoinficha.invocacoes.invocacoes:print(invocacao.nome)Os atributos disponíveis emficha.invocacoessão:invocacoestipotudoInvocaçõesficha.invocacoes.invocacoesretornará uma lista de invocações, caso tenha alguma, onde
cada um delas terá os seguintes atributos:acoescacarismaconstituicaodestrezaforcainteligenciamod_carismamod_constituicaomod_destrezamod_forcamod_inteligenciamod_sabedoriamovimentonomepericiassabedoriavida
Package: jjlog
📚  AboutCentralize log for Python with:UTC time with ISO8601 format.Accency to milliseconds.Json format.Log write to consoleLog write to specific file location and rotate (optional)📝  Usagefromjjlogimportjjloggerlog=jjlogger("jjapp Log","./log/jjapp.log")# log = jjlogger("jjapp Log")   ## Or just output to consolelogger=log.getLogger()logger.info("jj test001")Output:{ 'time':'2022-03-27T14:07:17.456Z','name':'jjapp Log','level':'INFO','message':'log start' }🔧 Examples:example code
Package: jj-menu
Simple CUI (TUI) MenuInstall$ pip install jj-menu( or $ pip install git+https://github.com/ytyng/jj-menu.git )SetupCreatejjfile.pyinto any directory.#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import unicode_literals

menu = [
    ('list python processes', 'ps -eafw|grep python'),
    ('move tmp', 'cd /tmp/'),
    ('list dirs', ['ls .', 'ls ..', 'ls ../..']),
    ('Git logs (simple)',
     'git log --graph --date-order -C -M --pretty=format:"<%h> %ad [%an] %Cgreen%d%Creset %s" '
     '--all --date=short'),
    ('Git logs (verbose)',
     'git log --graph --date=iso --decorate --name-status'),
    ('Copy datetime to pasteboard',
     'date +"%Y-%m-%d %H:%M:%S"|pbcopy')
]And register shell function (Optional)function jj(){
    RESULT_FILE=/tmp/_jj_result
    jj-menu --result-file=${RESULT_FILE}
    if [ $? == 0 ]; then
        history -s `cat ${RESULT_FILE}`
        source ${RESULT_FILE}
    fi
}Run$ jjor$ jj-menu(In not registered jj shell function. Run selected command in subprocess.)Key bindsESC: Exit
Q: Exit
k: Up
j: Down
Package: jjowl
jjowl - opinied python module for processing OWL ontologiesSynopsisowlcat  a.ttl b.owl c.ttl > all.ttl
owlclass a.ttl     show class taxonomy
owlgrep pattern a.ttl
owllabel2term a.ttl > new.ttl    - new URIRef from rfds:label
owlexpand a.ttl  - expand and pretty print

owlxdxf  a.ttl  -- Build a XDXF dictionary (seealso goldendict)Converter Any to turtlejjtable2ttl
jjyaml2ttl
jjtmd2ttlAs a module:import jjowl
... FIXMEDescription
Package: jjson
jQuery selector liked JSON query toolSourceExample Usageimportjjson# Get string from nested JSONj={"foo":{"bar":{"test":"hello world"}}}p="foo.bar.test"printjjson.extract(j,p)# hello worldInstallThe latest stable version can always be installed or updated via pip:$pipinstallgit+https://github.com/festum/jjson.git# Alternative$pipinstalljjsonTODOCLITest caseChange value from certain nodeContributionsIssuesandPull Requestsare always welcome.LicenseCode and documentation are available according to the MIT License
(seeLICENSE).
Package: jk
Library containing useful functions for manipulating iterables.NoteThis code is deprecated, don’t use it!
Usetoolz.itertoolzinstead.Inspiration was drawn from Python itertools’ recipes and Ruby’s Enumerable API.Works on Python 2.6+ and 3.x.Free software: BSD licenseDocumentation:https://jk.readthedocs.org.Featureseach_conseach_cons(sequence, size)Iterates lazily through a sequence, yielding a sliding window
with the given size for each iteration.Examples:Calculating quarterly sales report:>>> import jk
>>> month_sales = [123.45, 54.3, 428.1, 144.2, 245.45, 197.3]
>>> for a, b, c in jk.each_cons(month_sales, 3):
...     print '%0.2f' % ((a + b + c)/3)
...
201.95
208.87
272.58
195.65Find duplicated lines in a file:>>> lines = """here is a simple
... file for us to test.
... this line repeats
... this line repeats
... -- this one does not
... this one repeats too
... this one repeats too
... okay, we're done here""".split('\n')
>>>
>>> for ln, (a, b) in enumerate(jk.each_cons(lines, 2), 1):
...     if a == b:
...         print (ln, a)
...
(3, 'this line repeats')
(6, 'this one repeats too')slice_before and slice_afterslice_before(predicate, sequence)slice_after(predicate, sequence)These functions are useful when you have a stream that has some sort of delimiter.
Handy for parsing log files, for example.They iterate lazily through a sequence, yielding a tuple containing the elements
sliced just before (or after) the predicate evaluates to True.The predicate argument can also be a string or a regular expression pattern
to be matched against the sequence elements.Examples:Grouping numbers until reaching zero:>>> numbers = [1, 2, 3, 0, 4, 5, 0, 6, 0, 7, 8]
>>> print list(jk.slice_after(lambda x: x == 0, numbers))
[(1, 2, 3, 0), (4, 5, 0), (6, 0), (7, 8)]Reading entries of a fantasy multiline log file:>>> log_lines = """START: initiating...
... kernel found
... EVENT: started
... moving on
... EVENT: something happened
... EVENT: another thing happened""".split('\n')
>>>
>>> for entry in jk.slice_before('^(START|EVENT):', log_lines):
...     print entry
...
('START: initiating...', 'kernel found')
('EVENT: started', 'moving on')
('EVENT: something happened',)
('EVENT: another thing happened',)first, second and nthfirst(sequence, default=None)Returns the first element of a sequence
(or a default value if the sequence is empty).second(sequence, default=None)Returns the second element of a sequence
(or a default value if not exists).nth(sequence, n, default=None)Returns the nth element of a sequence
(or a default value if not exists).Note that the argument n is not a zero-based index: it is a ordinal number,
so n=1 means the first element, n=4 means the fourth and so on.History0.1.0 (2014-11-23)First release on PyPI.
Package: jk-checkpproc
jk_checkpprocIntroductionThis python module ...Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_checkpproc...Contact InformationThis work is Open Source. This enables you to use this work for free.Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-cmdoutputparsinghelper
jk_cmdoutputparsinghelperIntroductionThis python module ...Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_cmdoutputparsinghelper...Contact InformationThis work is Open Source. This enables you to use this work for free.Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk_commentjson
IntroductionThis python module allows reading JSON files including comments.This module is an improved version of Vaidik Kapoor’scommentjsonmodule provided at PyPi athttps://pypi.python.org/pypi/commentjson/. The original version has been ported to Python 3 and the regular expressions have been improved.Information about this module can be found here:github.orgpypi.python.orgForewordThe originalcommentjsonmodule implemented by Vaidik Kapoor makes use of regular expressions to preprocess files before forwarding the data to the Pythonjsonparser to actually parse the data. Of course this approach must be considered to be a hack, especially as the existing implementation does not manage all special situations in parsing.The libraryjk_commentjsonimproves on the current implementation by fixing and extending the expression approach. Though the current approach works quite well nevertheless it is still a hack.The author ofjk_commentjsonwill replace the existing implementation with a real parser one day, but that will take a bit of time to fully implement and test. Unfortunately due to lack of time this can’t be done in the next weeks or months. Besides: The current approach works well in most use cases anyway. Till that day until the existing implementation will be replaced all users of this library will need to get along with the current implementation. Which you will likely find working pretty well until you not run into the following bug:If a JSON file is provided in a single line not terminated by a line feed, comments in this file will not be parsed.So use multi-line JSON files please (which you will likely do anyway as comments in JSON files indicate that these files address human beings and therefor will not be single-line-JSON files anyway).How to use this module### ImportTo import this module use the following statement:import jk_commentjson### ParsingYou can parse JSON files like this:json_loaded = commentjson.loads(json_string)A JSON file can contain comments of the following style:line comments using “//” (C-style comments)line comments using “#” (Python-style comments)Contact InformationThis is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-contract
jk_contract 提取合同章节、小节、首页、风险级别暂时不支持广发安装方法命令行输入pip install jk_contract创建新的.py文件，输入：-*- coding: GBK -*-import jk_contract as jk函数单个合同文件contract = jk.Contract('[合同文件路径]')print(contract.get_risk_level() # 输出风险等级)print(contract.get_chapter('[章节(如：基金的投资)]' # 输出章节内容)print(contract.get_section_of_chapter('[章节]', '[小节(如：投资限制、投资范围)]' #输出小节内容)多个合同文件contracts = jk.Contracts('合同文件夹路径')提取内容可以是章节或者章节内小节：content = contracts.get_chapters('[章节]')content = contracts.get_sections('[章节]', '[小节]') #若提取多于一个小节，[小节]需要为list（参照使用案例)将提取内容以基金产品名字作为index生成dataframe：df = contracts.get_df(content)最后将df导出成excel:contracts.to_excel(df, '[导出路径]+[导出excel文件名称].xlsx')举例：contracts.to_excel(df, '~/Desktop/output.xlsx')使用案例（提取投资限制和投资范围）方法1:创建新python文件# -*- coding: GBK -*-

import jk_contract as jk

contracts = jk.Contracts('/Users/andy/Desktop/work/ubiquant/合同提取/所有合同')
contents = contracts.get_sections('基金的投资', ['投资限制', '投资范围'])
contracts.to_excel(contracts.get_df(contents), '~/Desktop/output.xlsx')方法2:命令行打开命令行输入：jk_contract [input路径(如：'/Users/andy/Desktop/work/ubiquant/合同提取/所有合同')] [output路径(如：/Users/andy/Desktop/work/ubiquant/合同提取/output.xlsx)] [章节(如：基金的投资)] [小节(如：投资范围 投资限制)(注：小节可以多于一个)]
Package: jk-datamatrix
jk_datamatrixIntroductionThis python module provides a class that represents a data matrix. This is basically a table you can work with: Modify, sort, filter and print. Everthing is kept in memory, is not indexed, and therefore intended for a limited amount of data only.Information about this module can be found here:github.orgpypi.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_datamatrix...Contact InformationThis work is Open Source. This enables you to use this work for free.Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:Jürgen Knauth:pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-devon-mwdocgen
jk_devon_mwdocgenIntroductionThis python module ...Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_devon_mwdocgen...Contact InformationThis work is Open Source. This enables you to use this work for free.Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-dirmonitor
IntroductionThis python module …Information about this module can be found here:github.orgpypi.python.orgWhy this module?…Limitations of this module…How to use this moduleImport this modulePlease include this module into your application using the following code:impoertjk_dirmonitor…Contact InformationThis is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-dirwalker
jk_dirwalkerIntroductionThis python module ...Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_dirwalker...Contact InformationJürgen Knauth:pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jkdownload
JKDownloadCollect information about your favorite anime from the jkanime.net website.DescriptionThis module makes use of the Selenium library for python to collect information of your favorite anime, such as anime name, description, number of episodes, year of broadcast, and it does have a download option.InstallationYou must have Chrome or Chromium browser installed. You must also install the browser driver that will communicate with Selenium. In this case you must downloadchromedriver, as indicated in theofficial documentation.If you are a Linux user of the Ubuntu-Debian family, you can install the driver directly from the repositories as follows:$sudoaptinstallchromium-chromedriverFinally to install this module, create a python virtual environment, either with venv or conda, and run the following:$python-mpipinstalljkdownloadYou are now ready to use jkdownload module.
Package: jk-etcpasswd
jk_etcpasswdIntroductionThis python module provides classes to parse and model data from /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow.Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:importjk_etcpasswd...Contact InformationThis work is Open Source. This enables you to use this work for free.Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jkeydb
jkeydba simple key-value databasehow to installpip install jkeydborpip install git+https://github.com/duongtuan303030/jkeydbhow to usefromjkeydbimportdatabasewithdatabase("file name")askv:#save items (support json and str and int)kv["key"]=32323#load itemsdata=kv["key"]print(data)#get all key as listdata-kv.keys()print(data)#get all items as listdata-kv.items()print(data)#get all values as listdata-kv.values()print(data)#get all List keys with a prefixdata=kv.prefix("text key")print(data)#same as dict objno withfromjkeydbimportdatabasekv=database("file name")#save items (support json and str and int)kv["key"]=32323#load itemsdata=kv["key"]print(data)#get all key as listdata-kv.keys()print(data)#get all items as listdata-kv.items()print(data)#get all values as listdata-kv.values()print(data)#get all List keys with a prefixdata=kv.prefix("text key")print(data)#save datakv.close()
Package: jk_fileaccess
IntroductionThis python module provides a uniform interface to process files that are either stored locally or remotely.What this uniform interface is:A simple way to iterate over a (very) large set of files. This should
be fast, this should be simple. That is the goal this module tries to achieve.What this uniform interface not is:A full featured file system API. The classes are quite limited.
(Nevertheless feel free to aid in development of this module to extend the functionality of these classes.)Information about this module can be found here:[github.org](https://github.com/jkpubsrc/python-module-jk-fileaccess)[pypi.python.org](https://pypi.python.org/pypi/jk_fileaccess)Contact InformationThis is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-flexdata
jk_flexdataIntroductionThis python module ...Information about this module can be found here:github.orgpypi.python.orgWhy this module?...Limitations of this module...How to use this moduleImport this modulePlease include this module into your application using the following code:impoertjk_flexdata...Contact InformationThis is Open Source code. That not only gives you the possibility of freely using this code it also
allows you to contribute. Feel free to contact the author(s) of this software listed below, either
for comments, collaboration requests, suggestions for improvement or reporting bugs:Jürgen Knauth:jknauth@uni-goettingen.de,pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0
Package: jk-furl
jk_furlIntroductionThis python module offers support for URL handling. It provides thefurlimplementation as well as some additional features.Information about this module can be found here:github.orgpypi.python.orgWhy this module?This is a fork offurlas some additional features not covered by the originalfurlimplementation have been required. Therefore this additional module has been created which incorporatesfurl.Documentation(coming soon)Contact InformationJürgen Knauth:pubsrc@binary-overflow.deLicenseThis software is provided under the following license:Apache Software License 2.0