Saravanan666/pypi-org huggingface dataset:
Package: mbomb
####MBombMBomb(Gmail To Gmail) Mail Bombing! Send Unlimited Bombing on Inbox.Sign in to your Gmail Visithttps://www.google.com/settings/security/lesssecureappsPlease, Turn on Less Secure App Logins from your Gamil Account.
MBomb means Mail-Bomb and it's works for Sending Unlimited Mail. You can send unlimited message Gmail to Gmail.More information about the attack you can findhere.InstallationPyPiFor installation through the PyPI:$pipinstallmbomb==1.0.0This method is prefered for installation of the most recent stable release.For TermuxTo use the mbomb type the following commands:$pkginstallpython2-y$pkginstalltqdm$pkginstallgit-y$gitclonehttps://github.com/palahsu/MBomb.git$cdMBomb.py$pythonMBomb.pyorpython2MBomb.pyFor Debian-based GNU/Linux distributions:To use the application, type in the following commands in GNU/Linux terminal.$sudoinstallpython2-y$sudoinstalltqdm$sudoinstallgit-y$gitclonehttps://github.com/palahsu/MBomb.git$cdMBomb.py$pythonMBomb.pyorpython2MBomb.pyFor WindowsTo use the application, type in the following commands in Powershell or CMD:$pipinstallpython2-y$pipinstalltqdm$pipinstallgit-y$gitclonehttps://github.com/palahsu/MBomb.git$cdMBomb.py$pythonMBomb.pyorpython2MBomb.pystop execution: Ctrl + CLegal disclaimer:
It only works through Gmail, it does not identify the user as a spammer in any way, it is only designed to send multiple messages at once.
Using Gmail SMTP. We are not responsible for any abuse or damage caused by this program. This tool for only educational purpose. Use at your own risk!Bugs, issues and contributing!If you findbugsor havesuggestionsabout improving the module, To work properly in Android you have to Turn On Data and Please, Turn on your less secure option from Gmail. Don't use for revenge!
Don't hesitate to contact me.LicenseThis project is licensed under the MPL License - see theLICENSEfile for details.
Copyright (c) 2019-2020 palahsu
Package: mbonig.aws-lambda-nodejs.NodejsFunctionPlus
Matt's Lambda Node.js Library---This is adeveloper preview(public beta) module. Releases might lack important features and might have
future breaking changes.This API is still under active development and subject to non-backward
compatible changes or removal in any future version. Use of the API is not recommended in production
environments. Experimental APIs are not subject to the Semantic Versioning model.This library provides constructs for Node.js Lambda functions. Well, ok, so AWS already does that with the@aws-cdk/aws-lambda-nodejspackage.All this CDK construct does it expose the sameNodejsFunctionconstruct as that other package, but I set theAWS_NODEJS_CONNECTION_REUSE_ENABLEDfor you. Why? Because it's a super great environment flag built into the AWS SDK whichenables http keep-alive, and greatly improves performance.UsageThis is a drop-in replacement:# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826# import {NodejsFunction} from '@aws-cdk/aws-lambda-nodejs';fromnodejsfunction_plusimportNodejsFunctionNodejsFunction(self,"whatever")ContributingJust submit a PR.
Package: mbonig.cdk-cicd
CDK CodePipeline Stack (pre-release)The purpose of this Construct is to build a CodePipeline stack that builds and deploys a CDK Stack.This construct is still in development and as such you should use with caution.What it createsThis will create a CodePipeline pipeline that builds a CDK module and then deploys it to CloudFormation as a Stack.UsageRefer to thebin/automation.tsfor an example.Propertieslib/cdk-cicd.tspropdescriptionusagestackNameThe CloudFormation Stack to create/updatemust be a valid CFN stack name (e.g. some-stack-name)sourceActionThe Source IAction for CodePipelineRather than try to account for all source situations, you just provide your own. The factory function is given the Artifact to use as the output target in your Action. If you don't use this artifact, the construct will fail construction.createBuildSpecA Factory that returns a BuildSpec object to useRefer to thelib/buildspec-factory.tsfor creating these. You can create your own buildspec if you'd like but there are certain requirements; you have to have artifacts setup properly.additionalPolicyStatementsAny additional PolicyStatements you'd like to add to the CodeBuild project RoleUseful if you're going to be making AWS API calls from within your CDK 'synth' process during the build.ContributeAlways open to any suggestions or help in making this better. Open an Issue.LicenseMIT
Package: mbonig.nightynight
NightyNight and WakeyWakey!Do you have a EC2 instance or an RDS instance that you only need during certain hours of the day? Do you want to reduce it's cost? How about just stopping it every night?That's the NightyNight construct. It's very simple. Give it aninstanceIdand it will create a Lambda and a CloudWatch Event Rule to fire the lambda at a specific time of day. If the instance is running, it's stopped.There are currently two variations of the construct:NightyNightForEc2- stops an EC2 instance at a given time.NightyNightForRds- stops an RDS instance at a given time.NightyNightForAsg- sets the desired capacity for an ASG at a given time.NightyNightForEcs- sets the desired capacity for an ECS service at a given time.WakeyWakeyThe WakeyWakey construct (fromthisrepository) has been integrated into this library. You don't need to install
a separate dependency anymore.WakeyWakeyForEc2- start an EC2 instance at a given time.WakeyWakeyForRds- start an RDS instance at a given time.There isn't a specific construct for starting ASGs or ECS services, since you can just set the count to whatever you want.This is a pre-release!This is a quick first-draft. All the options that will likely need to be added to accommodate a large
number of use-cases are still needed. If you'd like to make requests or help update this construct, please
open anIssueor aPR.There are multiple versions of this library published. You should be using the v0.X.X versions for now.
There are versions published that match the CDK version they depend on, but don't use those.What it createsA Rule that will, on a given schedule, fire a lambda.A Lambda with permissions to describe ec2 instances. It will read the instance by the giveninstanceIdand then stop the instance if it's in a running state.Example:import{NightyNightForEc2,WakeyWakeyForEc2}from"./ec2";exportclassNightyNightStackextendsStack{constructor(scope:Construct,id:string,props:StackProps){super(scope,id,props);//ThecodethatdefinesyourstackgoesherenewNightyNightForEc2(this,'nighty-night',{instanceId:'i-123123123123'});newWakeyWakeyForEc2(this,'wakey-wakey',{instanceId:'i-123123123123'})}}This will stop the instance with idi-123123123123at (the default) 4am UTC. It will then start the instance at 12am UTC.API DocSee theAPI Docsfor more info.ContributingPlease open Pull Requests and Issues on theGithub Repo.LicenseMIT
Package: mbonig.rds-tools
RDS Tools---The APIs of higher level constructs in this module are indeveloper previewbefore they
become stable. We will only make breaking changes to address unforeseen API issues. Therefore,
these APIs are not subject toSemantic Versioning, and breaking changes
will be announced in release notes. This means that while you may use them, you may need to
update your source code when upgrading to a newer version of this package.There are multiple versions of this library published. You should be using the v0.X.X versions for now.
There are versions published that match the CDK version they depend on, but don't use those.This is a collection of CDK constructs you can use with RDS.DatabaseScriptProvides a Custom Resource and backing Lambda Function that will run a given script against a given database.constdatabaseInstance=newDatabaseInstance(stack,'test-database',{engine:DatabaseInstanceEngine.sqlServerWeb({version:SqlServerEngineVersion.VER_15_00_4043_16_V1}),vpc:vpc,});//...newDatabaseScript(stack2,'test',{databaseInstance,script:'SELECT 1',}).bind(databaseInstance.connections.securityGroups[0]);//bindforsecurityaccessDatabaseUserThere was once a construct called DatabaseUser. However, it is better to use the standard code from the CDK directly:constmyUserSecret=newrds.DatabaseSecret(this,'MyUserSecret',{username:'myuser',masterSecret:instance.secret,excludeCharacters:'{}[]()\'"/\\',//defaultstotheset" %+~`#$&*()|[]{}:;<>?!'/@\"\\"});constmyUserSecretAttached=myUserSecret.attach(instance);//AddsDBconnectionsinformationinthesecretinstance.addRotationMultiUser('MyUser',{//Addrotationusingthemultiuserschemesecret:myUserSecretAttached,});
Package: mbonig.secure-bucket
A CDK L3 Construct for a Secure BucketThis is an AWS CDK L3 Construct used to demonstrate the development and publishing process with the AWS CDK.Please refer to the blog postherefor more information.UsageJust import and use it.# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826importaws_cdk.coreascdkfromsecure_bucketimportSecureBucketclassSandboxCdkStack(cdk.Stack):def__init__(self,scope,id,*,description=None,env=None,stackName=None,tags=None):super().__init__(scope,id,description=description,env=env,stackName=stackName,tags=tags)SecureBucket(self,"myBucket")Encryption optionsThis is just a wrapper around an S3 Bucket and thepropsare shared.However, you cannot supply anUNENCRYPTEDoption for theencryptionproperty. If you do, or don't set it at all, it will use theBucketEncryption.KMS_MANAGEDvalue by default.Integration TestIf you want to see full usage, you can run$cdksynthto produce a basic stack with one SecureBucket resourceL2 Construct - Inheritance vs CompositionThis construct is a wrapper around a standard L2 Bucket. However, because it wraps it, you can't just use it in all
the same places you could use a standard L2 bucket. You have to pass around the public field.bucketfrom the construct.
This was done as it's more representative of the types of constructs I expect people to build (composed of multiple L2s).
However, if you were to actually want to use this construct in a production environment you'd
probably use the inheritance model instead. Checkout thefeature/inheritancebranch for that version.LicenseMIT License
Package: mbonig.sqs-redrive
SQS RedriveThis construct creates a Lambda function that you can use to move SQS messages from one queue to another. This is often used for moving Dead Letter Queue messages back to the original queue for reprocessing.This is a pre-release!This is a quick first-draft. All the options that will likely need to be added to accomodate a large
number of use-cases are still needed. If you'd like to make requests or help update this construct, please
open anIssueor aPR.What Gets CreatedA Lambda function and related policy which moves SQS queue messages from one queue to another.ExampleThis creates two external queues and then creates the Lambda to move from the deadLetterQueue to the mainQueue# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826importaws_cdk.coreascdkfrom...lib.sqs_redriveimportSqsRedrivefromaws_cdk.aws_sqsimportQueueapp=cdk.App()stack=cdk.Stack(app,"test-stack")main_queue=Queue(stack,"main-queue")dead_letter_queue=Queue(stack,"dlq-queue")SqsRedrive(stack,"SqsRedriveConstructStack",main_queue=main_queue,dead_letter_queue=dead_letter_queue)Note: this is the integration test (cdk synth).Input PropertiesWhat are the inputs to your constructs?propertydescriptionexamplemainQueueThe destination queue for the messages.new Queue(stack, 'main-queue')deadLetterQueueThe source queue of the messages.new Queue(stack, 'dead-letter-queue')Overriding Lambda PropsYou can supply your own properties to the Lambda Function constructor. They're mashed together with some defaults.
Pay attention to the order:# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826self.redrive_function=NodejsFunction(self,f"{id}-queue-redrive",function_name=id,entry=join(__dirname,"sqs-redrive.queue-redrive.ts"),(SpreadAssignment...props.lambdaPropsprops.lambda_props),environment={"QUEUE_URL":props.main_queue.queue_url,"DLQ_URL":props.dead_letter_queue.queue_url,(SpreadAssignment...props?.lambdaProps?.environmentprops.lambda_props.environment)})functionNameandentrycan be overridden. Environment variables will always be splatted with the two queue URLs so
you never have to worry about specifying those (you can, of course, override them, but if you're going that far then
why are you using this construct?).Output PropertiesAfter constructed, you can gain access to the Lambda Function:# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826redrive=SqsRedrive(stack,"SqsRedriveConstructStack",main_queue=main_queue,dead_letter_queue=dead_letter_queue)Design NotesThis is early design and serves one very specific use-case. If you have suggestions on how to make this better, please open anIssue in Github.ContributingPlease open Pull Requests and Issues on theGithub Repo.LicenseMIT
Package: mbonig.wakeywakey
Wakeywakey!Do you have a EC2 instance that you only need during certain hours of the day? Do you want to reduce it's cost? Are you using the@matthewbonig/nightynightconstruct to shut it down every night? Do you want to start it up in the morning?That's the Wakeywakey construct. It's very simple. Give it aninstanceIdand it will create a Lambda and a CloudWatch Event Rule to fire the lambda at a specific time of day. If the instance is stopped, it is started.This is a pre-release!This is a quick first-draft. All the options that will likely need to be added to accomodate a large
number of use-cases are still needed. If you'd like to make requests or help update this construct, please
open anIssueor aPR.What is createsA Rule that will, on a given schedule, fire a lambda.A Lambda with permissions to describe ec2 instances. It will read the instance by the giveninstanceIdand then start the instance if it's in a stopped state.Example:# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826classWakeyWakeyStack(Stack):def__init__(self,scope,id,props):super().__init__(scope,id,props)# The code that defines your stack goes hereWakeyWakey(self,"wakeywakey",instance_id="i-123123123123")This will start the instance with idi-123123123123at (the default) 4am GMT.ContributingPlease open Pull Requests and Issues on theGithub Repo.LicenseMIT
Package: mbot
MBotYet another Bot implemented in pure Python. Is designed to support multiple backends with global state machine which can store shortcuts for your commands and more. Support user permissions for actions.Free software: MIT licenseDocumentation:https://mbot.readthedocs.io.Message BackendsSlackMQTT (TODO)RabbitMQ (TODO)Storage BackendsLocal fileS3 fileSupport encryption in defaultDB (TODO)MiddlewaresSlackSQLAirflowTriggerBashSaltstack (pepper client)Joker (say some joke)History (list of your commands, save shortcuts)HelpFeaturesSimple schedulerUser roles and permissionsFilebased config/stateEncrypted storageConnections managementS3 storageDialogsAuto installing of dependenciesDynamic loadingInstallationpipinstallmbotUsage$mbotrunSlacktoken:xoxb-46465446310727-654564564564654565456StartingyourBOT...INFO:requests.packages.urllib3.connectionpool:StartingnewHTTPSconnection(1):slack.comConfig$mbotconfig{'core':{'backends':['slack'],'config_path':'/Users/user/Library/Application ''Support/mbot/mbot.conf','data_path':'/Users/user/Library/Application ''Support/mbot/state.db'},'logging':{'verbosity':'INFO'},'slack':{'engine':'mbot.backends.slack.Slack','middlewares':['mbot.contrib.system.Config','mbot.contrib.history.history','mbot.contrib.debug.Debug','mbot.contrib.bash.Bash','mbot.contrib.console.MBotConsole','mbot.contrib.python.Python','mbot.contrib.joker.Joker','mbot.contrib.hackernews.HackerNews','mbot.contrib.scheduler.Scheduler','mbot.contrib.salt.Salt','mbot.contrib.connections.Connections','mbot.contrib.dialogs.Dialogs','mbot.contrib.airflow.AirflowTrigger','mbot.contrib.sql.SQL','mbot.contrib.help.Help'],'token':'xoxb-46465446310727-654564564564654565456'},'storage':{'encrypt':True,'engine':'local','fernet_token':'oMdNGsFou566j4e3SL6cij3HR70D-xIqh58z30B2BAs='}}Add user to admin groupmbot:users.all()mbot:users.update("your_user_id",["admin"],"groups")TODOVariables, managementSupport Celery as executorSSHUse appdirs when data-path is not proviedHistory0.1.0 (2017-02-09)First release on PyPI.
Package: mboxattachments
mboxattachments is a Python class for extracting all embedded files in
a group of emails.  It was developed to assist in the running of a
photography club.  Members of the club would regularly send emails
containing images to the club secretary.  The secretary would manually
save the attachments, organize those files, and prepare a show for the
members.  The manual saving process was time consuming and error prone.This utility allows downloading all the attachments in a set of emails
contained in an mbox file. Conveniently, gmail permits exporting emails
as mbox filesInstallationOn debian and Windows 7 the following is known to workpip install mboxattachmentsRunningmboxattachments --exportpath  images  emails.mboxExamplesmboxattachments --filter_from flur  --exportpath images emails.mboxThe above line will test all email messages in the file emails.mbox
to see the the senders name (FROM field) matches the regular expression
flur.  If an mail matches, all of its attachments will be written to
a file in the directory images.mboxattachments --SQstart 1000  --exportpath images emails.mboxThe above command will save the attachments from every file in
emails.bmox.  The file names will be of the form
SQ1000….,
SQ1001….,
SQ1003….Optionsoptions:   specify output directory
           filter by sender
           filter by recipient
           filter by date
           specify destination diretory for attachments
           set sequence number field starting value (default 0)

usage:
 mboxattachments [--help] [--version] [--debug] [--filter_from regexp]
                 [--filter_to regexp] [--filter_date regexp]
                 [--exportpath path] [--SQstart value]  input_mbox_file ...

attachments are stored as separate files
file names are of the form
<sequence number>-<email subject>-<email sender>-<file name of attachment>
  for example, a possible file name is
  SQ0146-CellPhone - Action-johndoe@gmail.com-myPrettyPicture.jpg
  ------ ------------------ ----------------- -------------------
  seqnum    email subject     sender           file name in emailWebsitehttp://www.chuck-jackson-photos.com/mboxattachmentsdownloadhttp://www.chuck-jackson-photos.com/mboxattachments/mboxattachments-0.5.32.tar.gz
Package: mbox-to-json
Prakhar Sharma -Adrita Bhattacharya -MBOX to JSONA command line tool to convert MBOX file to JSON.Explore the docs » (Currently NA)View Demo·Report Bug·Request FeatureTable of ContentsAbout The ProjectBuilt WithGetting StartedPrerequisitesInstallationUsageRoadmapLicenseContactAbout The ProjectA small package that converts MBOX files to JSON. Also includes functionality to extract attachments.(back to top)Built WithPython(back to top)Getting StartedTo run this tool on your system locally, follow the installation steps.PrerequisitesMake sure you upgradepipbefore moving on.
All the required dependencies are inrequirements.txtwhich would be installed at the time of running the setup.pipinstall--upgradepipInstallationDownload the repository as zip. Unzip.cdto the repository folderRun this commandpipinstall.(back to top)Usagembox-to-json-hUsage example#1mbox-to-json/Users/prakhar/downloads/random_file.mbox---> Use-aflag to extract attachments. The files would be available in anattachmentsfolder in the root location of the repo.Usage example#2mbox-to-json/Users/prakhar/downloads/random_file.mbox-a---> Use-oto specify the output file location. It defaults tofile.jsonin the root location of the repo.Usage example#3mbox-to-json/Users/prakhar/downloads/random_file.mbox-o/Users/prakhar/downloads/random_output.jsonFor more examples, please refer to theDocumentation(back to top)RoadmapTBA(back to top)LicenseDistributed under the MIT License. SeeLICENSE.txtfor more information.(back to top)ContactLinkedIn -Prakhar Sharma,Adrita BhattacharyaGithub:PS1607,adritabhattacharyaGoogle Developer:PS1607(back to top)
Package: mbox-to-sqlite
mbox-to-sqliteLoad email from .mbox files into SQLiteInstallationInstall this tool usingpip:pip install mbox-to-sqliteUsageUse themboxcommand to import a.mboxfile into a SQLite database:mbox-to-sqlite mbox emails.db path/to/messages.mboxYou can try this out against an example containing a sample of 3,266 emails from theEnron corpuslike this:curl -O https://raw.githubusercontent.com/ivanhb/EMA/master/server/data/mbox/enron/mbox-enron-white-s-all.mbox
mbox-to-sqlite mbox enron.db mbox-enron-white-s-all.mboxYou can then explore the resulting database usingDatasette:datasette enron.dbDevelopmentTo contribute to this tool, first checkout the code. Then create a new virtual environment:cd mbox-to-sqlite
python -m venv venv
source venv/bin/activateNow install the dependencies and test dependencies:pip install -e '.[test]'To run the tests:pytest
Package: mbp
More Beautiful PythonMake Python even more beautiful :) This package includes implementations that you wish were in the standard library.Setuppython -m pip install mbp
python -m mbp.info
=================================== More Beautiful Python ===================================
examples              https://github.com/sudongqi/MoreBeautifulPython/blob/main/examples.py
execution_directory   C:\Users\sudon\MoreBeautifulPython
library_path          C:\Users\sudon\MoreBeautifulPython\src\mbp\core.py
cpu_count             16
version               1.5.89
=============================================================================================Exampleshttps://github.com/sudongqi/MoreBeautifulPython/blob/main/examples.pyreplacement for loggingreplacement for multiprocessingsyntax sugar for common utilitiestools for file system & data handlingtools for summarizationstools for simple statisticstools for llm (Large Language Model)
Package: mbpkg
MonkeyPackA github release driven Package Manager for Connect IQ barrelsUsage$ mbget updateBasicsApplication Repository ConfigurationThe tool expects to find various files in the repository to determine where to
get dependencies from. The only non-standard ConnectIQ project file introduced is a
package map file (packages.txt)project_root/
|-manifest.xml
|-packages.txtManifest FileNo changes are required from the standard barrel dependency declarations that
are required for barrels to be included in a project, but they are called out
here to provide context for the package map file.<iq:manifestxmlns:iq="http://www.garmin.com/xml/connectiq"version="3"><iq:application><iq:products/><iq:permissions/><iq:languages/><iq:barrels><iq:dependsname="LibraryA"version="0.3.0"/><iq:dependsname="LibraryB"version="1.0.0"/></iq:barrels></iq:application></iq:manifest>Package Map FileThe package map file is a text file that is used to mapmanifest.xmldependencies onto github repositories that the dependency can be retrieved
from.LibraryA=>GitHubLibraryARepo
LibraryB=>GitHubLibraryBRepoLibrary Repository RequirementsThe tool expects that the libraries it downloads will make a new "Release" when
a version is available. The library should use semantic versions when tagging
releases.The library must also include the barrel file in the release assets