Saravanan666/pypi-org huggingface dataset:
Package: timus-sender
timus-senderTimus sender is simple python script to send solution of problems totimus.Installpip install timus-senderHow to usePass required parameters to script:sender.py --judge-id=<your id> --compiler=<compiler code> --problem=<problem id> <path/to/solution>Script will return link to your submissons to this problem.Parameters deductionAll parameters can be deducted from context.judge-idIfjudge-idparameter doesn't passed to script it will be read from.judge_idfile in your home directory.compilerIfcompilerparameter doesn't passed to script compiler will be defined by file extension. Actual default compilers available in source code.problemIfproblemparameter doesn't passed to script problem number will be defined by directory of file.
Possible directory name formats:<problem id><problem id>-<description><description>-<problem id>
Package: timy
timyMinimalist measurement of python code timetimycomes with a different idea of the built-in moduletimeit. It adds flexibility and different ways of measuring code time, using simple context managers and function decorators.Installingpip install timyUsageDecorating a functionLet's say you have acalculatefunction and you want to keep track of its execution timeimporttimy@timy.timer()defcalculate(n,r):"""Divide, multiply and sum 'n' to every number in range 'r'returning the result list"""return[i/n*n+nforiinrange(r)]Whenever you call that function, the execution time will be trackedcalculate(5,10000000)>>Timyexecuted(calculate)for1time(s)in1.529540seconds>>Timybesttimewas1.529540secondsChanging theidentand addingloopsto the executionimporttimy@timy.timer(ident='My calculation',loops=10)defcalculate(n,r):return[i/n*n+nforiinrange(r)]calculate(5,10000000)>>Mycalculationexecuted(calculate)for10time(s)in15.165313seconds>>Mycalculationbesttimewas1.414186secondsTrackingspecific pointsalong your codeThewithstatement can also be used to measure code timeNamed tracking points can be added with thetrackfunctionimporttimywithtimy.Timer()astimer:N=10000000foriinrange(N):ifi==N/2:timer.track('Half way')>>Timy(Halfway)0.557577seconds>>Timy0.988087secondsAnother usage of tracking in a prime factors functiondefprime_factors(n):withtimy.Timer('Factors')astimer:i=2factors=[]defadd_factor(n):factors.append(n)timer.track('Found a factor')whilei*i<=n:ifn%i==0:add_factor(i)n//=ielse:i+=1returnfactors+[n]factors=prime_factors(600851475143)print(factors)>>Factors(Foundafactor)0.000017seconds>>Factors(Foundafactor)0.000376seconds>>Factors(Foundafactor)0.001547seconds>>Factors0.001754seconds>>[71,839,1471,6857]ConfiguringImporting timy configfromtimy.settingsimporttimy_configEnable or disable timy trackingsYou can enable or disable timy trackings with thetrackingvalue.The default value oftrackingisTruetimy_config.tracking=FalseChanging the way timy outputs informationYou can choose between print or logging for all timy outputs by setting the
value oftracking_mode.The default value oftracking_modeisTrackingMode.PRINTING.fromtimy.settingsimport(timy_config,TrackingMode)timy_config.tracking_mode=TrackingMode.LOGGINGtimy logs at the INFO level, which is not printed or stored by default. To
configure the logging system to print all INFO messages doimport logging
logging.basicConfig(level=logging.INFO)or to configure the logging system to print only timy's INFO messages doimport logging
logging.basicConfig()
logging.getLogger('timy').level=logging.INFOContributeContributions arealwayswelcome, but keep it simple and small.LicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsChangelogv 0.4.0 (September 23, 2017)Drops py2 support and adds 100% coverage with CI integrationv 0.3.3 (April 19, 2017)Adds an optional argumentinclude_sleeptimeto count time elapsed including sleep time (include_sleeptime=True) and excluding sleep time (include_sleeptime=False)
Package: tina
OverviewTINA (TINA Is Not Arif) is a tool for automatically tagging Chef cookbooks and
their dependencies.  It features proper dependency resolution, checks for
clashing version constraints, and offers configurability when tagging.DependenciesTINA relies on [Berkshelf](http://berkshelf.com/) and the [GitPython
library](https://pypi.python.org/pypi/GitPython).  To install Berkshelf:`bash $ gem install berkshelf `To install GitPython:`bash $ sudo easy_install gitpython `Using TINATINA is only works with Python 2.6 and 2.7.  To install TINA:`bash $ sudo easy_install tina `To use TINA to tag a cookbook, navigate to the cookbook’s directory and runtina.` $ tina RunningBerkshelf...Discovering dependentcookbooks...Checking for versionconflicts...Resolvingdependencies...REPOSITORY SUMMARY: 1. foo: v2.0.3 => v2.0.4 2. bar: unchanged 3. community_cookbook_1 will be pinned at 1.2.3 4. community_cookbook_2 will be pinned at 3.2.1 To commit these changes,re-runwith--commit`TINA gives an overview of how the cookbook, and its dependendent cookbooks,
will be tagged.  A temporary.tinadirectory is created in which each
repository is cloned.  The.tinadirectory also contains aTinafilewhich
keeps track of repository metadata between a dry-run and a commit.  If the
above overview generated by TINA is acceptable, simply runtina –committo
commit the changes.  Each repository will be tagged and pushed without making
modifications to the master branch.To have more options during a dry-run (e.g., bumping the major build for a
repo, or changing how a community cookbook is pinned), runtina -iand follow
the instructions.  To see all options, runtina -h.TestsTo run the tests:`bash $ sudo easy_install nosetests $ sudo easy_install coverage $ nosetests--with-coverage`
Package: tinamit
TinamitPrograma para conectar modelos socioeconómicos (dinámicas de los sistemas) con modelos biofísicos.Tinamït permite la conexión rápida, flexible y reproducible de modelos con:Una estructura fácil para conectar modelos en menos de 10 líneas (en vez de cientos).Una estructura transparente para que todos puedan agregar modelos y recursos.Apoyo multilingual en el IGU.Tinamït permite conectar modelos biofísicos con modelos socioeconómicos de dinámicas de los sistemas (EnvolturaMDS).
Es muy útil para proyectos de modelización participativa, especialmente en proyectos de manejo del ambiente.
El interaz gráfico traducible facilita la adopción por comunidades en cualquier parte del mundo.Instalaciónpip install tinamitUsoEs muy sencillo.from tinamit.Conectado import Conectado

modelo = Conectado('Prueba bf.py', 'Prueba dll.vpm')

modelo.conectar(var_mds='Lluvia', var_bf='Lluvia', mds_fuente=False)
modelo.conectar(var_mds='Bosques', var_bf='Bosques', mds_fuente=True)

res = modelo.simular(100, nombre='Corrida_Tinamit')AutoresJulien Malard; Correo:julien.malard@mail.mcgill.caمحمّد اظہر انعام بیگ; Correo:muhammad.baig@mail.mcgill.ca
Package: tinap
tinap – stands for “This Is Not A Proxy”It’s also a beautiful place in Bangladesh with the biggest waterfall of that country.The Urban Dictionary alsosaysit’s “young people
who go to rave parties who are dressed in bright and extreme styles of
clothing”.Features:protocol-agnostic port forwarderNetwork traffic shaping inspired fromtsproxyInstallationTinap is a pure Python script, you can install it with:$ pip install tinapIf you are under windows you need to install pywin32 as well:$ pip install pywin32How to useTinap has a few general options, followed by a mode (forward or socks):$ tinap --help
usage: tinap [-h] [-v] [--host HOST] [--upstream-host UPSTREAM_HOST]
            [--port PORT] [--upstream-port UPSTREAM_PORT]
            [--port-mapping PORT_MAPPING] [-r RTT] [-i INKBPS] [-o OUTKBPS]

Tinap port forwarder

optional arguments:
-h, --help            show this help message and exit
-v, --verbose         Verbose mode
--host HOST           host
--upstream-host UPSTREAM_HOST
                        upstream host
--port PORT           port
--upstream-port UPSTREAM_PORT
                        upstream port
--port-mapping PORT_MAPPING
                        Comma-separated list of port forwarding rules each
                        rule is composed of <source_host>:<source_port>/<targe
                        t_host>:<target_port> Example (forwards port 80 and
                        443 to 8080 and 8282): 127.0.0.1:80/127.0.0.1:8080,127
                        .0.0.1:443/127.0.0.1:8282
-r RTT, --rtt RTT     Round Trip Time Latency (in ms).
-i INKBPS, --inkbps INKBPS
                        Download Bandwidth (in 1000 bits/s - Kbps).
-o OUTKBPS, --outkbps OUTKBPS
                        Upload Bandwidth (in 1000 bits/s - Kbps).Configuration examplesXXX show 2 full setups:
- firefox <> tinap <> wpr
- firefox <> tinap <> mitmproxy
Package: tinboard
TinboardIntroductionTinboard is a terminal-based client application for thePinboard
bookmarking service. It provides the ability to
manage and search your bookmarks in the terminal.InstallingThe package can be installed usingpipx:$pipxinstalltinboardOnce installed run thetinboardcommand.Getting startedTo use Tinboard you will need a Pinboard account (this application isn't
going to be useful to anyone who isn't a Pinboard user). Assuming youdohave a Pinboard account, you can get going by running uptinboardand
providing your API token when asked:If you're not sure where to find your API token, just pressF1,
or theGo to tokenbutton, and you'll be taken to the relevant Pinboard
page in your browser; copy the token, come back to this dialog and paste it
in.Once done Tinboard will download your bookmarks and you're good to go!NOTE: if it's your preference, you can set the token in an environment
variable calledTINBOARD_API_TOKEN.Using TinboardThe best way to get to know Tinboard is to read the help screen, once in the
main application you can see this by pressingF1.Getting helpIf you need help, or have any ideas, please feel free toraise an
issueorstart a
discussion.TODOThings I'm considering adding or addressing:Double-check the rate limits on the API calls to be sure they're correct.A bookmark export facility.A bookmark availability checker.Check the current bookmark.A mode that slowly checks all bookmarks.Support for Pinboard Notes.Optionally sort the tags by count.
Package: tinc
TINC python module and toolsThis is the python module for TINC. It can be used standalone, or in conjunction with a C++ application written with TINC to provide a TINC server:https://github.com/AlloSphere-Research-Group/tinctinc-python depends on numpy, matplotlib, netcdf4, filelock and jsonschema. If ipywidgets is available, tinc-python can provide interactive widgets for the jupyter notebook.To tinc for python:pip install tincTo install ipywidgets for jupyter widget support:pip install ipywidgetsDocumentationThe TINC python documentation is available at:https://tinc-python.readthedocs.io/en/latest/A set pf tutorials for tinc-python can be found in the documentation.Try out TINC:https://colab.research.google.com/drive/1XO-babUACUdeyp8YikofT6ySJAdjG1e8?usp=sharing#scrollTo=15R56pWsdSvghttps://colab.research.google.com/drive/1jjJhJHVvunEOXf3bUHmLNVMm_cKqls26?usp=sharingInstalling jupyterlab on macOS Through homebrewThere are many ways to install jupyterlab. Here is one we have tested to work with TINC.brew install jupyterlabWhen brew installs jupyter lab and installs python3.8, it mentions it is keg only, so need to follow brew's instructions:Python has been installed as /usr/local/opt/python@3.8/bin/python3
You can install Python packages with /usr/local/opt/python@3.8/bin/pip3 install <package>
They will install into the site-package directory
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
python@3.8 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have python@3.8 first in your PATH run:
echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> /Users/cannedstar/.bash_profile
For compilers to find python@3.8 you may need to set:
export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
For pkg-config to find python@3.8 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/python@3.8/lib/pkgconfig"To install additional dependencies for tinc-python for the jupyter python:/usr/local/opt/python@3.8/bin/pip3 install filelock matplotlib ipywidgets
Package: tincanradar
Tin Can RadarUtilities for designing, building, and using a $35 Tin Can Radar, from the original 2006 prototype
designed and built by Michael Hirsch and advised by Greg Charvat.I include utilities for designing the Wilkenson power divider used to siphon off a sample
of the transmit waveform for the homodyne receiver.I include design equations for using coffee cans for antennas,
as well as the more broadband Linear Tapered Slot Antenna.If you need something more, start an issue or send a message.ContentsTin Can RadarForward ModelBuildInstallMatlabOptionalFunctionDescriptionFS2dBm.pyConvert field strength in dBuV/m or uV/m to 50 ohm dBmToneFinder.pySimulate noisy sinusoids from  target returnsFriis.pyCompute Free Space Path Loss (dB)Forward ModelA forward model of linear/non-linear FMCW chirp is provided in Python using an optional Fortran library for speed.BuildMac:brew install gccLinux:apt install gfortranWindows: installgfortranInstallpip install -e .MatlabOld scripts of some duplicity and perhaps not full correctness are in the matlab directory.OptionalFortrancd bin
cmake ..
make
Package: tinc-graphs
Generate Graphs from tincTODOcurrently the Maps api key is hard coded intinc_graphs/static/map.html, if you want to use this feature you will need to replace this key manuallyInstallNix# tinc_pre is required:
nix-env -i -f tinc_graphs.nix

## e.g. in Retiolum:
## krebs.retiolum.tinc = pkgs.tinc_preLocalpython setup.py install
# also install graphviz,imagemagic for building graphsUsage:see source of the 2 builder scripts:#all-around-builder
# env: EXTERNAL_FOLDER, INTERNAL_FOLDER, GEODB, TINC_HOSTPATH
all-the-graphs

# build actual graphs
build-graph

# exported py scripts
tinc-stats2json         # - parses tinc current state into json
tinc-build-graph        # - transfers json to graph
copy-map                # - copies map.html into $1
add-geodata             # - adds geodata to json
tinc-availability-stats # adds availability data to jsonGeodb infoshttp://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gznix-env -iA geolite-legacyUpload to pypipythonsetup.pysdist
twineuploaddist/*
Package: tinc-testing
TINC python module and toolsThis is the python module for TINC. It can be used standalone, or in conjunction with a C++ application written with TINC to provide a TINC server:https://github.com/AlloSphere-Research-Group/tinctinc-python depends on numpy, matplotlib, netcdf4, filelock and jsonschema. If ipywidgets is available, tinc-python can provide interactive widgets for the jupyter notebook.To install additional dependencies for tinc-python:pip install tincTo install additional dependencies for tinc-python:pip install ipywidgetsInstalling jupyterlab on macOS Through homebrewThere are many ways to install jupyterlab. Here is one we have tested to work with TINC.brew install jupyterlabWhen brew installs jupyter lab and installs python3.8, it mentions it is keg only, so need to follow brew's instructions:Python has been installed as /usr/local/opt/python@3.8/bin/python3
You can install Python packages with /usr/local/opt/python@3.8/bin/pip3 install <package>
They will install into the site-package directory
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
python@3.8 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have python@3.8 first in your PATH run:
echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> /Users/cannedstar/.bash_profile
For compilers to find python@3.8 you may need to set:
export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
For pkg-config to find python@3.8 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/python@3.8/lib/pkgconfig"To install additional dependencies for tinc-python for the jupyter python:/usr/local/opt/python@3.8/bin/pip3 install filelock matplotlib ipywidgets
Package: tinda
tindaBuggy alpha stage, Please check back later, thankyou.Modern wrapper for basic things.Installation:pip install tindaUsage:from tinda import XXX   



'''

When a class defines an __init__() method,

class instantiation automatically invokes __init__() 

for the newly-created class instance. 

So in this example, a new, 

initialized instance can be obtained by:

'''



x = XXX()



'''

Method Objects:

Usually, a method is called right after it is bound:

For example,

'''



x.say('string of whatever') 



#google image search of the query string

x.image(query) 



# the same works for Google, Github, Stackoverflow, Youtube, etc.

x.google(query)

x.stackoverflow(query) 





# returns private and public ip.

x.getIp() 



# returns location data.

x.getLocation() 



# other methods:

x.time() 

x.date()

x.shutdown()

x.mousePosition()

x.goToPosition()

x.leftClick()

x.rightClick()

x.showDesktop()



x.recordScreen() # saves output file in root directory.

x.speedTest() # returns internet speed test results.

x.getLinks() # takes in url and returns all links.

x.textToMorse() # string to morse code.# Local network Terminal Chat

import tinda



tinda.TerminalChatServer()

# once the server is running, Clients can connect to the server and begin chatting.



import tinda



tinda.TerminalChatClient()# Local Network Audio Chat

import tinda



tinda.LocalAudioServer()

# once the server is running, Clients can connect to the server and begin chatting.



import tinda



tinda.LocalAudioClient()Developed by:Harpreet Singh © 2021
Package: tinderapi
Tinder API Reverse EngineeringTinder API is a library that helps you deal with tinder without using the browser also in future version it will have an AI class that will help you train/test your model with simple stepsInstallationUse the package managertinder-apito install foobar.pipinstalltinderapiThe Purpose Of The LibraryCreate an AI Model that decide a binary choice 1 = Like and 0 = Dislike based on a database created using tinder database. This library will create a database using SQLite by delaut called Tinder.db were all the data will be storedTo prepare your database for training you can usescave.pyfromtinderapiimportScavengerimportjsonACCOUNT=json.loads(open('account.json','r').read())scavenger=Scavenger('Photos',ACCOUNT['telegram_bot_access_token'],ACCOUNT['chat_id'])Whenscave.pyis running you'll receive one picture for a random user and you'll get 3 choices (like, dislike and next)Like: change like stat in the DB to 1Dislike: change like stat in the DB to -1Next: get the next picture (if it's the last photo it will skip the user)UsageChange Tinder X-AUTH-TOKEN and create a Telegram Bot to receive LIVE Update inaccount.jsontinder_auth: open google chrome devtool and search into request headers for x-auth-tokentelegram_bot_access_token: create a bot using bot fatherhttps://web.telegram.org/z/#93372553chat_id: send a message to the bot and check your is in api.telegram.org/bot{your_access_token}/getUpdatesgroup_id: create a group and add the bot to it you'll find the group_id in api.telegram.org/bot{your_access_token}/getUpdates (it's always a negative number){"tinder_auth":"cb10ca8b-xxxx-xxxx-xxxx","telegram_bot_access_token":"51xxx83571:xxxxxxxxxxxxxxx","chat_id":543xxxxxxx,"group_id":-718xxxxxx}ExampleimporttimefromtinderapiimportTinder,TinderProfile,TinderDB,TelegramimportrandomimportjsonACCOUNT=json.loads(open('account.json','r').read())AUTH_TOKEN=ACCOUNT['tinder_auth']DB=TinderDB()defliker():whileTrue:TinderAcc=Tinder(AUTH_TOKEN)telegram=Telegram(telegram_key=ACCOUNT['telegram_bot_access_token'],chat_id=ACCOUNT['group_id'])matches=TinderAcc.get_potential_matches(verbose=False)ifmatches==-1:breakelifmatches==2:telegram.sendMessage('Timeout waiting 5 min')time.sleep(60*5)else:forpotential_matchinmatches:profile=TinderProfile(potential_match,AUTH_TOKEN,save_pics=True)print(profile.getAll())profile.like()# for dislike profile.dislike()telegram.sendPhoto(f'{profile.name}-{profile.birth_date.split("-")[0]}-{profile.distance_km}KM',f'Photos/{profile.id}')DB.insert_into_table(profile)time.sleep(random.randint(1,4))print('Searching New Matches...')telegram.sendMessage('Searching for new matches...')if__name__=='__main__':liker()To-DoAdd TensorFlow simplfied classes for TinderFinish first Ai ModelHost The app on a Django servermuch moreContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.LicenseMIT
Package: tinder-cli
# tinder-cliCLI implementation of Tinder API## Quick StartInstall the package:pip install -U tinder-cli## Getting Tinder API tokenIn order to access tinder an API token is required. You can get your Tinder API token in multiple ways.Once logged in to [Tinder.com](https://tinder.com), inspect any fetch / xhr request and locate your “X-Auth-Token”.Or you can use the following library:[https://github.com/meister245/tinder-token](https://github.com/meister245/tinder-token#cli-script)## CLI UsageThe CLI will prompt you for your Tinder API token on first usage, which will be stored in~/.tinder-cliUsage informationtinder-cli –helpAvailable CLI commandstinder-cli profile
tinder-cli teaserstinder-cli info –id <tinder ID>
tinder-cli like –id <tinder ID>
tinder-cli superlike –id <tinder ID>
tinder-cli pass –id <tinder ID>
Package: tinderdata
tinderdataA very simple package to get insight on your Tinder usage.InstallThis code is compatible withPython 3.6+.
If for some reason you have a need for it, you can simply install it in your virtual enrivonment with:pipinstalltinderdataUsageThis utility requires that you export your data from the Tinder platform, as describedhere.
You should obtain a singletinderdata.jsonfile, which is the input required for this script.With this package installed in the activated enrivonment, it can be called throughpython -m tinderdataor through a newly createdtinderdatacommand.Detailed usage goes as follows:Usage: tinderdata [OPTIONS] [DATA_PATH]

  Get insight on your Tinder usage.

Arguments:
  [DATA_PATH]  Location, relative or absolute, of the exported JSON file with
               your user data.


Options:
  --show-figures / --no-show-figures
                                  Whether or not to show figures when plotting
                                  insights.  [default: False]

  --save-figures / --no-save-figures
                                  Whether or not to save figures when plotting
                                  insights.  [default: False]

  --log-level TEXT                The base console logging level. Can be
                                  'debug', 'info', 'warning' and 'error'.
                                  [default: info]

  --install-completion            Install completion for the current shell.
  --show-completion               Show completion for the current shell, to
                                  copy it or customize the installation.

  --help                          Show this message and exit.An example command is then:python -m tinderdata path_to_tinderdata.json --save-figures --log-level debugThe script print out a number of insight statements, and finally the text you should paste to get a Sankey diagram.
It will then create aplotsfolder and populate it with visuals.You can otherwise import the high-level object from the package, and use at your convenience:fromtinderdataimportTinderDatatinder=TinderData("path/to/tinderdata.json")tinder.output_sankey_string()tinder.plot_messages_loyalty(showfig=True,savefig=False)Output exampleHere are examples of the script's outputs:Made with ♥︎ by fsoubeletMIT © 2019 Felix Soubelet