Saravanan666/pypi-org huggingface dataset:
Package: thebestspinner
The Best Spinneris an online
service for spinning text (synonym substitution) that creates unique version(s)
of existing text. This package provides a way to easily interact with
The Best Spinner API.Source code @ GitHubInstall from package to virtualenv$virtualenv--no-site-packagesfoo$cdfoo$bin/pipinstallthebestspinnerInstall within virtualenv$virtualenv--no-site-packagesfoo$cdfoo$gitclonegit://github.com/niteoweb/thebestspinner.git$bin/pipinstallthebestspinner/# running tests:$bin/pipinstallunittest2mock$bin/testBuildout$gitclonegit://github.com/niteoweb/thebestspinner.git$virtualenv--no-site-packagesthebestspinner$cdthebestspinner$bin/pythonbootstrap.py$bin/buildout# running tests:$bin/test# check code for imperfections$sourcebin/activate$vvvsrc/tbsUsage>>>original_text="This is the text we want to spin">>>importtbs>>>thebestspinner=tbs.Api('your_username','your_password')>>>spin_text=thebestspinner.identifySynonyms(original_text)>>>printspin_textu"{This is|This really is|That is|This can be} some text that we'd{liketo|preferto|wantto|loveto}spin">>>thebestspinner.randomSpin(spin_text)u"This really is some text that we'd love to spin"Changelog1.0.2 (2013-07-30)return full error message on exception
[Matej Cotman]add some tests
[Matej Cotman]fix: object has no attribute ‘apiQuota’
[Matej Cotman]add parts folder to git ignore
[Matej Cotman]1.0.1 (2012-12-05)documentation fix
[Matej Cotman]1.0 (2012-11-06)Code changed to use phpserialize from pypi instead of xml parser.
[Matej Cotman]AuthorsRelease 1.0
Matej Cotman <cotman.matej@gmail.com>Releases to version 0.1.3
Peter Flood <info@whywouldwe.com>Copyright (c) 2010 Peter FloodPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Package: the_big_username_blacklist
The-Big-Username-Blacklist-PythonThis library lets you validate usernames against a blacklist. The
blacklist data is based on the data fromThe-Big-Username-Blacklistand contains privilege, programming terms, section names, financial
terms and actions.You can try the blacklist using the toolUsername
checker.How it worksthe_big_username_blacklist exposes a function named validate, you can
use that function to see if a word is occuring in the blacklist.UsageValidating a username is easy, if the word is in the blacklist, return
False (validation failed), otherwise True. Example:>>>>fromthe_big_username_blacklistimportvalidate>>>>validate("root")False>>>>validate("martin")TrueAccess the blacklistIf you only want to retrive the blacklist data, you can find it in thelistproperty.>>>>fromthe_big_username_blacklistimportget_blacklist>>>>get_blacklist()['400','401','403'...InstallationThis package is available through pip$ pip install the-big-username-blacklistTestsMake sure you have the necessary dependencies (pytest)pip install -r requirements/tests.txtThen run the testspy.test testsContributingWant to contribute? Awesome. Just send a pull request.LicenseThe-Big-Username-Blacklist-Python is released under theMIT
License.
Package: theblockchainapi
The Blockchain APISubmit issues and feature requests for our API on ourmain GitHub repository.Seethe docsfor more info.Python Quick Startpip install theblockchainapiGet an API key pair atdashboard.theblockchainapi.com.from theblockchainapi import TheBlockchainAPIResourceresult = TheBlockchainAPIResource("APIKeyID", "APISecretKey").generate_secret_key()print(result)There are many examples using this packagehere.Python DocumentationTo get a list of available functions, runhelp(TheBlockchainAPIResource)after importingTheBlockchainAPIResourceas shown above.DocumentationFor full API documentation, check outthe docs.
Package: thebops-envtools
README.TXT~~~~~~~~~~THeBoPS-envtools - Tools for environment variables~~~~~~~~~~~~~~~~---~~~~~-----~~~------------------Contains some tools related to environment variables:py-envTell about environment variables which are used by the Python interpreter orcertain Python software"Coming soon"-------------The following tools need some work because it won't work (cross-platform) toadd their current form as scripts to the setup; they will follow soon:scanpathFind programs in a PATH, similar to the "which" command (which is not presenton Windows(tm) systems).listpathList the PATH (or a PATH-like variable)modpathinserts, deletes, checks ... entries of a PATH-like variable.Since a Python program is run in a new process, it can't change the value ofan environment variable directly; thus it must be wrapped using a shellfunction (*X) or a batch script (Windows).
Package: theboss
(Bo)son (S)ampling (S)imulatorThe project is meant to implement the ideas proposed in references [1] and [2] for
classically simulating lossy boson sampling.SummaryGetting StartedRunning the testsVersioningAuthorsLicenseAcknowledgmentsGetting StartedSo far, to get the project one only needs to download it from therepository(or any other source).It's also possible to download it as a package withpip install thebosswhich will download the package frompypi.PrerequisitesTo run the scripts there will be needed some version of Python. During the development
I'm using 3.8, but I believe that it will also work just fine with some earlier or newer
version (at least for now).The package has been tested for python 3.7 to 3.10.In some places I usemath.prodandtypingpackage, that's why 3.8 version is
desirable.Code styleThroughout this work PEP-8 will be used. There are several cases where this may go south.In some versions of the code matrices may be denoted by capital letters (as in standard mathematical notation). In
order to be more PEP-friendly I'll try to use prefix m_ instead of capital letters, e.g. m_u would be the equivalent of
U. Alternatively explicit use of matrix is also acceptable.Running the testsJust run all test intestsfolder withpytestor viatoxcommand.VersioningI'll useSemVerfor versioning and try to keep track of the version in the tags.AuthorsTomasz RybotyckiMalhavok-These precious reviews <3Billie Thompson-Provided README TemplateLicenseThis project is licensed under theApache License, v.2.0.
See theLICENSE.mdfile for details.AcknowledgmentsCTP PAS,Michał Oszmaniec,Poór Boldizsár- major code review,Kolarovszki Zoltán- output stateslexicographicalization,sisco0- some minor bugs pointed out.This research was supported in part byPL-GridInfrastructure.ReferencesThis project follows / uses the ideas presented in following papers:[0] Clifford P., Clifford R.,arXiv:1706.01260[quant-ph].[1] Oszmaniec M., Brod D. J.,arXiv:1801.06166[quant-ph].[2] Brod D. J., Oszmaniec M.,arXiv:1906.06696[quant-ph].[3] Maciejewski F. B., Zimboras Z., Oszmaniec M.,arXiv:1907.08518[quant-ph].[4] Mezzadri F.,arXiv:math-ph/0609050[math-ph].[5] Clifford P., Clifford R.,arXiv:2005.04214[quant-ph].
Package: the-bpf
THE BLACKPEARL-FRAMEWORKOFFICIAL WEBSITE :Blackpearl-frameworkThis is a framework for using most of best hacking tools to work without having an need of commands.Currently This Framework Is Available For Termux. Under Construction For Kali LinuxINSTALLATIONHOW TO INSTALL :1.pkg update && upgrade2.git clonehttps://github.com/FraternityInfoSec/Blackpearl-framework.git3.bash install requirements.sh4.python install.pyORpip install pearlNow Clear session and open new terminal and just type pearl and enter.IMPORTANT COMMANDSType below commands in Blackpearl-framework console :help   : For any help of using frameworkexit   : To exit from consoleFEATURESYOU CAN USE THIS FOR :1.AUTOMATION OF MAIN PAYLOADS OF METASPLOIT FRAMEWORK2 DIFFERENT BRUTEFORCE AUTOMATION USING HYDRA3.SQLMAP AUTOMATION FOR PENETRATION OF SQL VULNERABLE WEBSITES4.MAKE CUSTOM WORDLIST OR AUTO WORLDLIST5 NMAP AUTOMATION FOR FINDING OPEN PORTS AND OTHER 30 TYPES OF SCANNING AND PENETRATIONS6 POWERFUL AUTOMATED DISTRIBUTIED DENIAL OF SERVICEAnd we had given 3 password list contains more than 10k passwords.CONTACTUse can contact us for issues or problems on our emailCipherweb777@gmail.comDISCLAIMERWE ARE NOT RESPONSIBLE FOR ANY ILLEGAL ACTIVITIES BY THIS PROJECT. THIS FOR ONLY EDUCATIONAL PURPOSES AND CHECKING YOUR OWN WEBSITES AND OTHERS SECURITY.FROM FRATERNITY INFOTECH GROUP
Package: thebridge-autocheck
The Bridge Coding Problems Autochecker (CPA)graph TD;
    Check?--yes-->TypeOfProblem?;
    Check?--no-->ThoughtProblem;
    ThoughtProblem-->hints;
    ThoughtProblem-->solution;
    TypeOfProblem?-->EqualityCheckProblem;
    EqualityCheckProblem-->Expected;
    EqualityCheckProblem-->Check;
    EqualityCheckProblem-->Hints;
    EqualityCheckProblem-->Solution;
    EqualityCheckProblem-->Vars;

    TypeOfProblem?-->FunctionProblem;
    FunctionProblem-->Vars;
    FunctionProblem-->TestCases;
    FunctionProblem-->Hints;
    FunctionProblem-->Solution;
    FunctionProblem-->Check;
    TypeOfProblem?-->Other;
    Other-->CodingProblem;Steps for PyPI publishingCreate a package folder (learntools) containing separated modules (e.g.core,python, ...).Each module contains the solutions for each of the problems. We can separate the problems in different blocks. For example, one forPython Basics, another one forpandasand so on.The next file is__init__.py. The double underscores in the filename tell you that this is a special file.__init__.pyrepresents the root of each package. It should usually be kept quite simple, but it’s a good place to put package constants, documentation, ...Insideinitwe export modules so that, callingfrom learntools.core import *we can have access to that modules, e.g.binderwithout doing,learntools.core..globals_binder.binder.Innotebooksfolder we are going to test the modules.TODO: Introduce testing files and introduce them in atestfolder.Each Python project should use a file namedpyproject.tomlto specify its build system. In this case, the one specified issetuptoolsas a build system as well as which dependencies Python must install in order to build your package. Typically, the documentation of your chosen build system will tell you how to write the build-system table inpyproject.toml.The more interesting information that you need to provide concerns your package itself.PEP 621defines how metadata about your package can also be included inpyproject.tomlin a way that’s as uniform as possible across different build systems.Update version:bumpver update [--major | --minor | --patch]Generate wheel and source files insidedistfolderpython –m buildUpdate dependencies inpyproject.tomland in this READMEUpdate the ChangelogPublish the packagetwine upload dist/*Update the tag on Git and push the commitgit tag vx.y.zDependencies tracking[07/09/22] core: [pandas]
[v1.1.0] problem_view: [ipywidgets]Next StepsIntroduce testing files and introduce them in atestfolderFillLICENSEfileMake it pretty (KISS: Keep It Simple Stupid)Hints monitoring in order to get indsights of student's developmentChangelog1.1.0Try to add buttons using, for example,ipywidgets[#DONE in v1.1.0]The code can be optimized playing with @display and creating a decorator for the buttons [TODO][problem_view.py]1.1.1Removecheckbutton from ThoughtExperiments1.2.0Remove solution in check when it is correctIntroduce python_basics_ii
Package: thecalcpack
My Basic CalculatorThis package hepls you carry out the four basic arithmetic operationsGetting startedInstalling the packagepip install thecalcpackUsing the packagefrom packagingtutorials import thecalcpackFunctions Providedadd(a,b)This function adds two arguments a and b and returns them.sub(a,b)This function subtracts two arguments a and b and returns them.mul(a,b)This function multiplies two arguments a and b and returns them.div(a,b)This functions divides two arguments a and b and returns them.
Package: the-calc-pack-Pranav76
thecalcpackThis package hepls you carry out the four basic arithmetic operationsGetting startedInstalling the packagepip install the-calc-pack-Pranav76Using the packageimport the_calc_pack_Pranav76.clk as mm
print(mm.Your required function(a,b))Functions Providedadd(a,b)This function adds two arguments a and b and returns them.sub(a,b)This function subtracts two arguments a and b and returns them.mul(a,b)This function multiplies two arguments a and b and returns them.div(a,b)This functions divides two arguments a and b and returns them.
Package: thecampy
thecampy - 더캠프 파이썬 라이브러리thecampy는parksb/the-camp-lib을 참고하여 제작된 대국민 국군 소통 서비스 더 캠프의 파이썬 라이브러리입니다.파이썬으로 인터넷 편지를 보낼 수 있도록 구현되었습니다. 매 월요일 12시(UTC)더 캠프 request code를 테스트합니다.Descriptionthecampy는parksb/the-camp-lib을 참고하여 제작되어 더캠프 인터넷 편지를 간단하게 보낼 수 있도록 만들어진 파이썬 라이브러리입니다.Getting StartedDependencyrequestsInstallingpip install thecampyQuickstartimport thecampy

my_soldier = thecampy.Soldier(

        '이름',

        '생일(yyyymmdd)',

        '입대일(yyyymmdd)',

        '부대명(ex: 육군훈련소)'

)

msg = thecampy.Message([제목], [내용(1500자 이하)])

image = thecampy.ThecampyImage('sample.png')

tc = thecampy.Client(email, pw)

tc.get_soldier(my_soldier) #returns soldier code

tc.send_message(my_soldier, msg, image)Disclaimerthecampy는 더캠프의 서비스업자와 관련이 없습니다. thecampy는 더캠프 서비스를 악용하는데에 사용할 수 없습니다. thecampy의 사용으로인한 책임은 전적으로 사용자에게 있습니다.Contributorslewisleedev2minchulOneTop4458SyphonArchVersion History3.0.155사단(용인) 부대코드 추가 (이메일 제안)__init__.py와README.md에서 Client가 소문자로 시작하던 오류 수정3.0.0login method 삭제 및 __init__으로 이전docstring 추가and lot more fixes, chores and refactorsLicenseThis project is licensed under the MIT License - see the LICENSE file for details
Package: the-cannon
# The Cannon[![Build Status](https://img.shields.io/travis/andycasey/AnniesLasso/refactor.svg)](https://travis-ci.org/andycasey/AnniesLasso)[![Coverage Status](https://img.shields.io/coveralls/andycasey/AnniesLasso/refactor.svg)](https://coveralls.io/github/andycasey/AnniesLasso?branch=refactor)[![Scrutinizer](https://img.shields.io/scrutinizer/g/andycasey/AnniesLasso.svg?b=refactor)](https://scrutinizer-ci.com/g/andycasey/AnniesLasso/?branch=refactor)[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/andycasey/AnniesLasso/blob/refactor/LICENSE)[See the documentation.](#)## Authors- **Andy Casey** (Cambridge) (Monash)- **David W. Hogg** (NYU) (MPIA) (SCDA)- **Melissa K. Ness** (MPIA)- **Hans-Walter Rix** (MPIA)- **Anna Y. Q. Ho** (Caltech)- **Gerry Gilmore** (Cambridge)## License**Copyright 2017 the authors**.The code in this repository is released under the open-source **MIT License**.See the file `LICENSE` for more details.## InstallationTo install:``pip install https://github.com/andycasey/AnniesLasso/archive/refactor.zip``## Getting StartedLet us assume that you have rest-frame continuum-normalized spectra for a set ofstars for which the stellar parameters and chemical abundances (which we willcollectively call *labels*) are known with high fidelity.  The labels for thosestars (and the locations of the spectrum fluxes and inverse variances) areassumed to be stored in a table.  In this example all stars are assumed to besampled on the same wavelength (dispersion) scale.Here we will create and train a 3-label (effective temperature, surface gravity,metallicity) quadratic (e.g., `Teff^2`) model:````pythonimport numpy as npfrom astropy.table import Tableimport AnniesLasso as tc# Load the table containing the training set labels, and the spectra.training_set = Table.read("training_set_labels.fits")# Here we will assume that the flux and inverse variance arrays are stored in# different ASCII files. The end goal is just to produce flux and inverse# variance arrays of shape (N_stars, N_pixels).normalized_flux = np.array([np.loadtxt(star["flux_filename"]) for star in training_set])normalized_ivar = np.array([np.loadtxt(star["ivar_filename"]) for star in training_set])# Providing the dispersion to the model is optional, but handy later on.dispersion = np.loadtxt("common_wavelengths.txt")# Create the model that will run in parallel using all available cores.model = tc.CannonModel(training_set, normalized_flux, normalized_ivar,dispersion=dispersion, threads=-1)# Specify the complexity of the model:model.vectorizer = tc.vectorizer.NormalizedPolynomialVectorizer(labelled_set,tc.vectorizer.polynomial.terminator(("TEFF", "LOGG", "FEH"), 2))# Train the model!model.train()````You can follow this example further in the complete [Getting Started](#) tutorial.
Package: thecatapi-sdk
TheCatAPI Python SDKPython wrapper for making secure requests to TheCatAPIGetting startedCreate an account onTheCatAPI.comAn API Key will be sent to you via mailInstallationpip install thecatapi-sdkfromthecatapiimportTheCatAPI# create an instancecatapi=TheCatApi("API_KEY HERE")Sample request# List of imagescatapi.images.get_images(limit=10)-------------------------# Get image by image IDcatapi.images.get_image('2bbSbBC-v')-------------------------# list votescatapi.votes.get_votes()Read full documentation hereContribution & IssuesSimply fork the repo, make changes and make a pull requestYou can open an issue for support or suggestionsAuthorAdavize HassanAckowledgementsTheCatAPI.com
Package: thechristmaspig
OverviewThis is a buildout recipe for setting up a base project and wsgi file.
It started as a fork ofdjangorecipe, mainly because I wanted to
learn how it worked, which installs Django from SVN and does a lot of
other things. This is stripped down now just to set up scripts in the
Buildout environment and to generate the wsgi file. It doesn’t install
the Django package because I believe there are better recipes to do that.
I also edited the project template that djangorecipe used as a base.Example Recipe[buildout]
parts = python django django-project
eggs =
extra-paths =
    ${buildout:directory}
    ${buildout:directory}/parts/django/

[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}
extra-paths = ${buildout:extra-paths}

[django]
recipe = zerokspot.recipe.git
repository = git://github.com/django/django.git

[django-project]
recipe = thechristmaspig
project = example
script-name = django
eggs = ${buildout:eggs}Supported optionsThe recipe supports the following options.projectThe name of the project directory to use or create.settingsThe name of the settings file for the project. Defaults tosettings.extra-pathsPaths to extend the default Python path for the generated scripts.
Defaults to the extra-paths parameter of the [buildout] configuration.script-nameThe name of the scripts created in the bin folder. This script is the
equivalent of themanage.pyDjango normally creates. By default it
uses the name of the section (the part between the[ ]).urlconfYou can set this to a specific url conf. It will use theproject.urlswhere project is set by theprojectoption.Sandbox InstallationUse the following commands to run a demo of this package.$ git clone git://github.com/prestontimmons/thechristmaspig.git
$ cd thechristmaspig
$ python bootstrap.py
$ bin/buildout -v
$ bin/django testWhy the Name?Because all the good names for Django Buildout recipes were already taken.
Package: thecodingscoiety
rollno-parserTo create a python script to parse roll number of panimalar students to get their student info.Roll Number in Panimalar follows the system (YEAROFJOIN)YYYY-PEC-(DEPT)DD-(ROLLNO)XXXXeg) 2021PECCB1012021 - Year of Join
PEC - Panimalar Engineering College
CB - Department (Computer Science and Business Systems
101 - Roll No
Package: the-collector
The CollectorThis is still under heavy developmentThis was written for a class I taught on robotics. It is meant to be simple and
teach the students some things. There are probably better solutions out there,
but I like this.Read and write data files using pickle, json, gziped
json, and csv. Method is determined by filename extension.
Valid extensions are:.pkl: pickle.json: json.gzip: json compressed with gzip [default].csv: comma separated valuesUsageSee thenotebookfor examples of how to use
it.fromcollectorimportCollectorc=Collector()c.timestamp=Falsed=np.array([[1,2,3],[4.,5.,6.]])i={"imu":{"gyro_range":3000,"accel_range":2}}c.write("test_test_now.csv",d)dd=c.read("test_test_now.csv")c.write("test_test_now.json",d,i)dd=c.read("test_test_now.json")fname=c.write("test_test_now.pkl",d,i)dd=c.read(fname)c.timestamp=Truefname=c.write("data/test_test_now.pkl",d,i)dd=c.read(fname)# Saving 2 data points in pickle to:# --> data/2023-08-08_18:57:52_test_test_now.pkl# Loaded 2 data points from:# --> data/2023-08-08_18:57:52_test_test_now.pklThe MIT License (MIT)Copyright (c) 2017 Kevin J. WalchkoPermission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: thecolorapi
The Color API - In Python!Your python project involves some colors? We got you! Now, its easier then ever to manipulate colors, and even get color names, just with a couple commands.thecolorapi.comThis module is simply a python wrapper for the API provided bythecolorapi.com, and created byJosh Beckman- he did the hard work!A simple example>>>fromthecolorapiimportcolor>>>dark_green=color(hex="#158f2b")>>>dark_green.hex'#158F2B'>>>dark_green.hex_clean'158F2B'>>>dark_green.rgb(21,143,43)>>>dark_green.rgb_fraction(0.08235294117647059,0.5607843137254902,0.16862745098039217)>>>dark_green.hsl(131,74,32)>>>dark_green.hsl_fraction(0.36338797814207646,0.7439024390243902,0.3215686274509804)>>>dark_green.hsv(131,85,56)>>>dark_green.hsv_fraction(0.36338797814207646,0.8531468531468531,0.5607843137254902)>>>dark_green.cmyk(85,0,70,44)>>>dark_green.cmyk_fraction(0.8531468531468531,0,0.6993006993006992,0.4392156862745098)>>>dark_green.contrast_hex'#000000'>>>dark_green.name'Slimy Green'InstallationIt can not get easier! Just run:$ (sudo) pip install thecolorapi