Saravanan666/pypi-org huggingface dataset:
Package: 3D-registration
Registration toolsBefore everything else, the current status of the whole thing here is that it only works on UNIX systems (eg Linux & MacOs) that have reasonnable chips (eg not M1 chips for example).Purpose and "history"This repository is about two scripts to do spatial and temporal registration of 3D microscopy images.
It was initially developed to help friends with their ever moving embryos living under a microscope.
I found that actually quite a few people were interested so I made a  version of it that is somewhat easier to use.In theory, the main difficulty to make the whole thing work is to install the different libraries.CreditsThe whole thing is just a wrapping of the amazing blockmatching algorithm developed byS. Ourselin et al.and currently maintained Grégoire Malandin et al.@Team Morphem - inria(if I am not mistaking).Installationcondaandpipare required to installregistration-toolsWe recommand to install the registration tools in a specific environement (likeconda). For example the following way:conda create -n registration python=3.10You can then activate the environement the following way:conda activate registrationFor here onward we assume that you are running the commands from theregistrationcondaenvironement.Then, to install the whole thing, it is necessary to first install blockmatching. To do so you can run the following command:conda install vt -c morpheme -c trcabelThen, you can install the 3D-registration library either directly via pip:pip install 3D-registrationOr, if you want the latest version, by specifying the git repository:pip install git+https://github.com/GuignardLab/registration-tools.gitTroubleshootingWindows:If you are trying to run the script on Windows you might need to installpthreadvse2.dll.It can be found there:https://www.pconlife.com/viewfileinfo/pthreadvse2-dll/. Make sure to download the version that matches your operating system (32 or 64 bits, most likely 64).MacOs:As there are no M1 binaries available yet, please use rosetta or install an intel version of conda.UsageMost of the description on how to use the two scripts is described in themanual(Note that the installation part is quite outdated, the remaining is ok).That being said, once installed, one can run either of the scripts from anywhere in a terminal by typing:time-registrationorspatial-registrationThe location of the json files or folder containing the json files will be prompted and when provided the registration will start.It is also possible to run the registration from a script/notebook the following way:fromregistrationtoolsimportTimeRegistrationtr=TimeRegistration('path/to/param.json')tr.run_trsf()orfromregistrationtoolsimportTimeRegistrationtr=TimeRegistration('path/to/folder/with/jsonfiles/')tr.run_trsf()orfromregistrationtoolsimportTimeRegistrationtr=TimeRegistration()tr.run_trsf()and a path will be asked to be inputed.Example json filesFew example json files are provided to help the potential users. You can find informations about what they do in themanual.
Package: 3dtrees-nbingo
3DPhyloTreesWelcome!OverviewThe purpose of this Python package is to create 3D phylogenetic trees with two axes of variation given suitable
data in the commonAnnDataformat. The differentiating factor
between this package and functions likescipy.cluster.hierarchy.dendrogram()andsklearn.cluster.AgglomerativeClusteringis that the dendrogram produced tracks the splitting/merging patterns
of groups of taxa and individual taxa. Specifically, as used in the BioRxiv paperCerebellar nuclei evolved by
repeatedly duplicating a conserved cell type set, the
phylogenetic tree created by this package tracks the merging of different subnuclei of the cerebellar nuclei while
also tracking the merging of individual cell types within those nuclei.An example of such a dendrogram isA flattened version can be found in Fig. S22C and Fig. S23H of the linked paper above.This package is composed of three main parts:agglomeratedatametricsTheagglomeratepackage exposes methods to perform the
agglomeration of a single phylogenetic tree given suitable data and hyperparameters, and a method to perform batch
agglomeration over a range of hyperparameters and select the best tree according to any of the following metrics:Balanced Minimum Evolution (preferred)Minimum EvolutionMaximum ParsimonyThedatapackage exposes adata_loaderthat the user can define to
import their data accordingly (possibly from multiple folders or online repositories) and into an AnnData object.
Thedata_typesare used internally by the
agglomeration algorithm.Finally, themetricscurrently only provides the
Spearman correlation coefficient to measure the distance between two data points, however any distance metric in the
same form as the example provided may be added and used in the agglomeration program.InstallationThis package requires Python version 3.7 or greater, and the requirements provided inPipfileandPipfile.lock. Using pip, installation is as easy as
running:pip install 3dtrees-nbingoQuestionsIf you have any questions for how to use this code or for how it was used inCerebellar nuclei evolved by
repeatedly duplicating a conserved cell type set, then
please feel free to email me atnomir@stanford.edu. Examples usage of this package can be found in thecn_evolutionrepository, which is the analysis code used to produce the
figures in the linked paper.
Package: 3d-video-converter
3D Video ConverterA simple FFMPEG-based script for converting either two separate stereo videos or an existing 3D video into a wide range of 3D video formats.InstallationInstall3d-video-converterFrom PyPI:pipinstall3d-video-converterOr from the source on GitHub:pipinstall"3d-video-converter @ git+https://github.com/evoth/3d-video-converter"The package will be installed with the module namevideo_converter_3d.Install FFmpegThis package depends onffmpeg-python, which means thatFFmpegmust be installed and accessible via the$PATHenvironment variable. Please follow appropriate installation instructions for your platform.To check if FFmpeg is installed, run theffmpegcommand from the terminal. If it is installed correctly, you should see version and build information.Usage examplesConvert a full-width parallel view video to full color red/cyan anaglyph:fromvideo_converter_3dimportconvert_3dconvert_3d("video_parallel.mp4","sbsl","video_anaglyph.mp4","arcc")Combine two separate stereo videos into a full-width parallel view video, only keeping audio from the left video:fromvideo_converter_3dimportconvert_2d_to_3dconvert_2d_to_3d("video_left.mp4","video_right.mp4",True,False,"video_parallel.mp4","sbsl")
Package: 3d-wallet-generator
This project helps you design and export 3D-printable wallets, similar to paper wallets (but they won’t die in a flood)Everyone who’s seriously serious about bitcoin has tried paper wallet
generators. While the idea is great, paper isn’t a great medium out of
which to make something that stores significant value. This this in
mind, we set out to make a simple, easy-to-use software that can design
and export 3D-printable wallets, with a variety of configuration
options.DependenciesPython3: this project is designed for Python3, not Python2PyBitcoin,sudo pip3 install bitcoin(no manual installation required)PyQRCode,sudo pip3 install pyqrcode(no manual installation required)OpenSCAD 2015 (or higher), just install from their website, and the
program should find it automatically (submit an issue if it doesn’t) -(manual installation required)FeaturesSupports a variety of configuration and size optionsExports wallets as STLExport keys as CSV-file for import into other software (for big
batches)Set the configuration and let it generate millions ofrandomwallets for youSupport for other cryptocurrencies, including:BitcoinLitecoinDogecoinAny other currency (as long as you know the version bit for address generation)InstructionsInstall pipWindows: download from their websiteMac: install from MacPorts or BrewLinux (Ubuntu/Debian):sudoapt-getinstallpython3-pipInstall OpenSCADDownload from their websiteMake sure you are running their newest version (or at least OpenSCAD 2015)Contact us if you need help.Install our packageTry:sudo pip3 install3d-wallet-generatorIf it continues to fail, shoot us an email and we’ll try to help.Use our packageRun3dwallet-hto see your optionsTry the default settings by running3dwallet- it will output five wallets, with the default settings, into a folder in your current directory.Play with the other settings and decide how your printer, CNC, etc. likes the different styles.Film it or take a picture, and give it to us! We’ll add it to our collection!We recommend you run the Linux version off of a LiveUSB for maximum
security (just as you would with a normal paper wallet).MiscellaneousIf you have any comments, questions, or feature requests, either
submit an issue or contact us atbtcspry@bitforwarder.comWe always accept donations at1MF7hKShzq2iSV9ZZ9hEx6ATnHQpFtM7cF!!Please donate, this project
took a bunch of effort and we want to make sure it was worth it.To Do / Features Coming SoonAdd picturesAdd option to import your own addresses/private keysOffset the white in the QR code (instead of just offsetting the
black)If you want any of these developed faster, send us a gift to our donation address above.
Package: 3gpp-citations
3GPP Bibtex entry generatorThis project aims to generateBiBTeXfiles that
can be used when citing3GPPspecifications. The input is a document list exported from the3GPP Portal.Installationpip install 3gpp-citationsTo also install test dependencies runpip install 3gpp-citations[test]InstructionsGo to the3GPP PortalGenerate the list of specifications you want.Download to Excel and save fileRunpython 3gpp-citations.py -i exported.xlsx -o 3gpp.bibUse in LaTeX.Optionallyuse the provided3gpp.bibdirectly.Things to noteThe outputbibtexclass is set to@techreport.If you add the option--xelatex, break-symbols\-will be used in url-fields.The version and date are read from 3gpp.org, but it is slow so it takes a while to parse the list. If you find an easy solution to this, let me know.Example output@techreport{3gpp.36.331,
 author = {3GPP},
 day = {20},
 institution = {{3rd Generation Partnership Project (3GPP)}},
 month = {04},
 note = {Version 14.2.2},
 number = {36.331},
 title = {{Evolved Universal Terrestrial Radio Access (E-UTRA); Radio Resource Control (RRC); Protocol specification}},
 type = {Technical Specification (TS)},
 url = {https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2440},
 year = {2017}
}ContributeSee ourcontribution guidelinesand ourCode of Conduct.AcknowledgmentThis project has been updated as part of theWASP Software and Cloud Technologycourse.This work was partially supported by the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation.
Package: 3scale-api
3scale REST API client in Python3Scale REST API client in a wrapper over the 3scale API.InstallingInstall and update using pip:pipinstall3scale-apiOr as a dependency using the pipenvpipenvinstall3scale-apiUsageClient supports basic CRUD operations and it using the official 3scale API.The API can be found at<https://yourdomain-admin.3scale.net>/p/admin/api_docsBasic usage of the client:fromthreescale_apiimportThreeScaleClient,resourcesfromtypingimportListclient=ThreeScaleClient(url="myaccount.3scale.net",token="secret_token",ssl_verify=True)# Get list of APIs/Services or any other resourceservices:List[resources.Service]=client.services.list()# Get service by it's nametest_service:resources.Service=client.services["test_service"]# or use: client.services.read_by_name(system_name)# Get service by it's idtest_service:resources.Service=client.services[12345]# or use client.services.read(id)# To get raw JSON response - you can use the fetch method - it takes the service idraw_json:dict=client.services.fetch(12345)# To create a new service (or any other resource), parameters are the same as you would provide by the documentationnew_service:resources.Service=client.services.create(system_name='my_testing_service',name="My Testing service")# In order to update service you can eitherclient.services[123456].update(param="new_value")# orservice:resources.Service=client.services[123456]service['param']='new_value'service.update()# To get a proxy config you can useproxy:resources.Proxy=client.services['test_service'].proxy.read()# To update the proxy you can eitherproxy:resources.Proxy=client.services['test_service'].proxy.update(parameter_to_update='update')# orproxy_instance=client.services['test_service'].proxy.read()proxy_instance['param']='new_value'proxy_instance.update()# On the service you can access the:service:resources.Service=client.services[123456]service.proxy# The PROXY clientservice.mapping_rules# mapping rules clientservice.metrics# metricsservice.app_plans# application plans# The proxy supports:proxy=service.proxy.read()proxy.promote(version=1,from_env="sandbox",to_env="production")# The promote operationproxy.mapping_rules# The mapping rulesproxy.configs# proxy configurations clientproxy.policies# Policies defined for the APIRun the TestsTo run the tests you need to have installed development dependencies:pipenvinstall--devand then run thepytest:pipenvrunpytest-vIntegration tests configurationTo run the integration tests you need to set these env variables:THREESCALE_PROVIDER_URL='https://example-admin.3scale.net'
THREESCALE_PROVIDER_TOKEN='<test-token>'

# OPTIONAL:
THREESCALE_MASTER_URL='https://master.3scale.net'
THREESCALE_MASTER_TOKEN='<test-master-token>'
Package: 3y
# 3yzhA three-circle calculator, It contains Circle Circles and Cylinders.
It is in Chinese.If you konw how to speak and write or mean these,you can useNow,you can Download and input python 3y and then it will runningPlease comply with local laws and regulations,
User only has the right to use
The final interpretation belongs to the author
For mainland China only.
You can see or read the log in log.py
This means that you have read and agreed to all the above regulations.Welcome Download and use!
Package: 40wt-common-tasks
A collection of tasks for python invoke, to build and maintain python projects.Free software: BSD licenseInstallationpip install 40wt-common-taskssDocumentationhttps://40wt-common-tasks.readthedocs.org/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.2.0 (2016-07-29)Tasks were fixed to work withinvoke >= 0.13.0.New taskcheck_if_dirtywas added. Make your tasks depend on it,
and execution will be interrupted if some git changes aren’t commited and pushed.0.1.0 (2016-02-10)First release on PyPI.
Package: 42cc-pystyle
42cc-pystyleflake8 plugins for 42 Coffee Cups style checks0.0.7
flake8 version bump to 3.8.30.0.6
fixed flake8 warnings :)0.0.5
fixed package layout declaration0.0.4
fixed nosetests0.0.3
moved code to a subfolder0.0.2
Added MANIFEST.in0.0.1
Tests should have docstrings
Tests for the module could be run vianosetestsorpython setup.py nosetests
Package: 42di
42di Python SDK42di is the python sdk for 42di.com42di.com is a platform for data science.Installpipinstall42diORpipinstallgit+https://github.com/42di/python-sdkPut to / read from 42diimportdi#42diimportpandas_datareaderaspdrdi.TOKEN="<YOUR_ACCESS_TOKEN>"df=pdr.get_data_fred('GDP')di.put("42di.cn/shellc/testing/my_dataset",df,create=True,update_schema=True)df=di.read("42di.cn/shellc/testing/my_dataset")print(df.head(100))
Package: 42Points
42-Points-GamePython implementation of the fourty-two points game.Introduction"42 Points" game is a variation based on the popular and long-lived "24 Points" game. The player should only use addition, subtraction, multiplication, division and parentheses andfiveintegers between 0 and 13 (inclusive) to get 42. It's really simple to understand, as the core of the game still relies on math calculations.Design LogicThis package is designed towork as a core processing part, providing:Problem databaseProblem generation (by user / in database)Start / stop the gameTimer for solutionsPlayer statisticsEquivalent solution detectionA bunch of APIs and exceptionsThis package is not designed tofully implement everythingwith the game, so the formatting parts should be written by end-users. But don't worry, the API in this package is enough to create whatever you need.UsageAs equivalent detection is not a easy issue, we will make several changes to make sure it satisfies our need in the following upgrades. Please just kindly use the latest version.It's recommended to usepip:pipinstall--upgrade42PointsBut building withsetup.pywill also work, as no other third-party dependencies are required for this package.After you have installed the package, you are almost done. If you want to try it out quickly, just open your IDLE (or something like that) and type:fromftptsgameimportFTPtsGameapp=FTPtsGame()# initializeapp.generate_problem(problem=[1,2,3,4,5])# generate a problem beforehandapp.start()# start the gameapp.get_current_problem()# show the problemapp.solve('2 * 4 * 5 + 3 - 1')# put forward a valid solutionapp.get_current_solutions()# show all solutionsapp.get_remaining_solutions()# show remaining solutionsapp.stop()# stop the gameWell, you can integrate this package into your projects by using just the same way, and you can format problems in all the ways you like.ExceptionsPermissionError: Raised during a status check, some methods must be used in the game, while other can't be used.TypeError: Raised when the problem type is not defined.ValueError: Raised when the parameter of generating a problem is invalid, or a user inputs unmatched numbers.OverflowError: Raised when a user input a too long expression. (greater than or equal to 30 characters after beautifying)SyntaxError: Raised when a user input an expression which can't be parsed.ArithmeticError: Raised when a user inputs a wrong answer.LookupError: Raised when a user inputs an equivalent answer.Other exceptions will be raised when an input fails built-in parameter checks.LicenseThis package is licensed under theMIT License.ContributionPull requests and issues are warmly welcomed.
Package: 42qucc
the following is the usage:1.Paste file to 42qu.cchi@Mars~$ 42qucc < foo.txthttp://42qu.cc/xa47qt4712.Custom urlhi@Mars~$ 42qucc hi < foo.txthttp://42qu.cc/hi3.Save web page to local filehi@Mars~$ 42qucchttp://42qu.cc/xa47qt471>  foo.txt
Package: 4711
47114711is a natural number that follows4710and that is followed by4712. It's somewhat of "a large arbitrary number".In this case however,4711isn't just a number. It's a CLI tool (or collection CLI tools if you wish) for working with data structures, parsing values, handling conversion and formatting the output. It's written in Python, but doesn't require any extensive Python knowledge for use.Requires Python 3.6+ and should be run on Unix-like systems such as Linux, BSD, macOS, etc.Installation withpipx(preferred) orpipIt's recommended to install4711usingpipx, which is a tool that stores Python based command line interface applications in their own virtual environment, effectively making it accessible without you having to think about setting up virtualenvs on your own or handle the dependencies.pipxis available athttps://github.com/pipxproject/pipx.To install usingpipx(depending on how you've installedpipxpreviously, may have to usesudo):$ pipx install 4711If you prefer to install the CLI normally usingpip, go ahead and run:$ pip install 4711Usage and examplesUse-case$ 4711 --help
Package: 4ch
fourch (stylized as 4ch) is a wrapper to the 4chan JSON API, provided by moot. It allows you to interact with 4chan (in a READONLY way) easily through your scripts.Originally <strike>stolen</strike> forked frome000/py-4chan, but then I moved repos and renamed stuff since I’m pretty bad about that.RequirementsPython 2.7 (what I test with, 2.x might work)requestsNotesThis isn’t guaranteed to work all the time; after all, the API may change, and 4ch will have to be updated accordingly.If a feature is missing, open an issue on therepo, and it may well be implemented.Running / UsageInstall & import:$ pip install 4ch,import fourchSee thedocsContributingIf you’re interested in contributing to the usability of 4ch, or just want to give away stars, you can visit the 4ch githubrepo.
Package: 4chan
A python script that downloads all images from a 4chan thread.Installpip install 4chanUsageusage: chan [-h] [--watch] url

positional arguments:
  url         The url of the thread.

optional arguments:
  -h, --help  show this help message and exit
  --watch     If this argument is passed, we will watch the thread for new
              images.Examplechan thread-url
Package: 4chan-biz-mentions
4chan-biz-mentionsHF tracking your shitcoin, loserInstallpipinstall4chan-biz-mentionsUsage>python3-m4chan_biz_mentionsmoonethavaxadasolbtcankralgofudbullishscampumpnft
solmentionned44timesethmentionned39timespumpmentionned22timesscammentionned19timesmoonmentionned12timesfudmentionned8timesadamentionned7timesavaxmentionned6timesbtcmentionned5timesalgomentionned3timesbullishmentionned3timesnftmentionned3timesankrmentionned0timesshithub
Package: 4channel
4channel is a python3 tool and module to download all images/webm from a 4channel thread.InstallationDependencies4channel requires:python (>= 3.6)User installationpip install 4channelUsageusage: 4channel [-h] [--webm] [--watch] [--dryrun] [-r RECURSE] url [out]

positional arguments:
  url                   the url of the thread.
  out                   specify output directory (optional)

optional arguments:
  -h, --help            show this help message and exit
  --webm                in addition to images also download webm videos.
  --watch               watch the thread every 60 seconds for new images.
  --dryrun              dry run without actually downloading images.
  -r RECURSE, --recurse RECURSE
                        recursively download images if 1st post contains link to previous thread up to specified depth
examples:
  python -m fourchannel https://boards.4channel.org/g/thread/76759434#p76759434

  import fourchannel as f
  f.download(url='https://boards.4channel.org/g/thread/76759434#p76759434')
Package: 4in
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.