Saravanan666/pypi-org huggingface dataset:
Package: cs6141-final-project
CS6140-final-projectAuthors: Daniel Blum, Matthew Greene, Bram ZiltzerSummary:  A classification project using Logistic Regression, SVMs, and DNNs to predict if a flight will be delayed or not.The Docker Python EnvironmentThe project is running in a collection of docker images viadocker compose.
Thejupyter-labimage runs a Debian instance withMambaas the environment manager.Running the Poetry EnvironmentPrerequisites:DockerSomething to run Jupyter Notebook/Lab UI likeVSCodeorDataSpellcdinto the parent directory of the projectrundocker compose up -dDocker is going to do its thing for a bit and download a good amount of stuff.
Once done, you should have control over the terminal (as the-dis the detached option fordocker compose).If you rundocker ps, you should have these running services:jupyter-labAnd a new network withdocker network ls:cs6140-final-project_cs6140-networkUpdating PoetryIf you need to add libraries
TODO (dan) - FILL INUpdating the PostgreSQL ImageRunning JupyterVSCodePrerequisitesJupyter Extensionfor VSCodePython Extensionfor VSCodeWhen you open a*.ipynbfile in VSCode, you'll want to the remote kernel running in docker.In the top right corner of theipynbfile, selectSelect Kernel(if you don't see this, it might have another kernel already selected)l.A drop-down pops up in the center of VSCode, selectSelect Another Kernel.SelectExisting Jupyter Server...Enterhttp://127.0.0.1:8889SelectPython 3 (ipykernel), the kernel at/mamba/bin/pythonYou should be all set!BrowserPrerequisitesA Web BrowserOpen uphttp://localhost:8889DataSpellRunning Poetrydon't worry about this
Package: csa2sfen
将棋のCSA形式の棋譜をSFENに変換するツールです。インストールgit clone https://github.com/ryicoh/csa2sfen
pip install pipenv
pipenv install使用例ファイルから読み込みpipenv run csa2sfen ./u57z4dp0x32t.csaURLから読み込みpipenv run csa2sfen https://jisn7d4exc.execute-api.ap-northeast-1.amazonaws.com/prod/quest/games/u57z4dp0x32t.csa
Package: csa-abcLR
CLONAL SELECTION ALGORITHM AND ARTIFICIAL BEE COLONY ALGORITHM WITH LOGISTIC REGRESSION (CSA-ABC-LR)CSA-ABC-LR is a binary classification method in which the ABC algorithm is used instead of the Gradient Descent algorithm to train the weights in the Logistic Regression classification model. The purpose of the CSA-ABC algorithm in the CSA-ABC-LR method is to minimize the value of the cost function. The ABC algorithm is a very popular metaheuristic method that can search for solutions both locally and globally in the solution space. In addition, it has been shown in the study that the CSA-ABC-LR classification method achieves superior classification success compared to the LR classification method.Although the ABC-LR classification method can handle complex and high-dimensional data, its runtime can be high. Therefore, CPU and GPU parallelized versions of the ABC-LR classification method are presented here, and significant improvements in runtime can be achieved.ABC-LR is written in Python3 and continuously tested with Python 3.7 and 3.10.InstallationInstall ABC-LR via PyPI:pip install csa_abc_lrOr alternatively, clone the environment:git clone https://github.com/kagandedeturk/CSA-ABC-LR.gitCPU Version UsageimportnumpyasnpparallelType=npfromabcLRimportABC_LR_Modelfromsklearn.datasetsimportload_breast_cancerX,y=load_breast_cancer(return_X_y=True)y=y.reshape(-1,1)lb=-16ub=16evaluationNumber=80000# FVS = trainData.shape[1]limit=50P=60MR=0.3L2=0model=ABC_LR_Model(lb=lb,ub=ub,evaluationNumber=evaluationNumber,limit=limit,P=P,MR=MR,L2=L2,parallelType=parallelType)#start_time = dt.datetime.now()model.fit(X,y)#print(f"Run time: {dt.datetime.now()-start_time}")print(f"Result:{model.score(X,y)}")GPU Version UsageimportcupyascpparallelType=cpfromabcLRimportABC_LR_Modelfromsklearn.datasetsimportload_breast_cancerX,y=load_breast_cancer(return_X_y=True)X=parallelType.array(X)y=parallelType.array(y.reshape(-1,1))lb=-16ub=16evaluationNumber=80000# FVS = trainData.shape[1]limit=50P=60MR=0.3L2=0model=ABC_LR_Model(lb=lb,ub=ub,evaluationNumber=evaluationNumber,limit=limit,P=P,MR=MR,L2=L2,parallelType=parallelType)#start_time = dt.datetime.now()model.fit(X,y)#print(f"Run time: {dt.datetime.now()-start_time}")print(f"Result:{model.score(X,y)}")LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the 3-clause BSD license (please see the LICENSE file).This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.You should have received a copy of the 3-clause BSD license
along with this program (see LICENSE file).
If not, seehere.Copyright (c) 2022, Bilge Kagan Dedeturk (kagandedeturk@gmail.com)
Package: csaf
CSAFCommon Security Advisory Framework (CSAF) Verification, Validation, and Application Programming Interface (API).In this project the attempt is made, to provide API and tools to support the CSAF communities from a single repository in the easy to prototype python language.If, and when this endeavor succeeds, other languages can easily derive form the approach (as long as these offer similar capabilties to keep the effort in check).Note: CSAF predecessor CVRF versions 1.1 and 1.2 are out of scope.DocumentationUser and developerdocumentation of csaf.Bug TrackerAny feature requests or bug reports shall go to thetodos of csaf.Primary Source repositoryThe main source ofcsafis on a mountain in central Switzerland.
We use distributed version control (git).
There is no central hub.
Every clone can become a new source for the benefit of all.
The preferred public clones ofcsafare:on codeberg- a democratic community-driven, non-profit software development platform operated by Codeberg e.V.at sourcehut- a collection of tools useful for software development.ContributionsPlease do not submit "pull requests" (I found no way to disable that "feature" on GitHub).
If you like to share small changes under the repositories license please kindly do so by sending a patchset.
You can either send such a patchset per email usinggit send-emailor
if you are a sourcehut user by selecting "Prepare a patchset" on the summary page of your fork atsourcehut.SupportPlease kindly submit issues athttps://todo.sr.ht/~sthagen/csafor write plain text email to ~sthagen/csaf@lists.sr.htto submit patches and request support. Thanks.ContributorsIn alphabetical order:Anthony HarrisonJacco LigthartStatusExperimentalNote: The default branch isdefault.
Package: csaf-lint
CSAF LintExperimental CSAF envelope and body profile validator.License: MITIn short: The current version of thecsaf-lintvalidates documents in various
Common Security Advisory Framework (CSAF) formats against built-in
or user custom schema files.The supported  versions are:CSAF 2.0 (default is now the 2021.03.23 editor version)CSAF 1.2 (aka CVRF 1.2)CSAF 1.1 (aka CVRF 1.1)Caveat EmptorExpect changes to the CSAF v2.0 support because the underlying OASIS specification
is undergoing development by the members of the OASIS technical committee.
This may lead to breaking changes until the standard is published on
committee specification level.
The current supported draft JSON Schema versions are from 2021-03-23, 2021-03-19, and 2021-03-07.The previous versions namely CVRF 1.1 and 1.2 were in XML format.The current version CSAF 2.0-candidates are in JSON Schema format.Available onPyPI as csaf-lintInstallingRecommended installation of current experimental package:❯ python -m pipx install csaf-lintStatusExperimental.Note: The default branch isdefault.
Package: csaf-validator
CSAF ValidatorA Python-based program used to validate a Common Security Advisory Framework (CSAF) JSON file against the CSAF 2.0 schema.RequirementsPython 3jsonschemalibrarypip install -r requirements.txtUsage:usage: csaf_validator.py [-h] json_file

Validates a CSAF JSON file against the CSAF 2.0 Schema

positional arguments:
  json_file   JSON file to be validated

optional arguments:
  -h, --help  show this help message and exitExample:$ python3 csaf_validator2.py cisco-sa-iox-8whGn5dL.json
cisco.json is valid against the CSAF 2.0 Schema.How the Script WorksThe script performs the following steps:Downloads the CSAF 2.0 JSON Schema from the URLhttps://docs.oasis-open.org/csaf/csaf/v2.0/os/schemas/csaf_json_schema.jsonand saves it to a local file named csaf_json_schema.json.Loads the CSAF 2.0 JSON Schema from the local file.Loads the JSON file to be validated.Validates the JSON file against the CSAF 2.0 JSON Schema using the jsonschema library.If the validation is successful, the script prints a message indicating that the JSON file is valid against the CSAF 2.0 Schema. If the validation fails, the script prints an error message indicating that the JSON file is invalid against the CSAF 2.0 Schema, along with the validation error.Additional InformationThejsonschemalibrary is used to perform the JSON schema validation. JSON schema is a standard for describing the structure of JSON data, and the jsonschema library provides an implementation of this standard for Python.The script uses theargparselibrary to allow the JSON file to be passed as a command-line argument. This makes it easy to use the script in a variety of contexts, such as from the command line, from within another script, or from a scheduling tool. The argparse library also provides automatic documentation of the command-line arguments, making the script easier to use for others who may not be familiar with it.
Package: cs.aktak
IntroductionThis product provides a very simple view for foldertype objects to show files organized in folders.
In this way, minutes of Board of Directors and so can be shown easilyChangelog1.2 (2011/12/07)Simplify the template [erral]Create correct view for template instead of using an independent one [erral]Add new view to mimic the use of the previous version’s view [erral]Add plone_display_view menu item and translations [erral]1.1 (unreleased)1.0 (unreleased)Initial release
Package: csankey
Python C Extention Easy Core functionsOverviewThere is an exciting application that uses d3.js sankey-circular.js.
However, the way to create json data is very complicated.GoalThe goal is to automatically generate a sankey diagram from a csv or spreadsheet.and also to create a sankey diagram by copying a spreadsheet table to the clipboard and running this program.ImplementationIt uses a library created in C++ and imported as a library from python.
The reason for this is that file and string manipulation is much easier in python.Install$ pip install csankeyUnInstall$ pip uninstall csankeyRequirementpython3.3 later.run command EnvironmentWindowsLinuxMac OSXSupported Browsers of OutputHTML fileChecked BrowserResultChrome(95.0.4638.69)OKEdge(95.0.1020.40)OKFirefox?UnknownIE?UnknownOpera?UnknownSafari?UnknownUsageTODOExampleTODOPerfomanceTODOLibraries usedhttps://d3js.org/d3.v4.min.jshttps://bl.ocks.org/tomshanley/raw/6f3fcf68c0dbc401548733dd0c64e3c3/d3-sankey-circular.jshttps://www.npmjs.com/package/@riversun/sortable-tablesortable-table.js copyright riversunhttps://github.com/kirin123kirin/csv-parser/parser.hppcopyright kirin123kirinReferences usedhttps://github.com/tomshanley/d3-sankey-circularhttps://github.com/d3/d3-sankeycopyright Mike Bostockhttps://bl.ocks.org/tomshanley/6eb025290888935f10b142e4bc576d8d#d3-path-arrows.jshttps://bl.ocks.org/tomshanley/874923fe54b173735b456479423ac7d6#d3-sankey-circular.js(function appendArrows)
Package: cs.app.maildb
A MailDB is a subclass of the NodeDB fromcs.nodedb; I use it to manage my mail address database and groups (which are consulted bymy mailfiling systemand also used to generate mail aliases).It comes with a script named “maildb” for editing the database and performing various routine tasks such as learning all the addresses from a mail message or emitting mail alias definitions, particularly formutt.A MailDB knows about an assortment of Node types and has Node subclasses for these with convenience methods for suitable tasks; creating a Node with a the type “ADDRESS”, for example, instantiates an AddressNode.
Package: cs.app.mklinks
mklinks: tool for finding and hardlinking identical filesLatest release 20221228:Modernise command, pass a RunState to the merge methods.merge: check runstate more frequently, tweak progress bar.assimilate: plumb runstate.Mklinks walks supplied paths looking for files with the same content,
based on a cryptographic checksum of their content. It hardlinks
all such files found, keeping the newest version.Unlike some rather naive tools out there, mklinks only compares
files with other files of the same size, and is hardlink aware - a
partially hardlinked tree is processed efficiently and correctly.ClassFileInfoInformation about a particular inode.MethodFileInfo.__init__(self, dev, ino, size, mtime, paths=()):
pylint: disable=too-many-argumentsClassLinkerThe class which links files with identical content.Functionmain(argv=None)Main command line programme.ClassMKLinksCmd(cs.cmdutils.BaseCommand)Main programme command line class.Command line usage:Usage: mklinkscmd paths...
          Hard link files with identical contents.
          -n    No action. Report proposed actions.Release LogRelease 20221228:Modernise command, pass a RunState to the merge methods.merge: check runstate more frequently, tweak progress bar.assimilate: plumb runstate.Release 20210404:FileInfo.checksum: bump read size to 1MiB.Requirements bump to match cs.cmdutils change.Release 20210401:
Major bugfix: subdirectory file paths were computed incorrectly.Release 20210306:
Use cs.cmdutils.BaseCommand for main programme, add better progress reporting.Release 20171228:
Initial PyPI release of cs.app.mklinks.
Package: cs.app.osx.defaults
Access the MacOS degfaults via thedefaultscommand.Latest release 20240201:
Initial PyPI release.ClassDefaultsA view of the defaults.Functiondefaults(argv, *, host=None, doit=True, **subp)Run thedefaultscommand with the argumentsargv.
If the optionalhostparameter is supplied,
a value of'.'uses the-currentHostoption
and other values are used with the-hostoption.
Return theCompletedProcessresult orNoneifdoitis false.ClassDomainDefaultsA view of the defaults for a particular domain.Release LogRelease 20240201:
Initial PyPI release.
Package: cs.app.osx.plist
Some simple MacOS plist facilities.
Supports binary plist files, which the stdlibplistlibmodule does not.Latest release 20221228:
ingest_plist_dict: bugfix initial setting for key.Functionexport_xml_to_plist(E, fp=None, fmt='binary1')Export the content of anetree.Elementto a plist file.Parameters:E: the sourceetree.Element.fp: the output file or filename (if a str).fmt: the output format, default"binary1".
The format must be a valid value for the-convertoption of plutil(1).Functionimport_as_etree(plist)Load an Apple plist and return an etree.Element.Paramaters:plist: the source plist: data ifbytes, filename ifstr,
otherwise a file object open for binary read.Functioningest_plist(plist, recurse=False, resolve=False)Ingest an Apple plist and return as aPListDict.
Trivial wrapper forimport_as_etreeandingest_plist_etree.Parameters:recurse: unpack anybytesobjects as plistsresolve: resolve unpackedbytesplists''$objects'entriesFunctioningest_plist_array(pa)Ingest a plist , returning a Python list.Functioningest_plist_dict(pd)Ingest a plist  Element, returning a PListDict.Functioningest_plist_elem(e)Ingest a plistElement, converting various types to native Python objects.
Unhandled types remain as the originalElement.Functioningest_plist_etree(plist_etree)Recursively a plist'sElementTreeinto a native Python structure.
This returns aPListDict, a mapping of the plists's top dict
with attribute access to key values.Functionis_iphone()Test if we're on an iPhone.ClassObjectClassDefinitionA representation of a "class" object, used inresolve_object()for otherwise unrecognised objects which contain a$classnamemember.ClassObjectClassInstanceA representation of a "class instance", used inresolve_object()for objects with a$classmember.ClassPListDict(builtins.dict)A mapping for a plist, subclassingdict, which also allows
access to the elements by attribute if that does not conflict
with adictmethod.FunctionreadPlist(path, binary=False)An old routine I made to use inside my jailbroken iPhone.Functionresolve_object(objs, i)Resolve an object definition from structures like an iPhoto album
queryData object list.FunctionwritePlist(rootObj, path, binary=False)An old routine I made to use inside my jailbroken iPhone.Release LogRelease 20221228:
ingest_plist_dict: bugfix initial setting for key.Release 20220606:
Initial PyPI release.
Package: cs.app.portfwd
Manage persistent ssh tunnels and port forwards.Latest release 20221228:
get_ssh_options: be quiet.Portfwd runs a collection of ssh tunnel commands persistently,
each in its owncs.app.svcd <https://pypi.org/project/cs.app.svcd>_ instance
with all the visibility and process control that SvcD brings.It reads tunnel preconditions from special comments within the ssh config file.
It uses the configuration options from the config file
as the SvcD signature function
thus restarting particular ssh tunnels when their specific configuration changes.
It has an "automatic" mode (the -A option)
which monitors the desired list of tunnels
from statuses expressed viacs.app.flag <https://pypi.org/project/cs.app.flag>_
which allows live addition or removal of tunnels as needed.FunctionCondition(portfwd, op, invert, *args)Factory to construct a condition from a specification.ClassFlagCondition(_PortfwdCondition)A flag based condition.Functionmain(argv=None, environ=None)Command line main programme.ClassPingCondition(_PortfwdCondition)A ping based condition.ClassPortfwd(cs.app.flag.FlaggedMixin)An ssh tunnel built on a SvcD.MethodPortfwd.__init__(self, target, ssh_config=None, conditions=(), test_shcmd=None, trace=False, verbose=False, flags=None):
Initialise the Portfwd.Parameters:target: the tunnel name, and also the name of the ssh configuration usedssh_config: ssh configuration file if not the defaultconditions: an iterable ofConditions
which must hold before the tunnel is set up;
the tunnel also aborts if these cease to holdtest_shcmd: a shell command which must succeed
before the tunnel is set up;
the tunnel also aborts if this command subsequently failstrace: issue tracing messages; defaultFalseverbose: be verbose; defaultFalseflags: optional preexistingFlagsinstanceClassPortfwdsA collection ofPortfwdinstances and associated control methods.MethodPortfwds.__init__(self, ssh_config=None, environ=None, target_list=None, auto_mode=None, trace=False, verbose=False, flags=None):
Initialise thePortfwdsinstance.Parameters:ssh_config: the ssh configuration file if not the defaultenviron: the environment mapping to use;
default:os.environtarget_list: an iterable ofPortfwdtarget namesauto_mode: also derive target names
from the set of truePORTFWD_name_AUTOflagstrace: trace mode, defaultFalseverbose: verbose mode, defaultFalseflags: thecs.app.flags.Flagsinstance to use,
default is to construct a new oneRelease LogRelease 20221228:
get_ssh_options: be quiet.Release 20210316:Portfwds: accept any iterable for target_list.Portability fix.Release 20190602:Support alert groups.ssh_argv no longer a property in order to supportbareparam.New methodssh_optionsto wrap ssh_argv.Drop sig_func, use ssh_options instead.Remove local UNIX domain socket forward endpoints before starting ssh tunnel.Improve option parse.Release 20170906:
Initial PyPI release.
Package: csapptools
CSAPP ToolsSynopsisThis package contains the dependencies used by projectCSAPP.DescriptionThis package contains web scraping tools used by projectCSAPPto get data fromlibraries.ioandpypi.org.API KeyGetting data fromlibraries.iorequires an API key that should be stored in a hidden directory named "librariesio" within your home folder:Windows -C:\Users\<user>\.librariesio\api_key.txtLinux -/home/<user>/.librariesio/api_key.txtMacOS -/Users/<user>/.librariesio/api_key.txt
Package: cs.argitalpena
Publications in PloneThis product adds a new content-type to add publications to your site. A publication is a folderish object
that has a file field to save the main publication and an image, usually to save the first page.It also has the way to add additional files (in a folderish sense of the word, you can add them to the main
object), and they will be shown next to the main file.Also, main file is shown using Google DocViewer, a simple iframe to show the contents of a file. Caution!
Google Doc Viewer only works with files available on the Internet, so if your site is running in a Intranet
environment it won’t work and you will have to override its main view.This product is also compatible withcollective.documentviewerso if you are using this
product you can use the viewer provided by it.It also offers a view for Folderish items, to show the Publications inside it in a tabular wayTO-DOCreate the image automaticallyChangelog2.3.3 (2015-05-27)del [Mikel Larreategi <mlarreategi@codesyntax.com>]add missing import [Mikel Larreategi <mlarreategi@codesyntax.com>]2.3.2 (2015-05-26)fix manifest [Mikel Larreategi <mlarreategi@codesyntax.com>]remove unneeded [Mikel Larreategi <mlarreategi@codesyntax.com>]2.3.1 (2015-05-26)docs [Mikel Larreategi <mlarreategi@codesyntax.com>]2.3 (2015-05-26)mark file field as indexable and provide an index method [Mikel Larreategi <mlarreategi@codesyntax.com>]batch size [Lur Ibargutxi <libargutxi@codesyntax.com>]size [Lur Ibargutxi <libargutxi@codesyntax.com>]remove egg-info directory [Mikel Larreategi <mlarreategi@codesyntax.com>]Updating version on trunk after tagging [Mikel Larreategi <mlarreategi@codesyntax.com>]2.2 (2014-04-04)Implement IFileContent
[erral]2.1 (2013/05/23)Plone 4.3 compatibility [erral]PEP8 [erral]2.0 (2011/12/07)Plone 4 compatibility [erral]1.0 (unreleased)Previous versions for Plone < 4Created recipe with ZopeSkel [Lur Ibargutxi].
Package: cs.at.gipuzkoairekia
IntroductionThis products adds the ability to mirror the contents ofGipuzkoaIrekiaportal
in a Plone site.You need to get your organization id and the group id from that portal to configure
it properly.Changelog1.0.4 (2022-02-15)change title field [Mikel Larreategi <mlarreategi@codesyntax.com>][Mikel Larreategi <mlarreategi@codesyntax.com>][ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]1.0.3 (2021-12-13)run black [Mikel Larreategi <mlarreategi@codesyntax.com>]adapt for new xml tags in content [Mikel Larreategi <mlarreategi@codesyntax.com>][Mikel Larreategi <mlarreategi@codesyntax.com>][ci skip] [Mikel Larreategi <mlarreategi@codesyntax.com>]1.0.2 (2021-02-23)Update changelog [Mikel Larreategi <mlarreategi@codesyntax.com>]fix when the category services returns an errors [Mikel Larreategi <mlarreategi@codesyntax.com>]1.0 (2018-02-16)Initial release
[erral]