Saravanan666/pypi-org huggingface dataset:
Package: tibiawikisql
tibiawiki-sqlScript that generates a sqlite database for the MMO Tibia.Inspired inMytherin's TibiaylzerTibiaWiki parsing script.This script fetches data from TibiaWiki via its API, compared to relying ondatabase dumpsthat are not updated as frequently. By using the API, the data obtained is always fresh.This script is not intended to be running constantly, it is meant to be run once, generate a sqlite database and use it
externally.If you integrate this into your project or use the generated data, make sure to creditTibiaWikiand its contributors.RequirementsPython 3.6 or higherrequestsmoduleclickmodulecoloramamoduleInstallingTo install the latest version on PyPi:pipinstalltibiawikisqlorInstall the latest version from GitHubpip install git+https://github.com/Galarzaa90/tibiawiki-sql.gitRunningpython-mtibiawikisqlgenerateORtibiawikisqlThe process can be long, taking up to 10 minutes the first time. All images are saved to theimagesfolder. On
subsequent runs, images will be read from disk instead of being fetched from TibiaWiki again.
If a newer version of the image has been uploaded, it will be updated.When done, a database file calledtibiawiki.dbwill be found on the folder.DockerThe database can also be generated without installing the project, it's dependencies, or Python, by using Docker.
Make sure to have Docker installed, then simply run:generateWithDocker.shThe script will build a Docker image and run the script inside a container. Thetibiawiki.dbfile will end up in
the project's root directory as normal.Database contentsAchievementsCharmsCreaturesCreature drop statisticsHousesImbuementsItemsMountsNPCsNPC offersOutfitsQuestsSpellsUpdatesWorldsDocumentationCheck out thedocumentation page.ContributingImprovements and bug fixes are welcome, via pull requestsFor questions, suggestions and bug reports, submit an issue.The best way to contribute to this project is by contributing toTibiaWiki.
Package: tibidi
tibidiDump your traceback into a file.Documentation:https://gergelyk.github.io/python-tibidiRepository:https://github.com/gergelyk/python-tibidiPackage:https://pypi.python.org/pypi/tibidiAuthor:Grzegorz KrasońLicense:MITRequirementsThis package requires CPython 3.8 or compatible. If you have other version already installed, you can switch usingpyenv. It must be installed as described in themanual.pyenvinstall3.8.2
pyenvlocal3.8.2InstallationpipinstalltibidiUsagepoetryrunpythontibidi/hello.pyDevelopment# Preparing environmentpipinstall--userpoetry# unless already installedpoetryinstall# Auto-formattingpoetryrundocformatter-ritibiditests
poetryrunisort-rctibiditests
poetryrunyapf-r-itibiditests# Checking coding stylepoetryrunflake8tibiditests# Checking composition and qualitypoetryrunvulturetibiditests
poetryrunmypytibiditests
poetryrunpylinttibiditests
poetryrunbandittibiditests
poetryrunradoncctibiditests
poetryrunradonmitibiditests# Testing with coveragepoetryrunpytest--covtibidi--covtests# Rendering documentationpoetryrunmkdocsserve# Building packagepoetrybuild# Releasingpoetryversionminor# increment selected componentgitcommit-am"bump version"gitpush
gittag${$(poetryversion)[2]}gitpush--tags
poetrybuild
poetrypublish
poetryrunmkdocsbuild
poetryrunmkdocsgh-deploy-bgh-pagesDonationsIf you find this software useful and you would like to repay author's efforts you are welcome to use following button:
Package: tibis
TibisTibis (Thot the IBIS) is a tool to help manage encrypted directories (named data container here)Name is inspired by the Egyptian god of writers and protector of knowledgeTLDR; Setuppip install tibisTLDR; UsageCustomise the data location pathDefault config is set to be at :~/.config/tibis/config.ymlYou HAVE TO edit the storage_path to something more secure than /tmp :)Create a new data containertibis create <name>Thot will ask you a passphrase, choose a good one !List data containerstibis listMount a data containertibis unlock <name> <destination path>Thot will ask your passphrase.Lock a data containertibis lock <name>Thot will not ask your passphrase.. because it's PGP Public key.Remove an entrytibis delete <name>Thot will ask you a confirmation, take care !Why ?Because we have to handle with sensitive files, and store them securly can be boringHow ?Tibis is a kind of python wrapper on pgp keys and gzip files.Yes, nothing more.Why do we have to set passphrase ?Security is a matter of trust, if you don't trust your laptop enough to store sensitive data, why leave the keys in it ?By using a passphrase, access to the data needs : something you have ( data / key ) and something you know ( passphrase )What does chat-gpt think about it ?Q: 
do you think storing gpg encrypted tar files is a good idea ? 

A: 
Storing GPG-encrypted tar files can be a good idea for protecting sensitive data, as long as you follow best practices for encryption and key management.

Encrypting data with GPG (GNU Privacy Guard) provides strong encryption and can help to prevent unauthorized access to your data, even if it is stolen or intercepted. GPG uses public-key cryptography, which means that you can encrypt data with a public key and only the holder of the corresponding private key can decrypt it.

Using tar (tape archive) to bundle files together before encryption can simplify the process of managing and transferring encrypted data, especially if you have many files that you want to encrypt as a single unit. Tar files can also be compressed, which can save disk space and bandwidth during transmission.

However, there are some important considerations to keep in mind when using GPG-encrypted tar files:

Key management: You need to securely manage your GPG keys, as they are critical to the security of your encrypted data. Make sure to create strong, unique passwords for your private keys and store them in a secure location.

Verification: Before decrypting a GPG-encrypted tar file, make sure to verify the integrity of the file and the identity of the sender. This can help prevent against attacks such as man-in-the-middle or tampering.

Storage location: Make sure to store your encrypted tar files in a secure location, such as an encrypted hard drive or cloud storage with strong encryption and access controls.

Password management: If you use a password to protect the contents of the tar file, make sure to use a strong, unique password and do not reuse it for other purposes.
Package: tibl-cli
🗿 tibl-clitiblpython command line interface.FeaturesUsage: tibl [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  create  Create a new tibl site
  items   list posts and pages
  new     Create a new post/page
  serve   serve your website locallyInstallingtibl-cli is  available in PyPI.pipinstalltibl-cli
Package: tic
Library to the Toolbox for Interpretability ComparisonFree software: MIT licenseDocumentation:https://tommartensen.de/tic.FeaturesInterface to create interpretations as:direct extraction of feature importances, e.g. from coefficientsglobal feature importances from surrogate modelslocal and global explanations fromLocal Interpretable Model Explanations (LIME)local and global explanations fromSHAPHistory0.1.0 (2019-10-04)Package skeleton0.2.0 (2019-10-08)Feature Importance Extraction from different interpretability models:Direct feature importancesGlobal surrogate modelsLIMESHAPUpdated documentation servedhere.
Package: ticdat
ticdatGoherefor project status and installation
instructions. Goherefor documentation.ticdatis a Python package that provides lightweight, ORM style functionality around either a dict-of-dicts orpandas.DataFramerepresentation of tables. It is well suited for defining and validating the input data for complex
solve engines (i.e. optimization and scheduling-type problems).ticdatfunctionality is organized around two classes -TicDatFactoryandPanDatFactory. Both classes define a
simple database style schema on construction. Data integrity rules can then be added in the form of foreign key
relationships, data field types (to include numerical ranges and allowed strings) and row predicates
(functions that check if a given row violates a particular data condition).  The factory classes can then be used to
constructTicDat/PanDatobjects that contain tables consistent with the defined schema. By design,ticdat, allows these data objects to violate the data integrity rules while providing convenient bulk query functions
to determine where those violations occur.TicDatobjects (created by aTicDatFactory) contain tables in a dict-of-dict format. The outer dictionary maps
primary key values to data rows. The inner dictionaries are data rows indexed by field names (similar tocsv.DictReader/csv.DictWriter). Tables that do not have primary keys are rendered as a list of data row dictionaries.PanDatobjects (created byPanDatFactory) render tables aspandas.DataFrameobjects. The columns in eachDataFramewill contain all of the primary key and data fields that were defined in thePanDatFactoryschema. ThePanDatFactorycode can be thought of as implementing a shim library that organizesDataFrameobjects into a
predefined schema, and facilitates rich integrity checks based on schema defined rules.Theticdatexample library is focused on two patterns for building optimization engines - usingTicDatFactoryin
conjunction withgurobipyand usingPanDatFactoryin conjunction withamplpy. That said,ticdatcan also be
used with libraries likepyomo,pulp,docplexandxpress. It also has functionality to support the OPL and
LINGO modeling languages, although the AMPL support is far more mature.ticdatis also useful for machine-learning applications. In this case, one typically usesPanDatFactoryto
provide ORM-like functionality on top ofpandas, as well as to simplify the munging of time stamp data and
text columns that contain exclusively numbers.Theticdatlibrary is distributed under the BSD2 open source license.
Package: ticfile
ticfileA library for reading and writing TIC-80 .tic cartridge files.Seehttps://github.com/nesbox/TIC-80/wiki/.tic-File-Formatfor the file format description.InstallationpipinstallticfileUsagefromticfileimportTICFile,ChunkTypeduck_jam=TICFile.open("duckjam.tic")code_chunks=[chunkforchunkinduck_jam.chunksifchunk.type==ChunkType.CODE]code_lines=code_chunks[0].data.decode("ascii").split("\n")print(code_lines[0])APITheticfilemodule provides the following definitions:TICFileRepresents a complete .tic file.Class methodsTICFile(chunks)- construct aTICFilefrom a list ofChunkobjectsTICFile.open(filename)- open aTICFilefrom the given filenameTICFile.from_file(f)- open aTICFilefrom the given file handleInstance methods / attributeschunks- the list ofChunkobjects making up this filesave(filename)- write this file to the given filenameChunkTypeAn enum defining the available chunk types:ChunkType.TILES=1ChunkType.SPRITES=2ChunkType.MAP=4ChunkType.CODE=5ChunkType.FLAGS=6ChunkType.SAMPLES=9ChunkType.WAVEFORM=10ChunkType.PALETTE=12ChunkType.MUSIC=14ChunkType.PATTERNS=15ChunkType.DEFAULT=17ChunkType.SCREEN=18ChunkType.BINARY=19ChunkType.COVER_DEP=3ChunkType.PATTERNS_DEP=13ChunkType.CODE_ZIP=16ChunkRepresents an individual chunk within a .tic file.Class methodsChunk(chunk_type, bank, data)- construct aChunkobject
**chunk_type- one of the enum values defined inChunkType**bank- the bank number (0..7) for this chunk
**data- the binary data of this chunk, excluding the header, as abytesobjectInstance methods / attributestype- the type of this chunk, given as one of the enum values defined inChunkTypebank- the bank number (0..7) for this chunkdata- the binary data of this chunk, excluding the header, as abytesobjectwrite(f)- write this chunk to the given file handle
Package: tich-me
Tichuis a 4-player
trick-taking game where you play with a partner and wager on whether or not you
will go out first.  It is not an exceptionally complicated game, but it does
present a number of interesting strategic decisions for players to make.In an effort to better understand and inform some of these decisions,tich_medownloads game data from thousands of games played on BrettSpielWelt and
provides tools to analyze this data.  This allows your decision-making to be
guided by quantitative information, rather than by intuition.InstallationInstall using pip:pip install tich_meYou can confirm that the installation succeeded by running this command:tich_me -hUsageThe first step is to download Tichu game logs from BrettSpielWelt and to
extract the relevant information into a local database:tich_me downloadNote that game logs are downloaded by month.  The default month is the most
recent one for which no games have been downloaded yet, but it is also possible
to specify a particular month.Once this is done, the analysis scripts can be run.  The only analysis
currently available looks at the probability of being passed particular cards,
conditional on calling Grand Tichu:tich_me analyze passingThis produces the following results:The probability of being passed each rank of card in any given round.  The
blue bars are if you did not call Tichu or Grand Tichu before the pass, and
the orange plus-marks are if you called Grand Tichu.As above, but separated by who is passing the card to you: your left
opponent, your partner, or your right opponent.  Note that the convention of
passing odds to the left and evens to the right can clearly be seen.A broad rule of thumb is that your probability of being passed a 2 is about ½,
a 3 is about ⅓, a 4 is about ¼, and so on all the way up to 10.  If you call
Grand Tichu, you are very likely to receive an Ace from your partner and the
dog from your opponent.  But your are no more likely than usual to receive 2’s
or 3’s from your opponents, which surprised me a bit.ContributingIf you are interested in studying a particular aspect of Tichu strategy,
consider usingtich_meto do your analysis.  The hard work of downloading,
parsing, and organizing game data is already done, so you can start doing your
analysis right away.  And if you do implement a new analysis, please consider
making apull request!Bug reportsare also
very welcome.
Package: ticinfo
ticinfoI wanted a way to quickly see some info about a star based on it's TICID, so I made this tool.Maybe someone else will find it usefulpip install ticinfoto use%toco441420236IDradecpmRApmDECeclongeclatTmagVmagKmagTeffradmassd
-------------------------------------------------------------------------------------------------441420236311.289718-31.3409281.42-359.9305.309919-12.8228286.768.814.53nan0.6980090.6620749.7221

Targetname:V*AUMic
ThetargetisinconstellationMicroscopiumif you just have coordiantes you can use%toco311.289718-31.3409IDradecpmRApmDECeclongeclatTmagVmagKmagTeffradmassd
-------------------------------------------------------------------------------------------------441420236311.289718-31.3409281.42-359.9305.309919-12.8228286.768.814.53nan0.6980090.6620749.7221

Targetname:V*AUMic
ThetargetisinconstellationMicroscopiumor, if you know the name of the source you can use%tocoaumicIDradecpmRApmDECeclongeclatTmagVmagKmagTeffradmassd
-------------------------------------------------------------------------------------------------441420236311.289718-31.3409281.42-359.9305.309919-12.8228286.768.814.53nan0.6980090.6620749.7221

Targetname:V*AUMic
ThetargetisinconstellationMicroscopiumFinding whether data is in the archiveYou are able to find out whether there is TESS data available in the archive for any target by using the--storedflag, or-sfor short.%tocoL98-59-sIDradecpmRApmDECeclongeclatTmagVmagKmagTeffradmassd
---------------------------------------------------------------------------------------------------307210830124.531756-68.31394.77-340.47203.322782-76.8138289.4111.687.13429.00.314160.29283610.6194

Targetname:L98-59
ThetargetisinconstellationVolans
FFIdataatMASTforsectors:[1,2,5,8,9,10,11,12]2-mindataatMASTforsectors:[2,5,8,9,10,11,12]20-sdataatMASTforsectors:[]Finding whether data will be availableYou are able to find out whether there the target will be observable in the next TESS cycle using the--futureflag, or-ffor short.%tocoL98-59-f
ThetargetisinconstellationVolansIDradecplxTmagVmagKmagTeffradmass----------------------------------------------------------------307210830124.53176-68.31394.149.4111.687.13429.00.314160.292836Future:WillbeobservableinCycle7sectors:[88899096]
Package: tickcounter
Overviewtickcounteris a Python package built to facilitate the process of cleaning, manipulating and analyzing questionnaire or survey related data effectively.InstallationYou can install the latest version usingpip.pip install tickcounterDependenciespython: >=3.7.1pandas: >=1.3.5scipy: >=1.4.1matplotlib: >=3.2.2seaborn: >=0.11.2UsageDocumentation is still under development. Meanwhile, you can look at some notebook examples in theexamplesfolder.A Word of CautionThe interfaces are still unstable and are most likely to change in the near future.
Package: tickerdax
TickerDax ClientA python package that interfaces with the tickerdax.com REST and websockets API. It handles common data operations
like batch downloading data, streaming real-time data, and caching data locally to minimize network requests.InstallationYou can install this package with pip by running the command below.pipinstalltickerdaxDocker DependencyThis client interfaces with a redis docker container. In order for the package to work, you must first install
docker. Here are instructions per platform.MacInstructionsLinuxInstructionsWindowsNote on windows you must first installWSLthen you can install docker.InstructionsPython ExamplesHere is a basic example of getting historical data using the python SDK.Get historical datafrompprintimportpprintfromdatetimeimportdatetime,timezonefromtickerdax.clientimportTickerDaxclient=TickerDax()pprint(client.get_route(route='order-book/predictions/v1/50',symbols=["BTC"],start=datetime.now(tz=timezone.utc),end=datetime.now(tz=timezone.utc)))Note that if this data doesn't exist in your cache, the data will be fetched from the REST API. All
subsequent calls to the same data will only be from the cache and not the REST API.
This is designed give you lighting fast responses and ultimately deliver data to you a cheaper cost.Stream realtime dataThis is how you can stream data to your cache. This will run indefinitely and fill
your local cache as new data is available.client.stream(routes={'order-book/predictions/v1/50':['BTC','LTC'],},)In another process you can callclient.get_route()as many times you like or whenever your
app re-evaluates. The data will be available once it is updated by the stream.DocumentationRead the user documentationhere.
Package: ticket_auth
Simple library that provides a mod_auth_tkt like hashed tickets that can be
used for storing user authentication details.The library is not interchangable with the mod_auth_tkt format, as the
mod_auth_tkt does not provide support for ipv6 addresses and different hash
algorithms, whereas ticket_auth provides both.UsageThe general format for using the library is to instantiate the ticket factory
used to generate the tickets, and then create new tickets or validate existing
tickets using that factory. For example:# The ticket factory takes a bytes argument specifying the secret
# identifier, and a optional algorithm (defaults to sha512). Possible
# algorithms are those specified by the python hashlib library
factory = TicketFactory(b'secret', hashalg='md5')

# The new function returns a new ticket (as a string). It takes a user
# identifier as a argument, along with several optional arguments. The
# valid_until argument is the time at which the ticket expires.
valid_until = time.time() + 60
ticket = factory.new('test_id', valid_until=valid_until)

# A ticket can be validated with the validate function. It returns a
# TicketInfo value on success, or raises an error on failure
info = factory.validate(ticket)Tickets can also be bound to a particular client ip address by passing a
ip address like object (either string, or from module ip_address) as the
client_ip argument when creating and validating the string. For example:valid_until = time.time() + 60
ticket = factory.new('test_id', valid_until=valid_until,
                     client_ip='192.168.0.1')

info = factory.validate(ticket, client_ip='192.168.0.1')A sequence of tokens can also be passed, which will be added to the ticket.
Note that these tokens (like the user id and user data) are stored in plain
text format:ticket = factory.new('test_id', valid_until=valid_until, tokens=('a', 'b'),
                     user_data='some data')The TicketInfo object returned by the validate function is a named tuple with
the following parameters: digest (hash function output), user_id, tokens,
user_data, valid_until.LicenseThe library is licensed under a MIT license.
Package: ticket-cross-check
Ticket Cross CheckerTake gitlab issues and find them in code and vice versa.
Create a mapping table to see what's covered, missing or wrong.An example are theGitlab Pagesfor this project.Usagestart the cross checker in your CI pipelinepages:
  stage: test
  script:
    - pdm run discover ticket_cross_check spec
  artifacts:
    paths:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == "main"Add to existing gitlab pagescaches existingpublicdirectories and creates a sub-dirtcccache:paths:-publicdiscover_issues:image:python:lateststage:buildscript:-python -m pip install --upgrade pip-pip install ticket_cross_check-discover code doc spec test -o public/tccartifacts:paths:-publicrules:-if:$CI_COMMIT_BRANCH == "main"Avoid loggingwe useloguru,
you can disable loguru auto init by settingLOGURU_AUTOINITtoFalsein your environmentDevelopmentRequirementsWe usepdmfor packaging (not pip, poetry or alinke)pdm installshall be run before you do anything (esp. in PyCharm), after that you find a.venvin the project rootpdm add [-d] <package>to add more deps (fount inpyproject.toml)How to install pdmSeepdm homepageUsually you runcurl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -Run gitlab-runner locally for single targetdownload/installthe gitlab-runnerfor your systeminstall dockerrungitlab-runner exec docker <target>targetcomes from.gitlab-ci.ymldone :)btw caching only works with an S3 backend, seedocsTesting with pytestwe usepytestCode style with flake8config is in.flake8details can be found in theflake8 docsLocal installation and experiementspdm installalso installs the cli scripts, defined inticket_cross_check/init.pyorpyproject.tomlyou can rundiscover <dir> [<dir> [<dir>]]to cross-check the given directories