Saravanan666/pypi-org huggingface dataset:
Package: atro-args
Atro-ArgsPython package that allows one to source arguments from command line arguments, environment variables, environment files and yaml files with overwritable prioritization and decent logging.Installationpipinstall-Uatro-argsBasic ExampleSuppose you want to obtain two variablesapp_nameandapp_namespacefrom cli inputs and environment variables. You can do the following:fromatro_argsimportArg,InputArgsinput_args=InputArgs(prefix="ATRO_TEST")input_args.add_arg(Arg(name="app_name",arg_type=str,help="App name",required=True))input_args.add_arg(Arg(name="app_namespace",arg_type=str,help="App name",required=True))model=input_args.get_dict()The following model will be a dictionarydictwhich will contain bothapp_nameandapp_namespaceas keys with their respective values.For more examples and more explanations please refer to thedocumentation
Package: atrope
atropeAtrope is a program intended to keep in sync one or several image list sources
(such as RSS, HEPiX VM image lists, EGI's AppDB image lists, etc.) with a local
cache or with an image catalog (such as OpenStack glance).Free software: Apache licenseSource:https://github.com/alvarolopez/atropeBugs:https://github.com/alvarolopez/atrope/issuesUpgrade notesv2.0.0Support for Python3 only.The support for thevoms.jsonfile has been dropped, please use theprojectproperty instead.FeaturesImage SourcesCurrent list of supported image lists:HePIX VM image lists.DispatchersApart from the sync with a local cache directory, atrope is able to dispatch and sync that cache with an image catalog. The current list of dispatchers is:OpenStack Glance image catalog.
Package: ats-base
1. 制作requirement.txtpip freeze > requirement.txt2. 打包pip install --upgrade pip twine wheel setuptoolspython setup.py sdist bdist_wheeltwine upload dist/*使用twine upload --skip-existing dist/* 来忽略已经存在的库3. 安装更新插件pip install --upgrade tsdl4. 参数说明package_dir:
告诉Distutils哪些目录下的文件被映射到哪个源码包。一个例子：package_dir = {'': 'lib'}，表示“root package”中的模块都在lib目录中。
Package: ats-case
1. 制作requirement.txtpip freeze > requirement.txt2. 打包****pip install --upgrade pip twine wheel setuptoolspython setup.py sdist bdist_wheeltwine upload dist/*使用twine upload --skip-existing dist/* 来忽略已经存在的库3. 安装更新插件pip install --upgrade tsdl4. 参数说明package_dir:
告诉Distutils哪些目录下的文件被映射到哪个源码包。一个例子：package_dir = {'': 'lib'}，表示“root package”中的模块都在lib目录中。
Package: at-serial-can
at_serial_canInterface for Serial AT Style CAN. Designed to be compatible with python-can module (required)Tested Hardware:http://wiki.wit-motion.com/doku.php?id=USB-CAN%E8%B5%84%E6%96%99Probably Similar: (not tested)https://www.aliexpress.com/i/32972743395.htmlInstallationpip install at_serial_canUsageimport at_serial_can

bus = at_serial_can.ATSerialBus(channel='COM14', bitrate=500000)Once the bus is created, it is the same as python-can:https://python-can.readthedocs.io/en/master/api.html
Package: atshop
InstallationUse the package managerpipto install Atshop.pipinstallatshopUsagefromatshopimportClientclient=Client()client.login('token')product=client.request(method='admin.product.add',shop_id='4AueTN7mx6xRurrfu',product={'name':'Clap is cool <3','description':'','purchaseNotes':'','value':100,'icon':'','minQuantity':1,'maxQuantity':0,'image_url':'','style':'box','requireShipping':'no','paymentMethods':[],'maxDisplayedStock':0,'preventDuplicates':True,'priority':0,'category':'','displayDescription':True,'useOrderIdAsItemName':False,'hidden':False,'notForSale':False})print(product['result'])DocumentationEverything you need is listed in theAtshop Documentation.
Package: atsim.potentials
Python modules and scripts to support atomistic simulation;atsim.potentialsprovides tools for working with pair and embedded atom method potential models.In particular includes functions for tabulation of pair and EAM models forLAMMPSandDL_POLY.DocumentationDocumentation, containing examples, API reference etc is hosted athttp://atsimpotentials.readthedocs.orgInstallationInstall Using PipIf you havePiptype the following to installatsim.potentials:pipinstallatsim.potentialsInstall from SourceThe source is hosted ongithuband can be cloned usinggitas follows:gitclonehttps://github.com/mjdrushton/atsim-potentials.gitalternatively a tarball of the source can be downloadedhereFrom the source directory installatsim.potentialsusing the following command:pythonsetup.pyinstallContactatsim.potentialswas developed by Michael Rushton, if you have any problems, suggestions or queries please get in touch atm.j.d.rushton@gmail.com.Licenseatsim.potentialsis licensed under the Apache 2.0 license. For more information,
please see LICENSE and NOTICE file.
Package: atsphinx-color-text
Text color changer for Sphinx.OverviewThis extension adds simple role to set style of text-color for HTML-based builders.Getting startedpip install atsphinx-color-textextensions=["atsphinx.color_text",]UsageWrite your text with:color:role.Your title==========sphinx-revealjs is presentation library for Pythonista using reStructuredText and:color:red:`Sphinx`.When you generate HTML bysphinx-build-bhtml,
“Sphinx” rendered as red color by CSS ( likelyfont-color:red;).Notes and ToDoI will not implements all color-names, but plan “RGB code” mode and custom name mode.
Package: atsphinx-feed
Simple RSS feed generator based Open Graph.OviewviewSphinx extension to add RSS feed of documents.This is usingatsphin-og-article, and pick documents includedog-articledirective.
You can select only documents that you want to notify as RSS.Getting startedInstall from PyPI.pip install atsphinx-feedConfigure yourconf.py.extensions=["atsphinx.feed","atsphinx.og_article",]When you build by html-like builder, this generates Atom style feed file into outdir.- _build/html/
  + index.html
  + atom.xml <- Generated!!
  - _static/You can configure behevior of extension.
Please see docs.
Package: atsphinx-footnotes
Powered footnote tools for Sphinx.ExampleWhen using standard reST, you must write footnotes into last of source to render into last of document.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[#]_The quick brown fox jumps over the lazy dog[#]_..[#]This is first sentence of "Lorem ipusum"..[#]This is one of pangram.When you use this extension, you can write footnotes nearby refer contents.Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.[#]_..[#]This is first sentence of "Lorem ipusum"The quick brown fox jumps over the lazy dog[#]_..[#]This is one of pangram.Getting started(TBD)
Package: atsphinx-og-article
Support article tpye’s properties of Open Graph for Sphinx.OverviewThis is Sphinx extension to handle properties of article typeof Open Graph.You can addog-articledirective with some options...og-article:::published_time:2023-05-07:modified_time:2023-05-07 12:00:00When it runs builder with this directive,
your html file is generated included<meta property=”article:published_time”>and more properties.Getting startedInstall from PyPI.Configure yourconf.py.Appendog-articledirective into your document.Important noteThis extension renders onlyarticle:*properties, and does not renderog:*properties.I recommend to installsphinxext-opengraphtoo.RefGlobally defined properties on OGP site.sphinxext-opengraph
Package: atsphinx-sqlite3fts
Power search for Sphinx by SQLite3-FTS extension.NoteThis is experimental libraryOverviewThis is sphinx extension to provide search component with full-text search database.Whensphinx-buildruns with this extension, builder generate these components.SQLite database with FTS extensionRecords of all documentsSearch page HTML with sql.jsThis will be useful when you want to embed strong full-text search with keeping static-site structure.Installationpip install atsphinx-sqlite3ftsUsageRegister extension into yourconf.pyand configure it.extensions=[## Other extensions#"atsphinx.sqlite3fts",# Add it]Run builder (html-based builder only).sphinx-build -M html source buildTo try it in local, usehttp.servermodule.python -m http.server -d build

Please access http://localhost:8000/search.html
Package: atsync
READMEThis tool provides one-way idempotent sync from python dicts.  Uses airtable-python-wrapper for access to airtable REST API.Installingpip install atsyncDocumentationJust this README so farUsage exampleThis library is small and simple and only does one thing: upsert dicts into airtable.# Define each related table in a list of dictsrelated_tables=[{'table_name':'Contact Details','primary_key':'Email Address',# primary key of this related table'related_on':'Email',# key in our target table that is related to this table},]# Define your target table with an atsync Table instancesync_table=atsync.Table(table_name='User Table',primary_key='User ID',# primary key as seen in the airtable user interface'base_key':'appZZZZZZZZZZZZZZ',# Can be found in the url of your api doco (see below)*'api_key':'keyABCDEFG',# Can be found in the api doco (see below)*related_tables=related_tables)# Assumes all the fields in users.csv are also in airtablewithopen('users.csv','r')asuser_file:importcsvusers=csv.DictReader(user_file)foruserinusers:sync_table.update_record(user)# updates existing reocrd with same primary key, otherwise inserts a new record* To find yourbase_keyandapi_key, open Airtable, click the help link on the top right, choose "API Documentation".Yourbase_keywill be the first section of url after the domain: airtable.com/>>this bit<</api/docs#...Yourapi_keycan be found by clicking the "show API key" checkbox at the top right of the pageLicenseMIT
Package: attach
attachYou can install this Python package usingpip install attach.How does this work?Here is an example session:>>> from attach import Namespace, attach
>>>
>>> foo = Namespace()
>>> with attach(foo):
...    bar = 'bar'
...    baz = 'baz'
...
>>>
>>> bar
Traceback (most recent call last):
    ...
NameError: name 'bar' is not definedNotice that since we definedbarinside theattach(foo)context,bardoes not exist as a global.
Instead, it's value is saved to the namespacefoo:>>> foo.bar
'bar'We can reattach the namespace later:>>> with attach(foo):
...     print(bar)
...
barWhat’s the point?The module is especially useful inside Jupyter notebooks. Quite often,
we have constructions like this:X = np.array([1, 2, 3])
def increment(X):
    return X + 1In other words, we have globals and function parameters or local variables by the same name.
However, this can lead to unintended references in the case of a typo,
or difficulty keeping everything modular.By keeping variables out of globals and inside namespaces, you can force functions to only
use the variables that have been explicitly passed in, thereby preventing many tricky bugs!Isn’t hacking globals evil?Yes, for good reason, but this is not meant to be used in code files or in production, bur rather in exploratory Jupyter notebooks.What’s thisNamespaceclass?You can pass any dictionary-like object intoattach(); it does not have an instance
of theNamespaceclass defined in this package.TheNamespaceclass just has a few niceties, like a nice string representation, and
allowing you to attributes both asfoo.barandfoo['bar'].Stuff you should knowBy default, variables beginning with an underscore are not saved to the namespace; they are lost.
To change this behaviour, setskip_underscored=Falseinattach().attach()only concerns itself with globals. If you call it inside a function,
beware unexpected behaviour.To DoAdd aread_onlyparamater toattach(), which enables using namespaces in a
nested way when neeed.Check if being called inside a function, and error out unlessread_only=Truesince we can’t modify function locals, only globals.
Package: attachi
Copyright (c) 2018 QBiCPermission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, 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 THESOFTWARE.Description: # Attachi[![Language](https://img.shields.io/github/languages/top/qbicsoftware/attachi-cli.svg)](https://img.shields.io/github/languages/top/qbicsoftware/attachi-cli.svg)[![Build Status](https://travis-ci.org/qbicsoftware/attachi-cli.svg?branch=master)](https://travis-ci.org/qbicsoftware/attachi-cli)[![Python 3.5](https://img.shields.io/badge/python-3.5-blue.svg)](https://www.python.org/downloads/release/python-350/)[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)A small helper script, that creates the folder structure needed to register files as attachment to openBIS.## Installation### Stable release from PyPi:``pip install attachi``### Current master branch:``pip install git+https://github.com/qbicsoftware/attachi-cli``or from a specific branch:``pip install git+https://github.com/qbicsoftware/attachi-cli@<branch>``## Run```pyhton> attachi --helpUsage: attachi [OPTIONS] PROJECTID FILE COMMENTAttachi - A helper tool that prepares attachments for openBIS registrationOptions:-t, --atype TYPE   Type of attachment: Information or Results (default)-u, --user ID      Username shown in openbis as uploader-o, --outdir PATH  Output folder path--version          Show the version and exit.--help             Show this message and exit.# ExampleCreating the folder structure for an upload:```pythonattachi -u myusername QABCD README.md "this is a test for uploading the readme file"#--> folder QABCD000AQ_20180627102707758164 is created```Use tar and dync to upload the file to openBIS:```bashtar -c QABCD000AQ_20180627102707758164 | dync -n QABCD000AQ_20180627102707758164.tar -k untar:True data.qbic.uni-tuebingen.de```Keywords: openbis,attachmentPlatform: UNKNOWN
Package: attachment-downloader
Simple tool for downloading email attachments for all emails in a given
folder using an IMAP client.Install:$ pip install attachment-downloaderUsage:Usage: attachment-downloader [options]

Options:
  -h, --help            show this help message and exit
  --host=HOST           IMAP Host
  --username=USERNAME   IMAP Username
  --password=PASSWORD   IMAP Password
  --imap-folder=IMAP_FOLDER
                        IMAP Folder to extract attachments from
  --subject-regex=SUBJECT_REGEX
                        Regex that the subject must match against
  --date-after=DATE_AFTER
                        Select messages after this date
  --date-before=DATE_BEFORE
                        Select messages before this date
  --filename-template=FILENAME_TEMPLATE
                        Attachment filename (jinja2) template.
  --output=DOWNLOAD_FOLDER
                        Output directory for attachment download
  --delete              Delete downloaded emails from Mailbox
  --delete-copy-folder=DELETE_COPY_FOLDER
                        IMAP folder to copy emails to before deleting themExample:$ attachment-downloader --host imap.example.com --username mail@example.com --password pa55word \\
    --imap-folder invoices --output ~/DownloadsFor full instructions and documentation visit:https://github.com/jamesridgway/attachment-downloader
Package: attachments-fetcher
Attachments FetcherA tool for downloading embedded images in a Markdown document into a dedicated directory and replacing the image links
with the local (fetched) ones.Usage exampleFor example, if you have a Markdown calledinput.md, with the following contents:Hello world!
![image](https://example.com/image/storage/sample.png)After running this script against it:af-make-local-iinput.md-ooutput.md-m./mediaYou will find a new file calledoutput.mdwith the following content:Hello world!
![image](./media/sample.png)and asample.pngimage file, stored in the./mediadirectory.
Package: attackapi
attackapiattack api is a cli tool to find security vulnerabilities in an API.It uses mitmproxy to setup proxy and syntribos to detect vulnerabilities in API. To find security vulnerabilities a mobile app or web app, use attackapi as proxy and just visit all the pages/api which needs to be checked.Installation$pipinstallattackapiattackapi uses redis to store requests and for inter process communication. Make sure redis is installed and running on your system.UsageTo see help$attackapi--helpTo start a proxy and attack API$attackapirun
Package: attackcti
ATT&CK Python ClientA Python module to access up-to-date ATT&CK content available inSTIXvia a publicTAXIIserver. This project leverages python classes and functions from thecti-python-stix2andcti-taxii-clientlibraries developed by MITRE.GoalsProvide an easy way to access and interact with up-to-date ATT&CK content available in STIX via public TAXII server.Allow security analysts to quickly explore ATT&CK content and apply it in their daily operations.Allow the integration of ATT&CK content with other platforms to host up to date information from the framework.Help security analysts during the transition from the old ATT&CK MediaWiki API to the STIX/TAXII 2.0 API.Learn STIX2 and TAXII Client Python librariesDocumentationhttps://attackcti.comCurrent Status: Production/StableThe project is currently in a Production/Stable stage, which means that the current main functions are more stable. I would love to get your feedback to make it a better project.ResourcesMITRE CTIOASIS CTI TAXII ClientOASIS CTI Python STIX2MITRE ATT&CK FrameworkATT&CK MediaWiki APIInvoke-ATTACKAPIMitre-Attack-APIRequirementsPython >= 3.0stix2 >= 2.1.0taxii2-client >= 2.3.0six >= 1.16.0InstallationYou can install it via pip:pip install attackctiOr you can also do the following:git clone https://github.com/OTRF/ATTACK-Python-Client
cd ATTACK-Python-Client
pip install .ContributionNow that the project is more stable, It would be great to get your feedback and hopefully get more contributions to the project. Let us know if you have any features in mind. We would love to collaborate to make them happen in the project.Check our basic contribution guidelines and submit an issue with your ideas.Be concise but clear when adding a title and description to your feature proposal.One pull request per issue.Select one or more labels when you submit an issue.Make sure you are in the correct branch [Master].Try to avoid sizeable changes unless warranted.Be patient and polite as the project is still relatively small, which is why we would appreciate your help where possible.AuthorRoberto Rodriguez@Cyb3rWard0gOfficial CommittersJose Luis Rodriguez@Cyb3rPandaH
Package: attack-dashboard
MITRE DASH-board🏄🏽‍♂️Update the MiTRE dashboard provided byHELK.TLDRThis package loads the most recent data from theMITRE ATT&CK®framework and and converts it to parsable csv files.In a second step the data can be parsed bylogstashand imported into yourelasticsearchinstance.
This step should be repeated in an interval of 3 month to keep yourCTIup to date!Additionally, you can upload the metadata of theHELKdashboard to your Kibana endpoint. This step is necessary only once and if the dashboard wasn't imported previously.UsagePackage installationpipinstallmitre-dashGet and process the latest Mitre dataattack_fetchOptional flags:--matrix_nameto specify the matrix. Options areenterprise-attack,mobile-attackandics-attack.--include_subtechniquesto include sub_techniques. This will result in a factor 10 increase in data size (20GB).--include_detectionto include detection methods. This is very verbose, will increase log size and might break logstash parsing due to special characters.--include_descriptionsto include descriptions of techniques, software, groups, etc. Same as above ⬆️.--output_dirto specify the output directory. Default is./output.--helpor-hto get help.Import dashboard to KibanaIn total you will import:1 index pattern2 dashboardsa bunch of custom visualizationsRun:attack_dash_upNext you will be prompted to enter your Kibana host-address and credentials.
We use the same script as theHELKto import the metadata.⚠️ This step is only necessary once and if the dashboard wasn't imported previously!!!Parse data with logstashNow upload the new data to your elasticsearch instance:attack_parseNext you will be prompted to enter your elasticsearch host-address and credentials.This will create a 'logstash' folder in your current directory with:logstash.confto parse the csv data.docker-compose.ymlto run logstash as a contained service..envto facilitate the provided credentials.Finally two parallel processes will be started:docker-compose upto run logstash.nc <logstash-host> 32173 -q 11 < output/<attack-matrix>.csvto send the data to logstash.The second process is repeated for every attack matrix csv file in the output folder.⚠️ Prepare for a long ride. Get some popcorn while 13M logs are ingested 🍿
Package: attackmate
AttackMateAttackMate is a tool to automate cyber attack scenarios that supports scripting of attack techniques across all phases of the MITRE attack chain. AttackMate's design principles aim to integrate with penetration testing and attack emulation frameworks such as Metasploit and Sliver Framework and enables simple execution of commands via shell or ssh. For example, AttackMate enables to execute Metasploit modules or generate payloads and run commands in Metasploit sessions. Moreover, it is able to generate Sliver implants, automatize Sliver to send C2 commands, and configure and compile ld_preload_rootkits. AttackMate also offers a simple interface to automate shell or ssh interaction, run commands in background mode, transfer files via sftp, and start http clients or servers. All attack steps may be scheduled, chained, and repeatedly executed using a simple configuration file that supports variable declarations and conditional workflows.Requirementspython >= 3.10libmagicInstallationManually:$ git clone https://github.com/ait-aecid/attackmate.git
$ cd attackmate
$ pip3 install .Using pip:$ pip3 install attackmateExecute$ attackmate playbook.ymlDocumentationPlease take a look at our documentation for how to install and use attackmate:InstallationDocumentationCommand ReferenceExample PlaybooksDisclaimerAttackMate is purely for educational and academic purposes. The software is provided "as is"
and the authors are not responsible for any damage or mishaps that may occur during its use.Do not attempt to use AttackMate to violate the law. Misuse of the provided software and
information may result in criminal charges.SecurityAttackMate should only be executed against own test or training systems.
For this reason, every software bug is treated equally, regardless of
whether it is security relevant or not.*Please note that AttackMate could easily be executed in a dangerous way. For example, by
parsing the RESULT_STDOUT of a malicious server. The server response could lead to
a command injection. Keep that in mind!LicenseGPL-3.0