Saravanan666/pypi-org huggingface dataset:
Package: cryton-worker
Cryton WorkerCryton Worker is used for executing attack modules remotely. It utilizesRabbitMQas its asynchronous remote procedures call protocol. It connects to the Rabbit MQ server and consumes messages from
the Core component or any other app that implements its RabbitMQ API.Cryton toolset is tested and targeted primarily onDebianandKali Linux. Please keep in mind thatonly
the latest version is supportedand issues regarding different OS or distributions maynotbe resolved.For more information see thedocumentation.Quick-startTo be able to execute attack scenarios, you also need to installCryton Core.Modules provided by Cryton can be foundhere.Their installation will
be covered in this section.Make sure Git, Docker, and Docker Compose plugin are installed:GitDocker ComposeOptionally, check out these Dockerpost-installation steps.The following script clones the Worker repository and runs the Docker Compose configuration which starts
the Worker (with preinstalled modules), and its prerequisites (Metasploit and Empire framework).gitclonehttps://gitlab.ics.muni.cz/cryton/cryton-worker.gitcdcryton-worker
dockercomposeup-dFor more information see thedocumentation.ContributingContributions are welcome. Pleasecontribute to theproject mirroron gitlab.com.
For more information see thecontribution page.
Package: cryx4ck
Python Text Encryption and Decryption (Base64-like)ðŸ”’Securely Encode and Decode Text in PythonThis Python project offers a versatile and user-friendly text encryption and decryption tool inspired by Base64 encoding. Whether you're securing sensitive information or looking to obfuscate data, this library provides a robust and straightforward solution.FeaturesBase64-like Encoding: Leverage a familiar encoding method with enhanced capabilities.Text Encryption: Safeguard your data with powerful encryption algorithms.Text Decryption: Easily retrieve the original content through efficient decryption.Pythonic API: Simple and intuitive functions for seamless integration into your projects.UsageInstallation:pipinstallcryx4ckExample Usage:fromcryx4ckimportencrypt,decrypt#Encrypting textencrypted_text=encrypt(b"Your sensitive information")#Decrypting textoriginal_text=decrypt(encrypted_text)Example Usage:fromcryx4ckimportCxHoriginal_text="Your sensitive information"#hashing texthashed_value=CxH.hash(original_text)Getting StartedCheck out our documentation for detailed instructions on installation, usage, and customization. Get started with securing your text data today!ContributionsContributions are welcome! If you find any issues or have ideas for improvements, feel free to contribute.LicenseThis project is licensed under the Apache License - see theLICENSEfile for details.
Package: cryze-server
Heavy WIP as of Feb 2024Cryze ServerCryze Server is a server that allows you to stream your Gwell based Wyze cams to locations of your choosing. It is the partner project to Cryze Android and falls under the Cryze project. For more information on how to setup an entire system please see theCryzeproject.CryzeCryze is a Wyze Gwell Camera Bridge that allows you to stream your Gwell based Wyze cams to locations of your choosing.What is Cryze?Cryze is an open-source project dedicated to providing you access to your own video camera data from Gwell-based Wyze cameras. I believe in giving you control over your camera footage without any restrictions.Huge shoutout tomrlt8/docker-wyze-bridgefor putting in tremendous work implementing numerous Wyze Cam features and streaming capabilities.Getting StartedPrerequisitesBefore diving into the world of Cryze, you'll need a few things:A Gwell-based Wyze camera that you want video access toA server or device to host Cryze.ContributeCryze is an open-source project, and we welcome contributions from the community. Whether you're a developer, designer, or just an enthusiastic user, there are many ways to get involved. Check out our contribution guidelines to see how you can help make Cryze even better.SupportIf you run into any issues or have questions about using Cryze, don't hesitate to reach out to our community forum. We're here to help!LicenseCryze is released under the GPLv3 License, which means it's free to use and modify as long as you keep it open source and public, see LISCENSE for more info. We encourage you to customize Cryze to suit your needs.DisclaimerPlease note that using Cryze may void your Wyze camera's warranty, and it may not be legal in some regions. Be sure to check your local laws and the terms of service for your Wyze camera before using Cryze.With that, start enjoying the freedom to access your Wyze camera data with Cryze! 🎉📷
Package: cs1
cs1Compressed Sensing library for 1D (one-dimensional) Spectroscopic Profiling Datapackagemodulesub-moduledescriptioncs1[3]cs1.csbasic functions for CS sensing, recovery, hyper-parameter grid-search, etc.cs1.basiscs1.basis.commoncommonly used non-adaptive CS transform bases[1]cs1.basis.adaptiveadaptive CS transform bases, e.g., LDA (linear discriminant analysis)-based, EBP (eigenvector-based projection)[2], VAE (variational auto-encoder)cs1.metricsCS-related metrics, e.g., mutual coherence, sparsity, MSE, KLDcs1.securitycs1.security.tvsmtime-variant sensing matrix mechanism[4]cs1.domaincs1.domain.audiocontains functions for audio and other one-dimensional signal processing. e.g., wave file I/O, lossy compression, ECG simulatorcs1.domain.imagecontains functions for image processing. e.g., image CS, lossy compressioncs1.guiprovides a web-based playground for researchers. users can try different CS bases and sampling ratiosPublications:[1] Adaptive compressed sensing of Raman spectroscopic profiling data for discriminative tasks [J]. Talanta, 2020, doi: 10.1016/j.talanta.2019.120681[2]  Task-adaptive eigenvector-based projection (EBP) transform for compressed sensing: A case study of spectroscopic profiling sensor [J]. Analytical Science Advances. Chemistry Europe, 2021, doi: 10.1002/ansa.202100018[3] Compressed Sensing library for spectroscopic profiling data [J]. Software Impacts, 2023, doi: 10.1016/j.simpa.2023.100492[4] Secured telemetry based on time-variant sensing matrix – An empirical study of spectroscopic profiling, Smart Agricultural Technology, Volume 5, 2023, doi: 10.1016/j.atech.2023.100268Installationpip install cs1A simple startupimport cs1

# Generate common non-adaptive bases and save to a local pickle file.
# The generation process can be very slow, so save it for future use.
cs1.basis.common.Generate_PSIs(n, savepath = 'PSIs_' + str(n) + '.pkl') # n is the data/signal dimensionality

# load back bases
file = open('PSIs_' + str(n) + '.pkl','rb')
PSIs = pickle.load(file)
file.close()

# sparsity analysis
cs1.metrics.analyze_sparsity(x, PSIs)# compare different bases and sampling ratio on a single sample
mses, rmses = cs1.cs.GridSearch_Sensing_n_Recovery(x, PSIs, solver = 'LASSO') # returns MSEs and relative MSEslow-level cs functionsfrom cs1.basis.common import *

dftmtx()
dctmtx()
hwtmtx()

from cs1.cs import *

sensing()
recovery()

from cs1.metrics import *

mutual_coherence()
...singal processing functions for audio / image domainsfrom cs1.domain.audio import *

simulate_ECG()
dct_lossy_signal_compression()
dft_lossy_signal_compression()

from cs1.domain.image import *

img_dct()
img_dft()
dct_lossy_image_compression()
dft_lossy_image_compression()adaptive cs basesfrom cs1.basis.adaptive import *

PSI, _ = EBP(X) # X is a m-by-n training dataset. PSI is the EBP basis
PSI, _, _ = LDA(X, y, display = True) # X and y are training dataset. PSI is the LDA basis.run as a local web serverpython -m cs1.gui.runYou can then access the web GUI at the 5006 port:
Package: cs107-team31-2023
Astronomy Research LibraryThe Astronomy Research Library is a Python library designed to facilitate astronomical research, particularly focusing on the classification of stars, galaxies, and quasars (QSOs). It interfaces with Sloan Digital Sky Survey (SDSS) services to access spectral data and related information.Modules OverviewCore FunctionalitiesThis module provides tools to query the SDSS database and APIs using ADQL (Astronomical Data Query Language).Classes & Functions:CoreFunctionalities: Constructs ADQL query strings and Handles HTTP requests and responses to/from SDSS services.MetaDataExtractor: Extracts metadata from queried objects'DataPreprocessor': Responsible for preparing raw spectral data for analysis, including normalization, outlier removal, and interpolation, and RedshiftCorrection'Wavelength Aligner' - handles spectral alignment to a common wavelength rangeget_ml_data: Extracts wavelength and flux data from SDSS for use in later modulesVisualizationOffers visualization tools for spectral data using Matplotlib, with capabilities for overlaying inferred continua.Classes & Functions:Vizualization: Provides functionalities to plot and overlay spectral features.Data AugmentationEnhances the dataset by calculating derivatives and fractional derivatives of spectral data.Classes & Functions:data_augmentation: Computes and appends derivatives to each spectral data point.Machine LearningImplements a machine learning model for classifying astronomical objects.Classes & Functions:knn_clasifier: A model that distinguishes between stars, galaxies, and QSOs.Cross MatchingEnables cross matching between SDSS and Gaia.Classes & Functions:extract_gaia_cross_match: Facilitates the selection and analysis of pure matches between SDSS and Gaia.Spectral Feature ExtractionExtracts spectral features defining emission and absorption lines as those with flux
levels exceeding 2 sigma from the continuumInteractive VisualizationClasses & Functions:viz_tool_interactive: interactive visualization toolWorkflow Status
Package: cs1-robots
# Cs1
This is a cs1 modules that used in ASTU for pip installation> For installation` pip installcs1-robots`### Sample for the robots module usage` from cs1robots import * create_world() hubo = Robot() `### This code will Result in the following small window![‘./images/sample.png’](./images/sample.png)## Enjoy Your life with python 3.x all cs1 modules.
Package: cs200
Concept-Simplifier-200A python program that scrapes information from wikipedia on a chosen topic and summarizes the content so that the info is optimized for use.InstallationWindows:pip install cs200Ubuntu:[sudo] pip3 install cs200Now use the tool provided by the application to install any missing requirements.cs200-installMost Linux distros will follow Ubuntu's way. If not, blame my incoherence when addressing linux :)UsageCommand Line Interface(CLI)Web Application(locally run) not released yet1. Basic Command Line Interface Usagecs200--concept"computer programming"--limit3--outputresults.txtFeatures Coming SoonWeb AppSpeech SynthesisCustomized usage of NLTK library for maximum utilization of summaries for concepts.If you would like a feature published, or have a better way of handling computation,
suggest a feature(s) by pull requests.Summarize Easily. Summarize Smart.
Package: cs20220112
sfeDescriptionSfe is a Python software based on finite element theory. Using object-oriented programming makes it easier for people to understand. The finite element method is a powerful numerical method. It supports the calculation of statics and dyna- mics, the division of elements is clearer, and a variety of beam theory is added. Unique analysis of aeronautical blades with nonlinear friction.Software ArchitectureThe framework is divided into six parts: nodes, cells, cell types, computational sets, solvers and graphing tools.InstallationPython installation, version 3 or later.You need numpy, scipy, matplotlib.pip install sfe.Directions for useImport the SFE package.Input existing data.The node coordinates are established using the Node class.The element is created by connecting nodes with the Element class.Select all element types in the library to establish unique element.Use the solver.Get the required data in the interaction window or in the variable manager.ApplicationsAnalysis and calculation for aero engine blade.In view of the practical problems analyzed by beam theory.Structural problems solved by finite element method.
Package: cs20-image
cImage  -  A simple image processing library for PythonInstallationIf using Thonny, go to Tools -> Manage Packages, then entercs20-image. This should install both the image module, and the Pillow module (so you can use any type of image you’d like).If you are not using Thonny, copy image.py to your site-packages directory, or just keep it in the same folder as the Python scripts that import it.UsageThis image library is not going to give you fancy high performance operations on images.  It allows you to read in an image and manipulate its pixels.  Then you can save the new image to a file, or you can display the image in a window.  Thats really about it, but its really all you want to do if you are teaching an introductory computer science course.Image Types SupportedIf you have PIL installed on your system (if you are using Thonny, this was installed along with the image module):jpeggiftiffpngetc.If you do not have PIL installed then you are stuck with GIF images only.Exampleimport image

win = image.ImageWin(480, 640, "Image Processing")
original_image = image.FileImage('lcastle.gif')

width = original_image.get_width()
height = original_image.get_height()
print(width, height)

original_image.draw(win)
my_image = original_image.copy()

for row in range(height):
    for col in range(width):
         v = my_image.get_pixel(col,row)
         v.red = 255 - v.red
         v.green = 255 - v.green
         v.blue = 255 - v.blue
         my_image.set_pixel(col,row,v)

my_image.draw(win)
print(win.get_mouse())
my_image.save('lcastle-inverted.gif')
print(my_image.to_list())
win.exit_on_click()
Package: cs272-project
CS272 ProjectNLP Final ProjectFree software: MIT licenseDocumentation:https://cs272-project.readthedocs.io.Quick StartReplication OnlyFollowing the steps below to setup training environmentmkdirwork_directorycdwork_directory# create virtual environment under work_directory, naming it to "venv"python-mvenvvenvsourcevenv/bin/activate# install the packagepipinstallcs272-project# write configuration file to a working directorycs272_project_cliwrite-config--outfile/home/tylee/PycharmProjects/nlp_workspaceDevelopmentFirst of all, please fork the project if you are interested in extending its functionalities.
After that, you may clone the repository with:gitclonegit@github.com:<user_name>/nlp_project.gitPull requests welcome!DependenciesPyTorch== 1.4.0YouTokenToMe(yttm) == 1.0.6Huggingface Transformers== 2.4.1Click >= 0.7FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2020-02-15)First release on PyPI.0.2.0 (2020-03-01)Change the fine tuning method to work with GPT2TANDAModel() which is a dual head model for AS2 and ODQA
Package: cs2cpp
CSharpToCppSimple C# to C++ translator written in PythonGet StartedInstallpip install --upgrade cs2cppUsagefromcs2cppimportCSharpToCppcscpp=CSharpToCpp()sourceCode="""using System;// This is hello world program.class Program{public static void Main(string[] args){var myFirstString = "ban";char*[] args = {"1", "2"};Console.WriteLine("Hello, world!");}}"""print(cscpp.translate(sourceCode))# translate code from C# to C++!
Package: cs2solutions
[cs2solutions]Python solution and helper package for the Control Systems II Jupyter Notebooks at ETHz.
Exercise Notebooks can be found on:https://github.com/idsc-frazzoli/CS2-2024-notebookspip InstallationThe cs2solutions package can be installed directly using '%pip install cs2solutions' in the Jupyter notebook or 'pip install cs2solutions' in the terminal.pipinstallcs2solutionsManual installation guide, such as for code contributions, can be found in theupdate guide.FeaturesContains:Utility functions for control systems, such as plotting and generic formulasSolutions for all notebooksUnit tests to check student implementations of code
Package: cs2star
cs2starA simple utility that wraps aroundcsparc2star.pyto convert particle positions from Cryosparc JOB directories into a RELION-ready directory. On top of whatcsparc2star.pyalready does, this script will traverse the Cryosparc job tree to find the relevant.csfiles, automatically symlinks (or copies) the.mrcfiles (renaming them as appropriate tomrcsand updating therlnMicrographNamecolumn to reflect the change).cs2staralso separates micrograph information in amicrographs.starfile, which is required in several relion jobs.InstallationThis package requirespyem, which is not available on pip under that name (there is a pyem on pip; that's a different package!). To install it manually [NOTE: some fixes necessary for this are not yet on the main repo, so we're installing from a fork]:pipinstallgit+https://github.com/brisvag/pyem.gitYou can then installcs2starwith pip:pipinstallcs2starUsagecs2starcryosparc_job_dir[dest_dir]A couple more options are available, check out the help page with-h.ExampleAssumingCryosparc/J23is a classification job:cs2starCryosparc/J23-pwill create in the working directory:a relion-readyparticles.stara relion-readymicrographs.starapatchesdirectory containing the particle images to be used by relion refinement
You can now runrelionand provideparticles.starandmicrographs.staras the inputs.TipsWhile you can use the--classoption to select specific classes from a cryosparc job, the class indexes do not correspond the the class order in Cryosparc (which is simply based on particle number). A much easier way to select specific classes to convert to.staris to use theselect 2D classesjob in cryosparc, then provide this job as input to cs2star.--swapxydefaults toTrue. This is becauseusuallythat's what you need; unfortunately, this may differ on a case by case basis, so make sure to check the data after conversion with you favourite viewer to ensure that particles are correctly centered.
Package: cs2tc
cs2tcHelper functions for converting Compute Studio parameters to a format compatible with Tax-Calculator.pip install -U cs2tcimportcs2tcadj={"STD":[{"MARS":"single","year":2019,"value":10},{"MARS":"mjoint","year":2019,"value":1},{"MARS":"mjoint","year":2022,"value":10}],"STD_checkbox":[{"value":False}]}cs2tc.convert_policy_adjustment(adj)# {'STD': [{'MARS': 'single', 'year': 2019, 'value': 10},#   {'MARS': 'mjoint', 'year': 2019, 'value': 1},#   {'MARS': 'mjoint', 'year': 2022, 'value': 10}],#  'STD-indexed': [{'value': False}]}
Package: cs2tracker
AboutCS2Trackeris a tool that can be used to keep track of the steam market prices of your CS2 investment.Getting StartedPrerequisitesDownload and install the latest versions ofPythonandPip.Register for theCrawlbase Smart Proxy APIand retrieve your API key. (Optional)SetupInstall the program via pip:pipinstall--usercs2trackerStart the program:cs2trackerOptionsEdit Configto change the specific numbers of each item you own and then save the config file.Run!to gather the current market prices of your items and calculate the total amount in USD and EUR.Show Historyto see a price chart consisting of past calculations. A new data point for this chart is generated once a day upon running the program.If you want to avoid temporary IP blocks, register for an API Key onCrawlbaseand enter it into theAPI_Keyfield at the end of the config file. This will route every request through a different proxy server.GitHub@ashiven· 
Twitterashiven_
Package: cs3560cli
cs3560cliA set of internal tools forOhio University's CS3560 course, open-sourced.Installationpython -m pip install cs3560cliUsagepython -m cs3560cli --helpFeatureswatch-zipWatch for an archive file and extract it.Usage$python-mcs3560cliwatch-zip.$python-mcs3560cliwatch-zip~/DownloadshighlightCreate a syntax highlight code block with in-line style. The result can thus be embed into a content of LMS.create-gitignoreCreate a.gitignorefile using content fromgithub/gitignore repository.Usage$python-mcs3560clicreate-gitignorepython$python-mcs3560clicreate-gitignorecppBy default, it also addwindowsandmacosto the.gitignorefile.check-username
Package: cs3560-grading-lib
cs3560's grading-libA common library for the grading scripts.Installpython -m pip install cs3560-grading-libFeaturesBase class for a test case.Utilities functions to grade make related problems.DocumentationView thelatest documentationSimilar Projects / More Mature ProjectsIf you are looking for a more mature projects, please seeOKwhich is used inCS 61Aat University of California, Berkeley. It implements the concept of
"test case unlocking" that promotes "multi-stage problem solving process."paper.check50which is used inCS 50at Harvard University. There are alsovarious other command line tools.Cafe Grader'sjudge-scriptand itsweb UIwhich is (was?; well at least in 2010-ish) used by Department of Computer Engineering at Kasetsart University, Thailand.This library is somewhat inspired by Cafe Grader Suite and OK.
Package: cs-46-Curtis-working-trees
# Trees ![](https://travis-ci.com/CurtisSalinger/trees.svg?branch=master)This is a homework for CMC’s [CS46: data structures](https://github.com/mikeizbicki/cmc-csci046) course.This project impliments BST, AVL, and HEAP in an object oriented form.To download, you should run pip3 install cs-46-Curtis-working-trees
Package: cs4900-Geometry-Package-Team-1
Team 1 4900 first projectComputational Geometry package for Python.This package grants functionality on a 2-d euclidean plane.Functionalities include:Line segment intersection: Find the intersections between a given set of line segments.Closest pair of points: Given a set of points, find the two with the smallest distance from each other.Convex hull: Given a set of points, find the smallest convex polyhedron/polygon containing all the points, represented as the set of points on the polygon edge.Largest empty circle: Given a set of points, find a largest circle with its center inside of their convex hull and enclosing none of them.graphing all of the above listed functionalitiesHow to Call new_math.py functions:generate_random_list_of_points(): Returns a tuple of x,y pointsLine segment intersection:        show_all_line_intersections(list_of_your_lines)Closest pair of points:           find_closest_pair_of_points(list_of_points)Convex hull:                      show_convex_hull(list_of_your_points)Largest empty circle:       l     largest_inside_circle(list_of_your_points)How to Call graphing.py functions - use tuplesadd_points(list_of_points)show_closest_pair(list_of_points)               - shows all points, and the closest pair of points.show_all_lines_and_intersections(list_of_lines) - Shows all intersections between linesshow_largest_inside_circle(list_of_points)      - Shows largest empty circleshow_convex_hull(list_of_points)                - Shows convex hullTEAM REFERENCES:HOW TO CREATE PACKAGES -https://packaging.python.org/en/latest/tutorials/packaging-projects/Alex's example package -https://test.pypi.org/project/test-cs-4900-package-creation/0.0.1/Convex Polygon incircle -https://observablehq.com/@mbostock/convex-polygon-incircleClosest pair of points example algorithm:https://www.geeksforgeeks.org/closest-pair-of-points-using-divide-and-conquer-algorithm/Two line intersection example 1:https://stackoverflow.com/questions/563198/how-do-you-detect-where-two-line-segments-intersectTwo line intersection example 2:https://en.wikipedia.org/wiki/Line%E2%80%93line_intersectionConvex Hull algorithms, I think we should use Grahm Scan:https://en.wikipedia.org/wiki/Convex_hull_algorithmsFor largest circle find the max point, find the min point and the use the circle equation to draw the circleFor line intersection:https://stackoverflow.com/questions/20677795/how-do-i-compute-the-intersection-point-of-two-lines