Saravanan666/pypi-org huggingface dataset:
Package: cybergenetics
CybergeneticsCybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures.Cybergenetics supportsOpenAI Gym API.pyconfiguration fileInstallationpipinstallcybergeneticsQuick StartWrite your own configuration fileconfig.pyunder working directory.importcybergeneticsfromconfigimportconfigsenv=crn.make('CRN-v0',configs)env.seed(42)env.action_space.seed(42)observation=env.reset()whileTrue:action=env.action_space.sample()observation,reward,terminated,info=env.step(action)ifterminated:breakenv.close()TutorialGuide to CybergeneticsContributingLicenseCybergenetics has an BSD-3-Clause license, as found in theLICENSEfile.
Package: cybergis-compute-client
CyberGIS-Compute Python SDKCyberGIS-Computeis a scalable middleware framework for enabling high-performance and data-intensive geospatial research and education on CyberGISX. This API can be used to sendsupported jobsto varioussupported HPC & computing resources.InstallationRequirementsPython3 + pip3Jupyter server (Hub/Lab) with fixed domainSystem environment variables:JUPYTERHUB_API_TOKEN: user access token, comes with JupyterHub/Lab.JUPYTER_INSTANCE_URL: server urlFrom Pip:pipinstallcybergis-compute-clientFrom Github:gitclonehttps://github.com/cybergis/cybergis-compute-python-sdk.gitcdcybergis-compute-python-sdk
python3setup.pyinstallHello World ExampleIn this example, you will be using the SDK'sPilot UIto run thehello world GitHub projecton theKeeling Computing Cluster.Run thePilot UIfromcybergis_compute_clientimportCyberGISComputecybergis=CyberGISCompute(url="xxx")# replace xxx with CyberGIS-Compute server urlcybergis.show_ui()# run Pilot UISelecthello worldfrom📦 Job TemplateSelectkeeling_communityfrom🖥 Computing ResourceConfigure the following, or leave it as defaultSlurm Computing ConfigurationsInput ParametersReceive EmailSelect a file to upload underUpload DataClick Submit❓ If you wonder where the customized configuration options comes from, they are defined in themanifest.jsonfile of each project. Please refer tohttps://github.com/cybergis/cybergis-compute-hello-world/blob/main/manifest.jsonSDK Usagecybergis=CyberGISCompute(url="xxx")Query and resume jobs that you own.# CyberGISCompute.list_job -> return a list of jobs that you submittedcybergis.list_job()# CyberGISCompute.get_job_by_id -> return a Job object referred by that idcybergis.get_job_by_id(id)Query CyberGIS-Compute server support information# CyberGISCompute.list_hpc -> prints a list of hpc resources that the server supportscybergis.list_hpc()# CyberGISCompute.list_git -> prints a list of Git projects that the server supportscybergis.list_git()Use Pilot UI# Renders a IPython Widget UI in Jupyter (async)# CyberGISCompute.create_job_by_ui -> return Nonecybergis.show_ui()# Get the job submitted by the UI (after you press the submit button)# CyberGISCompute.get_latest_created_job -> return Job objectcybergis.get_latest_created_job()Submit job using programming style (in progress)# the Job object is an interface for a job# CyberGISCompute.create_job -> return Job object & print the job's informationjob=cybergis.create_job(hpc="some HPC")# Job.submit -> print the job's informationjob.submit()Related Documentation and ProjectsCyberGIS-Compute Python SDK webpageUsing CyberGIS-ComputeHello World NotebookModel GalleryContributing ModelsCyberGIS Compute Core - the serverCyberGIS Compute Example Hello World Project
Package: cyberlang
cyberlang - batteries included python bindings for cyberInstallationpip install cyberlangUsageSimply create a CyberVM instance and evaluate a string:fromcyberimportCyberVMvm=CyberVM()vm.eval("print 'hello world!'")Want to capture printed output? Override theprintfunction from Cyber'scoremodule with a binding.The decorator generates all the required wrappers and interfaces, and registers everything with Cyber's VM.fromcyberimportCyberVMvm=CyberVM()@vm.function('core.print')def_print(string:str):print(string)vm.eval("print 'hello world!'")Alternate techniques for creating callback functions:# if no module, assume core# same result as previous example# this creates function "print2" in the "core" module@cyber.function('print2')def_print2(string:str):print(string)# if no module, assume core# if no function name, use existing function name# this creates function "test" in the "core" module@cyber.functiondeftest():print('core.test')Or define multiple functions at once using this class-based syntax# "core" already exists, so add a() and b() to itclassCore(cyber.module('core')):defa(self):print('core.test')defb(self):print('core.test2')# create "new_module" and add c() and d() to it@cyber.module('new_module')classModule:defc(self):print('new_module.test')defd(self):print('new_module.test2')# create module, implicitly named "NewModule" and add e() and f() to it@cyber.moduleclassNewModule:defe(self):print('NewModule.test')deff(self):print('NewModule.test2')Supportersfubar- creator of the Cyber language
Package: cyberlib
CyberlibA cool cyber-security python library.InstallationFrom PyPI Repository -pip install cyberlibEncryptTo encrypt a file using the CLI -cy encrypt [--input I] [--output O] [--passcode P]The input is required for encryption. If a passcode is not provided, it will generate a 32 character passcode for you.DecryptTo decrypt a file using the CLI -cy decrypt [--input I] [--output O] [--passcode P]The input is required for decryption. The passcode is required for decryption. If a wrong passcode is provided, the file is locked forever with a random key.YOLOYou can create a YOLO box (executable file) from any normal file. The yolo executables are designed to accept a passcode and decrypt the data. If the passcode is correct, it will decrypt and present the actual data. However, if the passcode is wrong, it will lock the data with a random key. To create a yolo executable using the CLI -cy yolo [--input I] [--passcode P]The input is required. A 32 character passcode is generated if no passcode is provided.DocumentationYou can find the entire documentation for the latest version of the project athttps://cyberlib.readthedocs.io/en/latest/.
Package: cybernetickit
Cybernetic KitThe Cybernetic Kit is a set of conventions and techniques useful for making software-driven social impact. This repository holds a collection of software components for multiple fields of study, such as:Open Data & Civic EngagementEnvironmental ScienceLibrary ScienceSoftware DevelopmentSociologyNeuroscienceMeet the CastData ObjectsData Objects are Python classes designed to make it easier to interact with data. Using Data Objects to describe something of interest tells computers how to manipulate, archive, inspect, and exchange data.Built-In Data Objectscivic dataresearch preprints and archivesair quality sensor readingsgeopolitical shapes (e.g., county, state)How to use built-in Data ObjectsHere's an example of how you'd go about storing air quality sensor readings in Elasticsearch.fromdatetimeimportdatetimefromelasticsearch_dslimportconnectionsfromcybernetickit.sensorimportAirQualityfromcybernetickitimportconstantsconnections.create_connection(hosts=['localhost'],timeout=20)observation=AirQuality(date=datetime.now(),state='ga',pollutant=constants.OZONE._asdict(),units=constants.OZONE.units,concentration=2.3)observation.save()You can use the Elasticsearch DSL to search and aggregations against an existing Elasticsearch index:fromelasticsearch_dslimportQs=AirQuality.search(Q('match',state='ny')&Q('match',**{'pollutant.parameter':'OZONE'}))response=s.execute()forobsinresponse:...Custom Data ObjectsSimply subclass theCoreModeland describe something of interest. Use annotations for runtime validation:fromtypingfromList,OptionalfromcybernetickitfromCoreModel,KeywordclassUseOfForce(CoreModel):force_applied:str=Keyword()deadly_force:Optional[str]=Keyword()source_ref:str=Keyword()target_ref:str=Keyword()Getting StartedpipinstallcybernetickitfromcybernetickitimportCoreModelLicensingCybernetic Kit
Copyright (C) 2021  Civic Hacker, LLC

This program is free software: you can redistribute it and/or modify
it under the terms of the Lesser GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

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.  See the
Lesser GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Package: cybernews
cybernewsPython package and API that provides latest Cyber Security updates from various sources under one roof and use Web-Scraping under the hood.Features :-News Headlines

News Author

Full News

News Article URL

News Image

News DateDeveloped by GhoulBond (c) 2023SetupFor Window UserspipinstallcybernewsFor Linux/Mac Userspip3installcybernewsUsefromcybernews.cybernewsimportCyberNewsnews=CyberNews()# Instance is created|S.No.|Operation|Functions||-----------|--------------------|-------------------------------|| 1         | General News       | news.get_news("general")      || 2         | Data Breach News   | news.get_news("dataBreach")   || 3         | Cyber Attack News  | news.get_news("cyberAttack")  || 4         | Vulnerability News | news.get_news("vulenrability")|| 5         | Malware News       | news.get_news("malware")      || 6         | Security News      | news.get_news("security")     || 7         | Cloud News         | news.get_news("cloud")        || 8         | Tech News          | news.get_news("tech")         || 9         | IOT News           | news.get_news("iot")          || 10        | Big Data News      | news.get_news("bigData")      || 11        | Business News      | news.get_news("business")     || 12        | Mobility News      | news.get_news("mobility")     || 13        | Research News      | news.get_news("research")     || 14        | Corporate News     | news.get_news("corporate")    || 15        | Social Media News  | news.get_news("socialMedia")  |
Package: cybernum
cyber-number-notationFor those who use computersTwo prior knowledge📖dictionary-ordinal-number-notation📖beads-nested-number-notationInstallpipinstalldicordnum
pipinstallbeadsnumExplanationAddition of the last two rulesEnds with 1O0      # Bad
O0o1    # Ok

O1      # Ok
O2      # Bad
O2o1    # Oko1 cannot be placed after 1O1o1          # Bad
O1o1o1        # Of course it's bad
O1o2o1        # OK
O1o11o1       # Of course it's OK

O1o2o1o2o1    # OK
O1o1o1o2o1    # Of course it's badLet's give an exampleO0o1
O1
O1o2o1
O2o1
O2o2o1
O3o1
O4o1
O4o2o1
O5o1
O5o2o1
O6o1
O7o1
O8o1
O9o1
OA10o1
OA11o1
OA12o1
OA13o1
OA50o1
OA97o1
OA98o1
OA99o1
OAA100o1
OAA100o2o1
OAA100o3o1
OAA100o8o1
OAA100o9o1
OAA100oA10o1Now you have mastered cyber notationTranslation methodAdd 1.1 to i.Add 1.1.1 to i.j.Add 1.1.1.1 to i.j.k.Example:# Real world
1.1 Fruits
1.1.1 Apple
1.2.1 Banana
1.11.1 Kiwi
1.2.1.2.1　Super banana
1.1.1.2.1 Super apple

# Cyber world
O2o2o1 Fruits
O2o2o2o1 Apple
O2o3o2o1 Banana
O2o12o2o1 Kiwi
O2o3o2o3o2o1 Super banana
O2o2o2o3o2o1 Super appleYou may be disliked because the number changes
Package: cyberpandas
CyberpandasCyberpandas provides support for storing IP and MAC address data inside a pandas DataFrame using pandas'Extension Array InterfaceIn[1]:fromcyberpandasimportIPArrayIn[2]:importpandasaspdIn[3]:df=pd.DataFrame({"address":IPArray(['192.168.1.1','192.168.1.10'])})In[4]:dfOut[4]:address0192.168.1.11192.168.1.10See thedocumentationfor more.InstallationWith Conda:conda install -c conda-forge cyberpandasOr from PyPIpip install cyberpandas
Package: cyberplant-Scrapy
OverviewScrapy is a fast high-level web crawling and web scraping framework, used to
crawl websites and extract structured data from their pages. It can be used for
a wide range of purposes, from data mining to monitoring and automated testing.For more information including a list of features check the Scrapy homepage at:http://scrapy.orgRequirementsPython 2.7 or Python 3.3+Works on Linux, Windows, Mac OSX, BSDInstallThe quick way:pip install scrapyFor more details see the install section in the documentation:http://doc.scrapy.org/en/latest/intro/install.htmlReleasesYou can download the latest stable and development releases from:http://scrapy.org/download/DocumentationDocumentation is available online athttp://doc.scrapy.org/and in thedocsdirectory.Community (blog, twitter, mail list, IRC)Seehttp://scrapy.org/community/ContributingPlease note that this project is released with a Contributor Code of Conduct
(seehttps://github.com/scrapy/scrapy/blob/master/CODE_OF_CONDUCT.md).By participating in this project you agree to abide by its terms.
Please report unacceptable behavior toopensource@scrapinghub.com.Seehttp://doc.scrapy.org/en/master/contributing.htmlCompanies using ScrapySeehttp://scrapy.org/companies/Commercial SupportSeehttp://scrapy.org/support/
Package: cyberpot
CyberPot is a TCP honeypot written in python 3.Source Codehttps://github.com/najmieadnan/CyberPotDocumentationDocumentation can be found in the ‘docs/’ directory, or athttps://cyberpot.rtfd.ioBuild the docs by running ‘make’ in the ‘docs/’ directory, then viewing at ‘docs/_build/html/index.html’.
Package: cyberpunk
CyberpunkAudio Processing ServerQuick Startdockerrun-p8080:8080-ePORT=8080ghcr.io/jonaylor89/cyberpunk:mainOriginal audio:https://raw.githubusercontent.com/jonaylor89/cyberpunk/main/testdata/celtic_pt2.mp3Try out the following audio URLs:http://localhost:8080/unsafe/https://raw.githubusercontent.com/jonaylor89/cyberpunk/main/testdata/celtic_pt2.mp3
http://localhost:8080/unsafe/https://raw.githubusercontent.com/jonaylor89/cyberpunk/main/testdata/celtic_pt2.mp3?reverse=true
http://localhost:8080/unsafe/https://raw.githubusercontent.com/jonaylor89/cyberpunk/main/testdata/celtic_pt2.mp3?slice=0:10000
http://localhost:8080/unsafe/https://raw.githubusercontent.com/jonaylor89/cyberpunk/main/testdata/celtic_pt2.mp3?reverse=true&repeat=1&slice=1000:5000Cyberpunk EndpointCyberpunk endpoint is a series of URL parts which defines the audio operations, followed by the audio URI:/HASH|unsafe/AUDIO?slice&concat&fade_in&fade_out&repeat&reverse&filters=NAME(ARGS)HASHis the URL Signature hash, orunsafeif unsafe mode is usedsliceconcatfade_infade_outrepeatreverseAUDIOis the audio URICyberpunk provides utilities for previewing and generating Cyberpunk endpoint URI, including thecyberpunk_pathfunction and the/paramsendpoint:GET /paramsPrepending/paramsto the existing endpoint returns the endpoint attributes in JSON form, useful for preview:curl"http://localhost:8000/unsafe/celtic_p2.mp3?reverse=true&repeat=1&slice=1000:5000"{"audio":"celtic_pt2.mp3","hash":"unsafe","reverse":true,"repeat":1,"slice":{"start":1000,"end":5000,}}FeaturesAudio StreamingChange encodings (e.g. mp3 -> wav)Audio slicingChange VolumeConcat AudioRepeat AudioReverse AudioCrossfadeFade in/outAudio QualityAudio TaggingAudio ThumbnailsMastering MusicSound/Vocal IsolationCool ML StuffFile CachingStorage OptionsLocalCloud (e.g. S3)Blockchain (Audius)EnvironmentTo see a complete list of configurable environment variables, check out.envDocker Compose ExampleCyberpunk with file system, using mounted volume:version:"3"services:cyberpunk:image:jonaylor/cyberpunk:mainvolumes:-./:/mnt/dataenvironment:PORT:8080AUDIO_PATH:"local"FILE_STORAGE_BASE_DIR:/mnt/data/testdata/# enable file storage by specifying base dirports:-"8080:8080"Cyberpunk with AWS S3:version:"3"services:cyberpunk:image:jonaylor/cyberpunk:mainenvironment:PORT:8080CYBERPUNK_SECRET:mysecret# secret key for URL signatureAWS_ACCESS_KEY_ID:...AWS_SECRET_ACCESS_KEY:...AWS_REGION:...AUDIO_PATH:"s3"S3_LOADER_BUCKET:mybucket# enable S3 loader by specifying bucketS3_LOADER_BASE_DIR:audio# optionalS3_STORAGE_BUCKET:mybucket# enable S3 storage by specifying bucketS3_STORAGE_BASE_DIR:audio# optionalS3_RESULT_STORAGE_BUCKET:mybucket# enable S3 result storage by specifying bucketS3_RESULT_STORAGE_BASE_DIR:audio/result# optionalports:-"8080:8080"
Package: cyberpunk-theme
Cyberpunk theme made with TkStyleCyberpunk-ThemeA Dark Theme for your Tkinter Python appsThis project is part of thePyrustic Open Ecosystem.Installation|Reference|TkStyleUsageThanks toTkStyle, thecyberpunk-themeis both flexible and easy to use.Set the themeimporttkinterastkfromcyberpunk_themeimportCyberpunk# rootroot=tk.Tk()# apply the Cyberpunk theme to the GUIcyberpunk_theme=Cyberpunk()cyberpunk_theme.target(root)# From now on, the theme applies to the entire GUI# (your awesome code)# ...# mainlooproot.mainloop()What if you want to customize the style of a specific widget ?Style a specific widgetEach generic widget has a default style which can be retrieved via a function namedget_{widget-name}_style_1'.Some generic widgets like theButtonwidget have multiple styles.importtkinterastkfromcyberpunk_theme.widget.buttonimportget_button_dark_style# rootroot=tk.Tk()# buttonbutton=tk.Button(root,text="Click")button.pack()# stylebutton_style_1=get_button_dark_style()button_style_1.target(button)# mainlooproot.mainloop()The genericButtonwidget has up to ten styles.The packagemegawidgetcontains a collection of useful custom widgets built with the standard tkinter widgets.You can set specific styles tomegawidgetstoo !Style a specific megawidgetimporttkinterastkfrommegawidget.tableimportTablefromcyberpunk_theme.megawidget.tableimportget_table_style_1# rootroot=tk.Tk()# the table megawidgettitles=("Name","Age")data=[("Jack",39),("Jane",42)]table=Table(root,titles=titles,data=data)table.pack()# style the tabletable_style_1=get_table_style_1()table_style_1.target(table)# mainlooproot.mainloop()Create your own themeYou can create your own theme or style, or modify thecyberpunk-themeas you wish.Check outTkStyle!Installation$pipinstallcyberpunk-theme
Package: cyber-radar
RADARRed-team Analysis, Documentation, and Automation RevolutionFeaturesModular plugin supportIntegrates with your existing workflowRequired System ComponentsPython 3.6 or laterpackages in requirements.txtFollowing system packagesyaraA MongoDB server connected to the RADAR Control ServerWanted System ComponentsThe following software components are not required, but are needed for full functionality (e.g. playbooks and commanders)nmapsamba-common (for rpcclient)Self-signed certificate helpI usedthis guideto make my self-signed certificates for testing.
If you're using an IP address instead of a domain name, change the V3 ext file
as shown inthis guideData Format SpecificationsTarget informationA valid target is json that has the following structure (see actual example below).target_host: REQUIRED - This key is the IP address, domain name, or hostname of the target. This must uniquely identify the device and be usable by programs which take this data as arguments (e.g. nmap).source_command: REQUIRED - This field is an internal UUID used by RADAR. This UUID can be queried in the database to find detailed information about the command that this target was parsed from.details: This optional key contains arbitrary metadata about the host - for example what type of device it is or how strong the network connection is to the device.services: This optional key contains a list of open ports on the host and information about the services it's running.vulnerabilities: This optional key contains a list of information about potential vulnerabilities the host has. This data is typically used by playbooks.{"target_host":"scanme.nmap.org","details":{"host_type":"mailserver;webserver","latency":"0.093","scan_time":1609632285,"status":"up","value":"high"},"services":[{"port":"22","protocol":"tcp","service":"ssh","state":"open"},{"port":"80","protocol":"tcp","service":"http","state":"open"},{"port":"9929","protocol":"tcp","service":"nping-echo","state":"open"},{"port":"31337","protocol":"tcp","service":"Elite","state":"open"}],"source_command":"ed73d874-7ad9-4343-a2e4-d9f17ddea966"}
Package: cyberspace
CyberSpaceWikipediaInfoBoxfromcyberspaceimportWikipediaw=Wikipedia(rate_limit_wait_seconds=0.1)result=w.search('steve wozniak')[0]print(result)output{"title_1":"Steve Wozniak","unknown_row_1":{"texts":["Wozniak in 2018"],"links":[{"url":"/wiki/File:Steve_Wozniak,_November_2018.jpg"}]},"Born":{"texts":["Stephen Gary Wozniak[1](p18) (1950-08-11) August 11, 1950 (age 68)San Jose, California, U.S."],"links":[{"url":"#cite_note-iWoz-1","text":"[1]"},{"title":"San Jose, California","url":"/wiki/San_Jose,_California","text":"San Jose"},{"title":"California","url":"/wiki/California","text":"California"}]},...
Package: cyberspartan
TCP/IP Port ScannerCyberSpartan is a Python-based TCP/IP port scanner designed for network security assessments. It provides a user-friendly interface and powerful scanning capabilities.FeaturesFast and efficient TCP/IP port scanning.Support for custom port ranges.Integration with Nmap services for enhanced scanning.InstallationYou can install CyberSpartan using pip:pipinstallcyberspartanUsageTo run CyberSpartan, use the following command:cyberspartanFor more details and options, refer to the documentation on GitHub:https://github.org/dannyx-hub/SpartanLicenseCyberSpartan is licensed under the GPL-3.0 license.AuthorName: dannyx-hubEmail:daro322.dp@gmail.comContributingWe welcome contributions! Please fork the repository and submit pull requests.Bug ReportsIf you encounter any issues or bugs, please report them on GitHub:https://github.org/dannyx-hub/Spartan/issues
Package: cybertensor
CYBERTENSORStep-by-step guideYuma ConsensusDeployed contractGame of Tensors subnet ideas:Subnet for ambassadorsSubnet for knowledge domainsSubnet for network infrastructure operatorsSubnet for relayers infrastructure operatorsSubnet for IPFS nodes operatorsYour idea hereWhen? SoonInstallWith pip:pip3 install cybertensorFrom source:gitclonehttps://github.com/cybercongress/cybertensor.git
python3-mpipinstall-ecybertensor/To test your installation, type:ctcli--helpor using pythonimportcybertensorSpace Pussy setupClone:gitclonehttps://github.com/cybercongress/cybertensor.gitcdcybertensor[Optional] Create and activate a virtual environment:python3-mvenvvenv
.venv/bin/activateInstall from the sourcepython3-mpipinstall-e.To test your installation, type:ctcli--helpor using pythonimportcybertensorDev setupUse localbostrom:gitclonehttps://github.com/cybercongress/localbostromcdlocalbostrom
./hard_restart.shAdd mnemonics fromlocalbostrom'sREADME to local keystore:cyberkeysaddvalidator--recover--home./homeDeploy code and instantiate contract:cybertxwasmstorecybernet.wasm--fromvalidator--home./home--chain-idlocalbostrom--gas8000000--broadcast-modeblock-y--keyring-backendtestcybertxwasminstantiate1"{}"--fromvalidator--home./home--chain-idlocalbostrom--gas5000000--labelcybernet1--adminbostrom1phaxpevm5wecex2jyaqty2a4v02qj7qm5n94ug--broadcast-modeblock-y--keyring-backendtestSend tokens to contract and activate (with dmn):cybertxbanksendvalidatorbostrom14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sww4mxt1000000000000boot--home./home--chain-idlocalbostrom--gas500000--broadcast-modeblock-y--keyring-backendtestcybertxwasmexecutebostrom14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9sww4mxt'{"activate":{}}'--fromvalidator--home./home--chain-idlocalbostrom--gas5000000--broadcast-modeblock-y--keyring-backendtestAdd mnemonics from localbostrom's README to ctcli keystore:ctcliwregen_hotkey
ctcliwregen_coldkeyAdd contract and schemas to .cybertensor/contract dir:tree~/.cybertensor/contract/Users/cyberhead/.cybertensor/contract
├── cybernet.wasm
└── schema
    ├── execute.json
    ├── instantiate.json
    ├── query.json
    └── schema.jsonRegister network:ctcliscreate