Saravanan666/pypi-org huggingface dataset:
Package: mirror-gitblit
ScriptsModule to mirrorgitblitThis package requires at least python 3.6.NOTE:This package is created for education only, not intended to be used
in productive system!The classmirror_gitblit.GitblitMirror.Gitblitprovides methods to
talk to a Gitblit-Server via itsRPC-API.To use this class, the commandcurlandgitmust available in thePATH-Variable.
One can test if these commands exist by usingwhich. One possible output:$whichcurl
/usr/bin/curl
$whichgit
/usr/bin/gitExampleRunning this file (after change some variables) will create at least these files:${HOME}/mirror-log.txt,f'{backupdir}/{HOST}-repos.json'and mirror of repositories in remote gitblit server --if any-- which are less than 1 GB,
in{backupdir}.# This script is written by an admin. It uses `mirror-gitblit` to mirror# repositories of a gitblit-serverfrommirror_gitblit.GitblitMirrorimportGitblitfrommirror_gitblitimportGitblitMirrorimportloggingHOME="/home/backup"HOST="gitblit"DOMAIN="somedomain.de"GIT_SSH_PORT=8022user="backup"source_web_url=f"https://{HOST}.{DOMAIN}/gitblit"curl_credentials_file=f'{HOME}/curl-credential.txt'source_base_url=f'ssh://{user}@{HOST}.de:{GIT_SSH_PORT}'backup_dir="/backup"repositories_json=f"{backup_dir}/{HOST}-repos.json"included_repos=[# name of repositories to be included without leading slash (/)]excluded_repos=[# name of repositories to be excluced without leading slash (/)]logging.basicConfig(filename=f"{HOME}/mirror-log.txt",filemode='w',level=logging.INFO,format='%(asctime)s-%(levelname)6s-%(message)s',datefmt="%Y-%m-%dT%H:%M:%S%z")gitblit=Gitblit(source_web_url,curl_credentials_file,source_base_url,repositories_json,backup_dir)gitblit.download_repositories_list()repo_filter=lambdarepo:GitblitMirror.inclusive_exclusive_filter(repo,None,excluded_repos)less_than_1GB=lambdarepo:GitblitMirror.repo_size_to_int(repo)<1000**3less_than_2MB=lambdarepo:GitblitMirror.repo_size_to_int(repo)<2*(1000**2)gitblit.clone_repos(less_than_1GB,False)gitblit.update_repos(less_than_1GB)One must also create a file named$HOME/curl-credentials.txt, which contents
authentication information against gitblit server innetrcformat:machine {gitblit.domain} login {username} password {user password}This file is passed to cURL-Option--netrc-file. To test if your netrc file is
correct runcurl --netrc-file $HOME/curl-credentials.txt https://gitblit.domain.de/gitblit/rpc/?req=LIST_REPOSITORIESThe SSH-public key of the gitblit user must be imported in Gitblit server.
Package: mirrorlib
mirrorlibmirrorlib is a flat, generic specification for tracking urls and files together. The strength of mirrorlib is its simplicity and ability to track any type of data. It is designed to make data verification and integrity easy and provide all the data upfront to manage your mirror. mirrorlib is not designed to be thefastestmirror specification, but to be as portable and simple as possible. This allows many developers to quickly develop on top of the code and have the flexibility to use the data as they please.mirrorlib was inspired byRedoxOSand their philosophy of "everything is a URL". In mirrorlib everything is a URI that is tracked together in one place.mirrorlib is not specific to any type of database and can be implemented using any language, you could even implement it as a JSON file if you wanted to. The reference implementation is currently implemented using python and sqlite. It's not required, but all data is usually stored in a single table called 'mirror'. A mirror contains only URIs and their associated metadata as text.Getting Startedpip install mirrorlibDocumentationGolden rulesEverything is a URIUse text as much as possibleKeep data simpleContributingTODOThe specification and reference implementation is still being developed and any suggestions and issues are welcome.The longterm goal is to implement the reference specification in Rust and use Python bindings instead. For the time beingHistorymirrorlib was originally created to be used in another archiving project, youmirror. Youmirror is a tool developed in early 2022 for downloading and archiving media, originally Youtube videos. However, I'm always looking for ways that components of larger projects can be broken down into modules that may be helpful more broadly. I am hoping that mirrorlib will be used to archive all kinds of data and inspire even better projects in the future!
Package: mirrors
Mirrors is the back end (or content repository, if you will) Django application
for theSmokeandMirrorsproject.RequirementsPostgres 9.4+Python 3django 1.7django rest frameworkpsycopg2sphinxInstallationInstallation is easy:bash
cd /path/to/mirrors
pip install -e ./TestingTo run the tests enter these commands:bash
cd sample_project
python manage.py test mirrorsIf you want to get all of the test coverage, run this:bash
coverage run --source='../mirrors/mirrors' --omit='*migrations*' manage.py test mirrors; coverage htmlDocumentationThe actual docs can be found athttp://mj-gitlab-docs.s3.amazonaws.com/mirrors/html/index.htmland in the docs
directory of this project. Just runmakeinside of it and it’ll build you a
nice, readable version of our API.
Package: mirror-set
# MSet
Quickly set mirrors for apt/yum/npm/pip/…[ ] pypi[ ] npm[ ] flutter[ ] docker[ ] apt[ ] yum[ ] brew# cfc-cli
- mset
- github proxy
- microsoft speedup
- apple speedup
- cli proxy
- scoop speedup
- onekey install## reference
-https://github.com/zwc456baby/file-proxy
Package: mirror-source
配置镜像源快速设置国内镜像源,方便记不住源地址的小伙子安装pipinstallmirror-source使用python-mmirror_source请选择要设置的镜像源[0][清华](https://pypi.tuna.tsinghua.edu.cn/simple)[1][阿里云](https://mirrors.aliyun.com/pypi/simple/)[2][网易](https://mirrors.163.com/pypi/simple/)[3][豆瓣](https://pypi.douban.com/simple/)[4][百度云](https://mirror.baidu.com/pypi/simple/)[5][华为云](https://mirrors.huaweicloud.com/repository/pypi/simple/)[6][腾讯云](https://mirrors.cloud.tencent.com/pypi/simple/)[Default:0]>1:)Successsettingsource:https://mirrors.aliyun.com/pypi/simple/功能介绍Windows 环境配置%APPDATA%/pip/pip.ini[global]index-url=镜像源URL[install]trusted-host=镜像源域名Linux/Mac 环境配置~/.pip/pip.conf[global]index-url=镜像源URL[install]trusted-host=镜像源域名pipenv 环境配置.Pipfile[[source]]url="镜像源URL"verify_ssl=truename="镜像源域名"poetry 环境配置pyproject.toml[[tool.poetry.source]]name="镜像源域名"url="镜像源URL"default=true
Package: mirror-up
Upload your files to MirrorAceQuickstartInstall the package from PyPi$pipinstallmirror-upCreate an account at MirrorAce and set your environment variablesMirAce_K=     # MirrorAce API key
MirAce_T=   # MirrorAce API Token
ZIP_SAVE=    # Path where to store temp filesUpload the file/folder at a given path to MirrorAce$python-mmirror_upmirror_aceuploadPATH...Upload all files inside given folder as separate uploads$python-mmirror_upmirror_acefolderPATH...Free software: MITDocumentation:https://mirror-up.readthedocs.io.CreditsThis package was created withCookiecutterand thebriggySmalls/cookiecutter-pypackageproject template.
Package: mirth-client
python-mirth-clientA basic async Python interface for Mirth ConnectInstallationpip install mirth-clientUsage exampleAssuming running within IPython or as part of an async application with an event-loop set up.frommirth_clientimportMirthAPIfrompprintimportpprintasyncwithMirthAPI("https://mirth.domain.com/api")asapi:awaitapi.login("****","****")# Check out list of channelsforchannelinawaitapi.channels():metadata=awaitchannel.get_info()print(f"ID:{metadata.id}")print(f"Name:{metadata.name}")print("")# Get stats for a channels=awaitapi.channel("3cdefad2-bf10-49ee-81c9-8ac6fd2fed67").get_statistics()pprint(s)# Check channel for failed messagese=awaitapi.channel("3cdefad2-bf10-49ee-81c9-8ac6fd2fed67").get_messages(status="error")pprint(e)# Get 10 most recent eventse=awaitapi.events(10)pprint(e)
Package: mirtime
A new pipeline, mirTime, that predicts microRNA targets by integrating sequence features and time-series expression
profiles in a specific experimental condition.Free software: MIT licenseInstallationpip install mirtimeDocumentationhttps://python-mirtime.readthedocs.io/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.1.0 (2019-01-14)First release on PyPI.
Package: mirto-asip-manager
Asip serial managerPackage allows to communicate with MirtoRobot via serial port.
This package can be installed directly on Raspberry PiGetting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.Prerequisites1) python3
2) pip3
3) serialInstalling1) apt-get install python32) apt-get install pip33) sudo install pip pyserial4) pip install mirto_asip_manager
4.1) pip install --user . --no-cache-dir (When installing local files)Running the testsExplain how to run the automated tests for this systemBreak down into end to end testsExplain what these tests test and whyGive an exampleAnd coding style testsExplain what these tests test and whyGive an exampleDeploymentAdd additional notes about how to deploy this on a live systemBuilt With?ContributingPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.VersioningWe usePEP 440for versioning.
PEP 440 Version Identification and Dependency SpecificationAuthorsAdam Jarzebak-Computer Scientists-GithubLicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsAcknowledgments
Package: mirtop
mirtopCommand line tool to annotate with a standard naming miRNAs e isomiRs.This tool adapt the miRNA GFF3 format agreed on here:https://github.com/miRTop/mirGFF3ChatAsk question, ideasContributors to codeCitehttp://mirtop.github.ioContributingEverybody is welcome to contribute, fork thedevelbranch and start working!If you are interesting in miRNA or small RNA analysis, you can jump into the incubator issue pages to propose/ask or say hi:https://github.com/miRTop/incubator/issuesAboutJoin the team:https://orgmanager.miguelpiedrafita.com/join/15463928Read more:http://mirtop.github.ioInstallationBiocondaconda install mirtop -c biocondaPIPpip install mirtopdevelop versionThes best solution is to install conda to get an independent enviroment.wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh

bash Miniconda-latest-Linux-x86_64.sh -b -p ~/mirtop_env

export PATH=$PATH:~/mirtop_env

conda install -c bioconda pysam pybedtools pandas biopython samtools

git clone http://github.com/miRTop/mirtop

cd mirtop

python setup.py developQuick startRead complete commands at:https://mirtop.readthedocs.orggit clone mirtop
cd mirtop/data
mirtop gff --sps hsa --hairpin examples/annotate/hairpin.fa --gtf examples/annotate/hsa.gff3 -o test_out sim_isomir.bamOutputThemirtop gffgenerates the GFF3 adapted format to capture miRNA variations. The output is explainedhere.ContributorsLorena Pantano(Bioinformatic Core, Harvard Chan School, Boston, USA)Shruthi Bhat Bandyadka(Partners Personalized Medicine, Cambridge MA, USA)Iñaki Martínez de Ilarduya(HPC core, IGTP, Badalona, Spain)Rafael AlisVictor Barrera(Bioinformatic Core, Harvard Chan School, Boston, USA)Steffen Möller(University of Rostock)Kieran O'Neill[Roderic Espin](Universitat Oberta de Barcelona)CitizensHere we cite any person who has contribute somehow to the project different than through code development and/or
bioinformatic concepts.Gianvito Urgese,
Jan Oppelt(CEITEC Masaryk University, Brno, Czech Republic),
Thomas Desvignes,
Bastian,
Kieran O'Neill (BC Cancer),
Charles Reid (University of California Davis),
Radhika Khetani (Harvard Chan School of Public Health),
Shannan Ho Sui (Harvard Chan School of Public Health),
Simonas Juzenas(CAU),
Rafael Alis (Catholic University of Valencia),
Aida Arcas (Instituto de Neurociencias (CSIC-UMH)),
Yufei Lin (Harvard University),
Victor Barrera(Harvard Chan School of Public Health),
Marc Halushka (Johns Hopkins University)
Package: miru
Miru 📺見る — to watch; to view;Utility for keeping track of watched TV episodes and movies. Includes a nice
ncurses based interface and an SQLite backend for storage.InstallationThe latest stable version of Miru can be installed fromPython package
index:pip install --user miruAlternatively, a development version can be obtained directly from GitHub:pip install --user git+https://github.com/Soft/miru.gitKey bindingsKeyActionh,←Move to a view in leftl,→Move to a view in right1—5Move to a spesific viewj,↓Focus next itemk,↑Focus previous itemiIncrement seen episodes count for selected seriesdDecrement seen episodes count for selected seriessSet seen episodes count to an arbitrary numbermaMark series as activemhMark series as on holdmdMark series as droppedmpMark series as plannedonOrder by nameosOrder by seen episodesoeOrder by episode countaAdd new seriesxDelete selected seriesq,QExit Miru
Package: misago-05-redirects
This Misago app provides redirects for forums that were migrated from Misago 0.5 to Misago 0.6 and onwards.This application exists because Misago 0.7 deprecates and removes themisago.datamovermodule that originally handled the redirects from old urls to new ones as part of larger package of migrating data from Misago 0.5.InstallationTo install package, run following command when you are in virtualenv that you’ve used to install Misago:pip install misago-05-redirectsThis will install the redirects app in your envinroment and let you enable it in your site configuration. To do this, edit yoursettings.py, findINSTALLED_APPSin it, and append following line to it:‘misago05redirects’,Next, open yoururls.pyand find line below:url(r’^’, include(‘misago.urls’, namespace=’misago’)),Now, prepend new line before it so it looks like this:url(r’^’, include(‘misago05redirects.urls’)),
url(r’^’, include(‘misago.urls’, namespace=’misago’)),It’s important for new line to come before Misago’s one, or Misago’s url’s handler will intercept and fail on calls to some urls like user lists.This is it.AuthorsRafał Pitońhttp://rpiton.comhttp://github.com/rafalphttps://twitter.com/RafalPitonCopyright and licenseCopyright © 2017Rafał PitońThis program comes with ABSOLUTELY NO WARRANTY.This is free software and you are welcome to modify and redistribute it under the conditions described in the license.
For the complete license, refer to LICENSE.rst
Package: misago-pypi-plugin
Misago PyPI PluginThis repo contains a minimal Misago plugin used for testing Misago's support for installing plugins from PYPI throughpip-install.txtfile inpluginsdirectory.This plugin implements no logic, but it has a manifest and will be displayed properly on plugins list in Misago's admin panel.Copyright and licenseMisago- Copyright © 2023Rafał PitońThis program comes with ABSOLUTELY NO WARRANTY.This is a free software and you are welcome to modify and redistribute it under the conditions described in the license.
For the complete license, refer to the LICENSE file.
Package: misago-social-auth-app-django
# Python Social Auth - Django - Misago fork[![Build Status](https://travis-ci.org/python-social-auth/social-app-django.svg?branch=master)](https://travis-ci.org/python-social-auth/social-app-django)
[![Donate](https://img.shields.io/badge/Donate-PayPal-orange.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=matiasaguirre%40gmail%2ecom&lc=US&item_name=Python%20Social%20Auth&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest)
[![PyPI version](https://badge.fury.io/py/social-auth-app-django.svg)](https://badge.fury.io/py/social-auth-app-django)NOTE: This is a quick fork of not-released changes that were commited on original repo.Python Social Auth is an easy to setup social authentication/registration
mechanism with support for several frameworks and auth providers.## DescriptionThis is the [Django](https://www.djangoproject.com/) component of the
[python-social-auth ecosystem](https://github.com/python-social-auth/social-core),
it implements the needed functionality to integrate
[social-auth-core](https://github.com/python-social-auth/social-core)
in a Django based project.## Django versionThis project will focus on the currently supported Django releases as
stated on the [Django Project Supported Versions table](https://www.djangoproject.com/download/#supported-versions).Backward compatibility with unsupported versions won’t be enforced.## DocumentationProject documentation is available athttp://python-social-auth.readthedocs.org/.## Setup`shell $ pip installmisago-social-auth-app-django`## ContributingSee the [CONTRIBUTING.md](CONTRIBUTING.md) document for details.## VersioningThis project follows [Semantic Versioning 2.0.0](http://semver.org/spec/v2.0.0.html).## LicenseThis project follows the BSD license. See the [LICENSE](LICENSE) for details.## DonationsThis project is maintened on my spare time, consider donating to keep
it improving.[![Donate](https://img.shields.io/badge/Donate-PayPal-orange.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=matiasaguirre%40gmail%2ecom&lc=US&item_name=Python%20Social%20Auth&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest)
Package: misaka
A CFFI binding forHoedown(version 3), a markdown parsing library.Documentation can be found at:http://misaka.61924.nl/InstallationMisaka has been tested on CPython 2.7, 3.2, 3.4, 3.5, 3.6, 3.7 and PyPy 2.7 and 3.5.
It needs CFFI 1.0 or newer, because of this it will not work on PyPy 2.5 and older.With pip:pip install misakaOr manually:python setup.py installExampleVery simple example:importmisakaasmprintm.html('some other text')Or:frommisakaimportMarkdown,HtmlRendererrndr=HtmlRenderer()md=Markdown(rndr)print(md('some text'))
Package: misbehave
misbehaveMisbehave is a Python behavior tree implementation. A behavior tree is a design
pattern that breaks complex state-based actions into their component parts to
improve readability and re-usability for autonomous agents. A good starting
place to understand them ishere.Misbehave focused on python language features not available in other languages,
so some of the common features of AI design are missing by default. The rest of
this document is lightly hedged in its language as behavior trees can be useful
for video games or robots.How to use MisbehaveA node in a Misbehave behavior tree is simply a callable. While the ones
provided with this library are classes, you can use functions or closures to
define them.The signature of a node's function is simple:def MyNode(actor: Any, context: Any) -> misbehave.State
    # Perform actions here.An actor is an object representing the thing the behavior tree is controlling.
In a video game, this would be the mob object.The context is available for providing access to things like sensors, controls,
other code objects representing things in space. If you don't need them, you can
pass None here.An example of a tree might look like this in your code:class MyActor():
    tree = misbehave.selector.Sequence(
        misbehave.action.IncreaseValue("behavior_tree_runs"),
        my_actions.MoveForward(10),
        my_actions.Rotate(90)
    )
    behavior_tree_runs = 0This simple tree keeps track of how many times the entire tree was run, and then
moves the actor in a square. You must implement the specifics of the actions
here.DevelopmentMisbehave requires Python 3.6 or later.To work on misbehave, after forking and cloning locally, you'll want to setup
a virtual environment. You'll notice we don't have any requirement files: all
requirements are listed in setup.cfg either as setup_requires or as extras.In your project directory, with your virtual environment active:python -m pip install -e .[dev, tests]If you do not do an editable install of misbehave,misbehave.versionwill be
missing and the library will fail to work.Other than that, we are ready for PEP 518 and 517, so if you're using a build
tool that supports them, feel free!It is strongly encouraged that you runblackon the misbehave directory and
thenpytestbefore commiting to any working branch. Failure to lint will
disqualify a PR.
Package: misc-date-utilities
Misc Date UtilitiesProvides date subtraction, parsing, and random timestamp generation. Source codeon GitHub.date_differenceFor subtracting two dates from each other, provides classDateDifferencethat can store the difference between two dates, provides some overloaded functionality, and provides some static methodssubtract_datetimesandsubtract_datestringsto subtract datetimes and formatted date strings, respectively.simple_parseA simple parser that is used in the interpretation of date strings, providesparse_raw_date_stringto get a datetime from a string formatted as"%Y-%m-%d "(note the trailing space), or as"%Y-%m-%d %H:%M".random_timestampsFunctionality for getting a random time within a specified range, providesgenerate_random_timestampto generates a random timestamp in the range [00:00:00 - hours:minutes:seconds).testsUnit tests are provided forsubtract_datestrings.
Package: miscellaneous-slg
Python Package BoilerplateThis is an minimal example of how to publish a python package.You can follow along with theguide.WARNING: do not run apply_custom_naming.py from another directory. It will delete things (potentially).INFO: If no script name is entered, it will delete both the scripts directory and scripts line from setup.pyTo apply a custom name to your package, run:python3 apply_custom_naming.py
Package: mischief
MischiefRequired LibrariesrequestscoloramaExamplePlace a list of accounts (emails) into a json file array:["test@example.com"]Then callpymischiefand the file:kevin@Loganbin$./pymischief.pytest.json[test@example.com]========================000webhost[14millionaccountstotal]Domain:000webhost.com2015-03-01DatastillonwebHackverifiedbywebsiteLeakeddata:-Emailaddresses-IPaddresses-Names-Passwords8tracks[7millionaccountstotal]Domain:8tracks.com2017-06-27DatastillonwebHackverifiedbywebsiteLeakeddata:-Emailaddresses-Passwords
...
Paste:test@example.com==============AdHocUrl:http://siph0n.in/exploits.php?id=4560AdHocUrl:http://balockae.online/files/BlackMarketReloaded_users.sqlAdHocUrl:http://siph0n.in/exploits.php?id=7854AdHocUrl:http://pxahb.xyz/emailpass/www.ironsudoku.com.txtAdHocUrl:http://pxahb.xyz/emailpass/www.optimale-praesentation.de.txtPastebin:https://pastebin.com/01ywCrGVQuickLeak:http://quickleak.se/QtPly6aEPastebin:https://pastebin.com/B8TeVHVtPastebin:https://pastebin.com/VvKhYPR0Pastebin:https://pastebin.com/ktnvMJDHPastebin:https://pastebin.com/tJmdW6spPastebin:https://pastebin.com/L730bR9aPastebin:https://pastebin.com/h2KJPWJ9Pastebin:https://pastebin.com/0SqeEgZePastebin:https://pastebin.com/tcHtWCFDPastebin:https://pastebin.com/yukVFztc
...MIT LicenseCopyright (c) 2019 Kevin J. WalchkoPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.