Saravanan666/pypi-org huggingface dataset:
Package: pas.plugins.suisseid
OverviewLearn more about suisseID:http://www.suisseid.chCode repository:http://github.com/seantis/pas.plugins.suisseidQuestions and comments to <info at seantis ch>Report bugs athttp://github.com/seantis/pas.plugins.suisseid/issuesInstalling instructions can be found in docs/INSTALL.txt.Contact us at:
seantis gmbhhttp://www.seantis.ch<info at seantis ch>Changelog0.1b4 (2010-12-09)Ignore trailing slash upon URL comparison.0.1b3 (2010-12-09)Make sure that the challenge initiation and response handling happen
on the configured URL only (allows other suisseId handlers on other URLs).Patch pySAML2’s audience restriction check so that only the first part of
the URL has to be the same.0.1b2 (2010-12-07)Cleanup docsCleanup metadata.xml fileChange SwissSign Idp endpoint URLShow SAML2 metadata file configuration optionPatch pySAML2 so that POST is default binding in metadata configurationUse Name instead of FriendlyName for core/derived assertion attributes0.1b1 (2010-10-22)Initial releaseContributersSeantis GmbH, Author
Package: pas.plugins.wikid
ContentsIntroductionChange historyIntroductionThis is a WiKID Strong Authentication System Plugin for the Zope2 Pluggable Authentication Service (PAS).Code repository:https://github.com/collective/pas.plugins.wikidReport bugs athttps://github.com/collective/pas.plugins.wikid/issuesChange history0.1 (2013-03-26)Repackaged old product into package.Tested the initial functionality.
Package: paspybin
paspybinThepaspybinproject is an asynchronous api wrapper
written in Python forPastebin API.
paspybin was created to make it easier for users to use the API
provided by Pastebin asynchronously.We use the third party libraryaiohttpfor asynchronous client requests and it has been tested
to work well using theasynciolibrary. Also it usedataclassas the schema.DocsYou can start reading the documentationhere.ContributingGlad to hear you want to contribute to paspybin. Please seecontributing guidelines.AcknowledgementsWe would like to thankPastebinfor providing API services and also good documentation for
using the API.
Package: passa
InstallationInstall fromPyPI:$ pipenv install passaInstall fromGitHub:$ pipenv install -e git+https://github.com/sarugaku/passa.git#egg=passaSummaryPassa is a toolset for performing tasks in a Pipfile project, designed to be
used as a backing component ofPipenv. It contains several components:A resolver designed for performing dependency resolution using a stateful
look-forward algorithm to resolve dependencies (backed byResolveLib).Interface to interact with individual requirement specifications inside
Pipfile and Pipfile.lock (backed byRequirementsLib).A command line interface to invoke the above operations.Read the documentation.
Package: passacre-nobackend
passacrepassacre = password massacre
(i.e. what happens when you use the same password on every site)Passacre is a method of repeatably deriving a different secure password for every site you use.The way this works is that passacre takes the site’s name, your username, and your master password
and runs them through a cryptographically secure hash function
(either the Keccak sponge function from SHA-3 or Skein/Threefish)
to produce a password unique to that site.
Given the same inputs
(site name, username, and master password),
this process will always produce the same password.
This means that your site passwords never need to be persisted,
and since they’re always ephemeral,
you don’t have a file containing your passwords that’s vulnerable to theft.Minimal documentation is availableon readthedocs.Here’s how to use it for now:# for both keccak and skein generation:
pip install 'passacre'
# to be able to copy passwords, add the 'clipboard' extra:
pip install 'passacre[clipboard]'
# for YubiKey two-factor authentication, add the 'yubikey' extra:
pip install 'passacre[yubikey]'
# then set it up:
mkdir -p ~/.config/passacre
passacre init ~/.config/passacre/passacre.sqlite
# then finally:
passacre generate somesite.com
Package: pass-admin-pkg-Smarv
Password AdminThis is a simple password admin program.
It is made to ask the user for username and password input data which
is then written and collected in a JSON file. There is also other functions
like editing created usernames and passwords, deleting information etc.The main program has 3 modes:Main modeAdmin modeUser modeIn Main mode you have the options to login as admin, sign in a new user and login as user.When you log in as an admin you enter in Admin mode, where you can view the users data, or
delete users data.
If there is no admin data for login you are asked to sign in as admin which admin data is then collected
in the JSON file. There can be only one admin.When you sign in a new user it's data is also collected in the JSON file and you can log in after that.
There can be multiple users.
When you log in as a user you enter in User mode, where you can edit your username and password.
You can also add a nickname and have the option to view all your data.
Package: passage
A little library for text analysis with RNNs.Warning: very alpha, work in progress.Installvia Github (version under active development)git clone http://github.com/IndicoDataSolutions/passage.git
python setup.py developor via pipsudo pip install passageExampleUsing Passage to do binary classification of text, this example:Tokenizes some training text, converting it to a format Passage can
use.Defines the model’s structure as a list of layers.Creates the model with that structure and a cost to be optimized.Trains the model for one iteration over the training text.Uses the model and tokenizer to predict on new text.Saves and loads the model.from passage.preprocessing import Tokenizer
from passage.layers import Embedding, GatedRecurrent, Dense
from passage.models import RNN
from passage.utils import save, load

tokenizer = Tokenizer()
train_tokens = tokenizer.fit_transform(train_text)

layers = [
    Embedding(size=128, n_features=tokenizer.n_features),
    GatedRecurrent(size=128),
    Dense(size=1, activation='sigmoid')
]

model = RNN(layers=layers, cost='BinaryCrossEntropy')
model.fit(train_tokens, train_labels)

model.predict(tokenizer.transform(test_text))
save(model, 'save_test.pkl')
model = load('save_test.pkl')Where:train_text is a list of strings [‘hello world’, ‘foo bar’]train_labels is a list of labels [0, 1]test_text is another list of stringsDatasetsWithout sizeable datasets RNNs have difficulty achieving results better
than traditional sparse linear models. Below are a few datasets that are
appropriately sized, useful for experimentation. Hopefully this list
will grow over time, please feel free to propose new datasets for
inclusion through either an issue or a pull request.**Note**:None of these datasets were created by indico, not
should their inclusion here indicate any kind of endorsementBlogger Dataset:http://www.cs.biu.ac.il/~koppel/blogs/blogs.zip(Age
and gender data)
Package: passage-identity
passage-pythonThis Python SDK allows for verification of server-side authentication for applications usingPassageInstall this package usingpip.pip install passage-identityInstantiating the Passage ClassPassage has three arguments that can be used for initialization:app_id,api_key, andauth_strategy.app_idis the Passage App ID that specifies which app should be authorized. It has no default value and must to be set upon initialization.api_keyis an API key for the Passage app, which can be generated in the 'App Settings' section of thePassage Console. It is an optional parameter and not required for authenticating requests. It is required to get or update user information.Deprecatedauth_strategydefines where the Passage SDK should look for the authentication token. It is set by default toPassage.COOKIE_AUTH, but can be changed toPassage.HEADER_AUTH.frompassageidentityimportPassageimportosPASSAGE_APP_ID=os.environ.get("PASSAGE_APP_ID")PASSAGE_API_KEY=os.environ.get("PASSAGE_API_KEY")psg=Passage(PASSAGE_APP_ID,PASSAGE_API_KEY)Available FunctionsMethodDescriptionactivateUserActivate UserdeactivateUserDeactivate UserdeleteUserDelete UserdeleteUserDeviceDelete User DeviceauthenticateRequestValidates user jwt tokencreateMagicLinkCreate Embeddable Magic LinkcreateUserCreate UserdeleteUserDeviceDelete a device for a usergetAppGet AppgetUserGet UserlistUserDevicesList User DevicesrevokeUserDeviceDeprecatedDelete User DevicerevokeUserRefreshTokensSignout UsersignOutDeprecatedSignout UserupdateUserUpdate UservalidateJwtValidates user jwt token
Package: passagerole
passageroleAdd a short description here!A longer description of your project goes here…Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd passagerole
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.NoteThis project has been set up using PyScaffold 4.4. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: passax
PassaxEDUCATIONAL PURPOSES ONLYPython3library that can retrieve Chrome-based browser's saved login info.Requirementssecretstorage~=3.3.1pywin32==302(Only Windows)pycryptodome==3.12.0Notice that these libraries will be automatically installed through thesetup.pyfile when usingpip install passax.Suported SystemsPassaxv-1.10now includes:MacOS (Only tried in Monterrey)Windows (Only tried in Win-10)Linux (Tried on Ubuntu / Kali Linux)UsageNotice that sometimes you might get a blank output, this can be because you had installed the browser you're trying to
get data from, but the login data was erased.
You can use theblank_file = Falseparameter not to save the file if it's blank.Print to screen the login info from Chrome.frompassax.chromeimportwindows,browsers# Change to chrome.ChromeLinux for Linux users.# Change to chrome.ChromeMacOS for MacOS users.# Chrome is a supported browserwin=windows.Chrome(browsers.Chrome,blank_passwords=False)# Class instancewin.fetch()# Get database paths and keyswin.retrieve_database()# Get the data from the databaseprint(win.pretty_print())Save data to a file.frompassax.chromeimportwindows,browserswin=windows.Chrome(browsers.Chrome,blank_passwords=False)win.fetch()win.retrieve_database()win.save("login_data.txt",blank_file=False,verbose=True)Save login data from all suported browsersfrompassax.chromeimportwindows,browsersforbrowserinbrowsers.available_browsers:win=windows.Chrome(browser,blank_passwords=False)# Class instancewin.fetch()# Get database paths and keyswin.retrieve_database()# Get the data from the databasewin.save(f"{browser.base_name}_data.txt",blank_file=False,verbose=True)# Save the fileRun in any supported OS(Note that macOS will not work because I need to include the browsers. This will come with
the next update)importplatformimportsysfrompassax.chromeimportbrowsersifplatform.system()=="Windows":frompassax.chromeimportwindowsasoselifplatform.system()=="Linux":frompassax.chromeimportlinuxasoselifplatform.system()=="Darwin":frompassax.chromeimportmacosasoselse:print("No compatible system!")sys.exit(-1)# Clean exitforbrowserinbrowsers.available_browsers:passax_=os.Chrome(browser,blank_passwords=False)# Class instancepassax_.fetch()# Get database paths and keyspassax_.retrieve_database()# Get the data from the databasepassax_.save(f"{browser.base_name}_data.txt",blank_file=False,verbose=True)To doAdd the test file back (removed because it needed a fix)Maybe add other browsers not based on Chromium (Firefox, for example).ContactAny suggestions/problems contact me atauax.dev@gmail.com
Package: passbird
PassBird - Python Password GeneratorPassBird is a password generator that generates strong and secure passwords.Getting StartedInstallationpip install passbirdTo clone the current 'master' branch of PassBird, run the following command inside your desired directory:git clone https://github.com/jrt345/PassBird.gitUsageUsage: passbird [OPTIONS]Options:-l, --length INTEGER RANGE  Length of password  [1<=x<=255]-c, --count INTEGER RANGE   Print number of passwords at once  [default: 1;x>=1]-uc, --include_uppercase    Include uppercase letters-lc, --include_lowercase    Include lowercase letters-num, --include_numbers     Include numbers-sym, --include_symbols     Include symbols letters--help                      Show this message and exit.Built WithClick- Command line interface toolkitVersioningPassBird usesSemVerfor versioning. For the versions available, see thetags on this repository.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details
Package: passbolt
👩  This project is part of the passbolt "lab"!
⚗️   It is used to illustrate an article or as a conversation starter.
🧪  Use at your own risks!Copyright & License(c) 2021 Passbolt SAPassbolt is registered trademark of Passbolt S.A.MIT No Attribution -https://opensource.org/licenses/MIT-0py-passboltAboutPython library for Passbolt API based onhttpxandPGPy.You can also usepython-gnupgif needed but it is not the default.How to installpython -m pip install py-passboltHow to useconfig.json configuration fileBasically, create aconfig.jsonfile containing needed configuration. You will find samples:For PGPy (default):config.json.PGPy.sampleFor python-gnupg:config.json.gnupg.sampleThen have a look athttps://gitlab.com/AnatomicJC/py-passbolt/-/blob/main/example.pypython script.Environment variablesMandatory:PASSBOLT_BASE_URL: Your passbolt URLFor PGPy:PASSBOLT_PRIVATE_KEY: Your passbolt private key in one-line format (See below about how to format)PASSBOLT_PASSPHRASE: Your passbolt passphraseFor python-gnupg:PASSBOLT_GPG_BINARY (Optional): path to your gpg binary, default to "gpg"PASSBOLT_GPG_LIBRARY: Set this to gnupg, otherwise it will be the default "PGPy"PASSBOLT_FINGERPRINT: The OpenPGP key fingerprint to useHow to set OpenPGP key in config.json or environment variablesLinux:sed -z 's/\n/\\n/g' private.ascMacOSInstallgnu-sedwith brew:$ brew install gnu-sedUse gsed instead of sed:gsed -z 's/\n/\\n/g' private.asc
Package: passbolt-api
Passbolt APIThis package provides bindings to a Passbolt server API. Each of the bindings declared in this package aim to follow theofficial Passbolt API documentation.Releasing a new versionBefore releasing a new version of the package, please take some time to read a bit about Python packaginghere.Once, this is done, you will need the standard utilities to build and upload the package, namely :setuptoolswheeltwineMake sure that you have a clean indexCheck that you have nothing to commitCheck that you are onmasterCheck that you are up to date with the remote repositoryBuild the distribution archivesSimply run :python3 setup.py sdist bdist_wheelThis will generate the package archives indist/Upload the archives to PyPIMake sure that you have access to one of the maintainers account credentials for the package. You can see the list of maintainers for the projecthere.Prepare the account username and password and then run the following to upload the archives :python3 -m twine upload dist/*Tag the versionFor good measure, tag the commit from which you released the packet withgit tag -s v<version> <commit>.
Package: passbolt-python-api
Passbolt-python-APIInstallation$pip install passbolt-python-apiDependenciesPython >= 3.6GPG (also known as GnuPG) softwareConfigurationCreate a config file with the following contents.[PASSBOLT]
SERVER = http://<server_ip or domain>
SERVER_PUBLIC_KEY_FILE = <optional: server_public.asc>
USER_FINGERPRINT = <user_fingerprint>
USER_PUBLIC_KEY_FILE = <optional: passbolt_public.asc>
USER_PRIVATE_KEY_FILE = <optional: passbolt_private.asc>
PASSPHRASE = <passbolt_password>Or as a dictionaryconfig = {
    "PASSBOLT": {
        "SERVER": "http://<server_ip or domain>"
        ....(same as above)
    }
}UsageImport GPG keys from PassboltThe first step will be to import the private and public keys using gpg for encryption.Note: Do not keep private and public files. Rather just import them using gpg command one time and delete those files.Using PythonTo import new keys using Python:>>>import passboltapi
>>>passbolt = passboltapi.PassboltAPI(config_path="config.ini", new_keys=True)To delete old keys and import only the new ones.>>>import passboltapi
>>>passbolt = passboltapi.PassboltAPI(config_path="config.ini", new_keys=True, delete_old_keys=True)Using GPGImport new keys:$gpg --import public.asc
$gpg --batch --import private.ascDeleting existing keys:$gpg --delete-secret-keys <fingerprint>
$gpg --delete-key <fingerprint>How to use PassboltAPI client>>>import passboltapi
>>>passbolt = passboltapi.PassboltAPI(config_path="config.ini")
# Or pass the configuration settings as a dict
>>>passbolt = passboltapi.PassboltAPI(config=<dictionary as the given example config.ini>)

# Now you may do any get, post, put and delete request.
>>>r = passbolt.get(url="/resources.json?api-version=v2")
>>>r = passbolt.post(self.server_url + url, json=data)

# One can also use it as context manager
>>>with passboltapi.PassboltAPI(config_path="config.ini") as passbolt:To get all resourcesresources = {record.username: record for record in passbolt.list_resources(folder_id=folder_id)}To create new resource (optional: folder)response = passbolt.create_resource(
    name=name,
    username=username,
    password=password,
    uri=uri, # optional
    description=description,  # optional
    folder_id=passbolt_folder_id  # optional
)
# Note: if you add folder_id, you need to have the public keys of all the users who have access to the foler.
# This can be easily achieved as follows:
passbolt.import_public_keys()To move resource to folderpassbolt.move_resource_to_folder(resource_id, folder_id)Sample testCheck test.py for an example.If new keys needs to be imported, then USER_PUBLIC_KEY_FILE and USER_PRIVATE_KEY_FILE settings
should be in the config ini having the path of the public and private keys file respectively.Passbolt APIFor more API related questions, visit Passbolt API documentation:https://help.passbolt.com/api
Package: passbolt-salt
AboutThis Python module allows you to manage secrets for Saltstack via Passbolt. This makes managing secrets easier than manually encrypting them and storing the encrpyted password in the Saltstack repository.Additionally, it is possible to only have one source of truth for passwords for users and IT infrastructure while being able to manage access for each password. That means that all users can contribute to the Saltack configuration and manage (view/add/change) secrets within their responsibility.LicenseMITProduction SetupGo to your Salt master and install the module withsalt-pipsalt-pipinstallpassbolt-saltThis will install this module and its dependencies.Create a Passbolt account for the Salt master.Copy the private and public PGP key files to/etc/salt.Import the new Passbolt private key on the Salt master:gpg--import/etc/salt/passbolt_private.ascCreate a/etc/salt/passbolt.inifile with the following content:[PASSBOLT]SERVER=https://passbolt.example.com#SERVER_PUBLIC_KEY_FILE = <optional: server_public.asc>USER_FINGERPRINT=[REPLACE WITH GPG KEY FINGERPRINT]USER_PUBLIC_KEY_FILE=/etc/salt/passbolt_public.ascUSER_PRIVATE_KEY_FILE=/etc/salt/passbolt_private.ascPASSPHRASE=[REPLACE WITH PASSBOLT USER PASSWORD]Change file permissions:chownsalt/etc/salt/passbolt*
chmod600/etc/salt/passbolt*Use Passwords of Passbolt Group in PillarLook into theexampledirectory to see how the integration is done.Create Pillar sls files for the different Salt minions, insert the content below and replace the group UUID.#!pydefrun():fromsalt_passboltimportfetch_passbolt_passwordsreturnfetch_passbolt_passwords("27b9abd4-af9b-4c9e-9af1-cf8cb963680c")Hint: you can find the group UUID in the URL of the Passbolt admin interface when editing a group.In a state, reference secrets with their UUID. See theexample/salt/important_secrets/files/secret.conf.password={{ pillar['passbolt']['3ec2a739-8e51-4c67-89fb-4bbfe9147e17'] }}Hint: you can find the secret UUID in the URL of your browser by clicking on the checkbox of a secret.PerformanceAll passwords are decrypted with a single process (gpg-agent). If many minions need to access their Pillar at the same time, the gpg-agent becomes a bottleneck. To avoid this bottleneck, the Pillar cache can be enabled for the Salt master withpillar_cache: True. The following crontab entry updates the Pillar cache twice a day:0 */12 * * * rm -rf /var/cache/salt/master/pillar_cache/* && salt '*' -b1 pillar.itemsYAML Replacement StructureIf the Passbolt server is not available, for example during local development, a file with the following format can replace the Python code mentioned in step 8:passbolt:3ec2a739-8e51-4c67-89fb-4bbfe9147e17:MY_SECRET
Package: pass-by-value
Pass By ValuePassing by value in Python function arguments.OverviewPython generally implements so called pass by object reference, that is to say, everything in Python is an object and within a function call arguments are mere references to those objects in memory. This is dangerous, because you can modify things without knowing you did. This library allows us to circumvent this behaviour in a simple decorator.Usagefrompass_by_valueimportpass_by_value@pass_by_valuedefmodify_list(lst):lst[0]='a'original_list=[1,2,3,4,5]modified_list=modify_list(original_list)original_list# [1,2,3,4,5]modified_list# ['a',2,3,4,5]NotesThis library is currently very minimal and relies ondeepcopyto copy different structures before passing them to functionsKeep in mind that if you are passing a value you are necessarily passing a copy, so if you pass big objects/structures by value you might run out of memory
Package: passcat
PasscatPasscat lets you generate cryptographically secure, memorable passphrases.Installationpip install passcatUsageBasic usage:$ passcat
throng disregard overall trimming playpen persevereSpecify the number of words to use in the passphrase:$ passcat 5
relight usage geologic tumbling disownShow available wordlists:$ passcat -l

Eff
English
French
German
Indonesian
Italian
SpanishSpecify a wordlist other than EFF:$ passcat -w spanish
latitar reglamentaria apanuscadora consultable carbunclo duplicar paragueria cincoanalSpecify the path to an alternate wordlist:$ passcat -f /path/to/wordlist/file.txtLicenseThis code is released under a free softwarelicenseand you are welcome to fork it.
Package: pass-cli
pass-cli:  CLI interface forpass.InfoThis is the README file for pass-cli.AuthorAleksandr Blockaleksandr.block@gmail.comCopyright© 2019, Aleksandr Block.Date2019-08-23Version0.0.2Inspired byupassPre-requirementsMake sure that you've installedpass.PASSWORD_STORE- path to a password store (optional env variable)EDITOR- editor (emacs|vim|nano| etc.)Installation$ python3 -m pip install pass_cliKey-bindingsqquiteedit entryrrefreshbback:s <part of pass entry>+enter- to search pass-entries:q+enter- quitenter[on pass entries] - load a pass-entryenter[on content of pass-entry] - copy to clipboard
Package: pass-collaborate
pass-collaborateA pass extension that helps collectives manage the access to their passwords.HelpSeedocumentationfor more
details.Installingpipinstallpass-collaborate
pass_collaborateinitContributingFor guidance on setting up a development environment, and how to make a
contribution topass-collaborate, seeContributing to pass-collaborate.Donations<a href="https://liberapay.com/Lyz/donate"><img alt="Donate using
Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
orIf you are using some of my open-source tools, have enjoyed them, and want to
say "thanks", this is a very strong way to do it.If your product/company depends on these tools, you can sponsor me to ensure I
keep happily maintaining them.If these tools are helping you save money, time, effort, or frustrations; or
they are helping you make money, be more productive, efficient, secure, enjoy a
bit more your work, or get your product ready faster, this is a great way to
show your appreciation. Thanks for that!And by sponsoring me, you are helping make these tools, that already help you,
sustainable and healthy.LicenseGPLv3