Saravanan666/pypi-org huggingface dataset:
Package: fakegit
FakeGit is a great tool to fool yourself and others, it will modify your local git config file, deceive git to recognize the committer as somebody else.You can use it on your own project or any repository, if you have push privilege.ExampleFor example, the father of jQuery and the father of PHP is committing with a funny slogan, with my great respect and no offence for sure.Those are real commits and will be recognized by Github and almost any git hosting websites as a user of one, if such user exists.Installationgitclonehttps://github.com/hanbang-wang/FakeGitcdFakeGitpythonsetup.pyinstallOr use pip:pipinstallfakegitUsagefakegit<command>[--user][--help|-h]FakeGit passes all your arguments into original Git cli, except for the following:changeChangeyourlocalidentityforeverrecoverQuicklydelete'user'paramsinyourlocalgitconfigfile--help,-hAbriefguideFakeGit intercepts--userwith exact one arg following, which is the committer’s identity.Identity FormatFor exact input, usename <email>format, for example:--user'John Doe <johndoe@example.com>'or if you want to keep the email blank, just keep it blank:--user'No Email <>'I also provided a quick identity lookup for Github users, fill in name only:--user'example'Examplesfakegitcommit-a-m"A example."--userhanbang-wang"It will use Github API with the idhanbang_wang, which is me, lookup my commits history and my commit email, generating a format likeSuperFashi <admin@superfashi.com>, use it to make commit messages.But I recommend to specify a user info:fakegitcommit-a-m"A example."--user"SuperFashi <admin@superfashi.com>"of course you can use any git command by FakeGit:fakegitpush--user"whateveryoulike <>"# same as `git push`But it would not make any difference, since only thecommitcommand will useuserparams.Additionsfakegit changewill change your local identity for ever, therefore it must followed by--user, or it will throw an error.fakegit recoveris a quick tool for you to deleteuserparams in your local git config file, in case of tired being someone else, or need a reset after a force quit.License & SomethingThis little project is unlicensed, checkLICENSEfile for more information. But you should read the following carefully:This project has something to do with others identity, so you may end up becoming an identity thief or harm the reputation of others or anything illegal may happen.I do not take any responsibility, as I hope this project will only use for harmless jokes, educational or research purpose.
Package: fake-harmony-module
This repository contains a fake ToonBoom package featuring a Harmony module that includes all the classes used within Harmony's Python interface. Its primary purpose is to provide autocompletion, access to docstrings, and accurate type hints in your preferred IDE.All classes have been written based on Harmony's Python documentation, which can be found athttps://docs.toonboom.com/help/harmony-22/scripting/pythonmodule/index.html.Please note that this fake module may contain inconsistencies, missing return types, and typos. Unfortunately, most of these issues stem from faithfully transcribing Harmony's flawed documentation.
Package: fake-http-header
Fake http headerfake-http-headeris a python package that you can use to generate random request fields for a http header. The generated header fields look like they might come from a real internet browser. It is accomplished by mapping browsers to default values and emulating real user behaviour. You can utilize this package, for instance, to write crawlers or testing web applications.InstallationThe easiest way to install this package is using pip. In case you have pip on your system, just type the following command into your terminal prompt:pipinstallfake-http-headerQuick StartGenerating a random http header is quite straight forward. Just import the package and call the construcor method for the FakeHttpHeader class without any parameters.Example:fromfake_http_headerimportFakeHttpHeaderfake_header=FakeHttpHeader()print(fake_header)Output:FakeHttpHeader(user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.43',accept_language='en-GB',accept_encoding='identit,b',accept='text/html, application/xhtml+xml, image/jxr, */*',referer='http://www.intute.ac.uk')As you can see, the generated header contains anAccept-Languagefield, which states that the client prefers british english(accept_language='en-GB'). To make this header look more plausible, the referrer site is thereby generated from a pool of.ukdomains.It is also possible to specify of which top level domain thereferer siteshould be. In that case, a fittingAccept-Languagefield will be generated.Example:fake_header=FakeHttpHeader(browser_domain='de')print(fake_header)Output:FakeHttpHeader(user_agent='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36',accept_language='de',accept_encoding='deflat,b,compres',accept='text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',referer='http://www.netluchs.de')When working with other python libraries likerequests, it is necessary to transform ourfake_headerobject into a dictionary representation that is compatible with therequest library. For this purpose, theFakeHttpHeaderclass provides theas_header_dictmethod.importrequestsmy_url=https://github.com/fake_header_dict=fake_header.as_header_dict()r=requests.get(my_url,headers=fake_header_dict)Future ideasAdd weights to certain header fiels (e.g.Accept: text/html, application/xhtml+xml, application/xml;q=0.9)ContributingFeel free to create pull requests and discuss some new to ideas to make the package more powerful.
Package: fakeish
fakeishfakerbut fast and dumb instead of slow and smartUsageTo generate random but possibly overlapping data:fromfakeishimportFakeishf=Fakeish()rand_ssn=f.ssn()In order to generate data that is both random and non-overlapping, however, some light configuration is needed. The
following code willf=Fakeish()f.configure_unique_samples_list("ssn",50)non_overlapping_ssns=[f.unique.ssn()foriinrange(50)]Configuration sample type can also be any of the following: emails, first_names, first_names_male, first_names_female,
last_names, names, names_male, names_female.In order to generate the same random data each time, theFakeishobject can be seeded:f=Fakeish()f.seed(<int>)# configure / generate data here
Package: fakeit
Meet the FAKE IT project which provide generating simple fake dataINSTALL:python setup.py installpip install fakeitpip install git+https://github.com/RCheese/fakeitUSAGE:Generating fake data for python typesBytes>>>fromfakeitimportbytes>>>bytes.fake_bytes(min_length=2,max_length=5)...b'/\xf5Q\x9a\xcd'>>>bytes.fake_b64(min_length=2,max_length=5)...b'QpwJug=='Hashes>>>fromfakeitimporthashes>>>hashes.fake_md5()...'37c6c63ee4dd8516d3d8ee4319b3e7b8'>>>hashes.fake_sha256()...'bc6c64d150e869cf10e3d9c0cf582fa78fe46282de75911b464c46a023a08038'Numerics>>>fromfakeitimportnumerics>>>numerics.fake_complex(1,2,3,4)...(1.2157335093960198+3.17909803327301j)>>>numerics.fake_complex(1,2,3,4,round=True)...(2+4j)>>>numerics.fake_int(1,20)...11>>>numerics.fake_float(1,20)...3.448023122876366Strings>>>fromfakeitimportstrings>>>strings.fake_string(min_length=5,max_length=5)...'CPOcO'>>>fake_string(min_length=5,max_length=5,unique=True)...'qEiwW'>>>fake_string(min_length=5,max_length=5,alphabet="ABCdE")...'EdBdB'>>>fake_strings(5)...<generatorobjectfake_stringsat0x7f67579e4660>>>>foriinfake_strings(5):>>>print(i)>>>...1r3OxTKis20KF......3YN28kOPLuc...DaLQ...j7J9MMJcF2>>>foriinall_combinations_with_replacement_fake_string(min_length=3,max_length=3,alphabet="abc"):>>>print(i)...aaa...aab...aac...abb...abc...acc...bbb...bbc...bcc...cccPersonal``>>>fromfakeitimportpersonal>>>personal.names.fake_fullname()...'Justin Hall'>>>personal.names.fake_name()...'Johnny'>>>personal.names.fake_surname()...'Gill'>>>personal.phones.fake_international()...'+67-910-8211582'>>>personal.phones.fake_international(mediator="")...'+974665503991'>>>fake_international(country_code=7,area_code=923)...'+7-923-4915850'>>>personal.emails.fake_email()...'0mfJz0QD@VqujvpRDiuMfuyB.VRQfn'>>>personal.emails.fake_enough_email()...'Henry.Hill@google.cn'>>>personal.fake_person()...<PersonStephenRobertson>(FirstName=Stephen,LastName=Robertson,Email=Stephen.Robertson@whatsapp.net,Phone=+1-990-5674435)TODO:GeoPositionNamed (Country, City, and etc.)AddressText dataTables?Unit testsSQLAlchemy type castingDjango type castingSphinx docsCICompilation request
Package: fakejson
fakejsonJSON-like format parser in PythonSupported formatsJSON formatUse either json.loads or json.load from the standard library to parse JSON data.JSON-like format: available single quote as string literal and object keyIf you want to parse a JSON-like string that does not contain the values null, true, or false, it is recommended to use the ast.literal_eval() function.Usagepipinstallfekejsonimportfakejson# bad quote json (single quote exists.)json_like_str="""{"key1": "value1",'key2': 'value2',}"""parsed=fakejson.loads(json_like_str)# dictassertparsed["key1"]=="value1"assertparsed["key2"]=="value2"json_str=fakejson.dumps(parsed)print(json_str)# {"key1":"value1","key2":"value2"}
Package: fakejuju
Fake jujuThis package implements a fake Juju controller/cli. It’s very close to the
“real” Juju, with the main difference being that it runs with the dummy
provider as backend.It is meant as a helper in integration tests for services that consume Juju
in some way (typically by talking to its websockets API).DependenciesTo run tests, the code will need the latest python-jujuclient and python-txjuju
packages installed. These builds are available from the juju-stable and
txjuju-daily PPAs and can be added with:sudo add-apt-repository -y ppa:juju/stable
sudo add-apt-repository -y ppa:landscape/txjuju-daily
sudo apt-get update && sudo apt-get install python-jujuclient python-txjujuIn addition, you’ll want to have quilt and tox installed:sudo apt-get install quilt tox
Package: fake-keepall
Fake KeepAllApply the fakeword-break: keep-all;CSS property to static HTML file.This is useful when using the HTML->PDF converter that does not support theword-break: keep-all;CSS property.How it worksAdd thewhite-space: nowrap;CSS property to every word to prevent line breaks.Installation$pipinstallfake-keepallUsage$fake-keepallexample.htmlexample_out.htmlSet whitelist tags:$fake-keepallexample.htmlexample_out.html--tags'p,li'Use custom CSS class:$fake-keepallexample.htmlexample_out.html--class'myclass'Screenshot
Package: fakelish
fakelishEnglish-like word generator.Installation$pipinstall--upgradefakelishUsagePackage provides command line interface (CLI) tool which by default prints ten
words of length 6 to 9 letters:$fakelish
Predrons
Isishere
Uncette
Tripulogy
Oderve
Mageholy
Refess
Butarisse
Eloplae
RoidiaFor more options see help:$fakelish--helpContributingPlease read CONTRIBUTING.md for details of the process for submitting pull
requests.LicenseThis project is licensed under the MIT License - see the LICENSE file for
details.OriginCLI and python library is ported from go implementation of fakelish project.Word data included in this project have been converted from
Javascript/Typescript implementation to pure json like this:$curl-shttps://raw.githubusercontent.com/nwtgck/fakelish-npm/develop/lib/word-probability.ts|sed's/.*} = {"\^/{"^/;s/;$//'>word-probability.jsonAcknowledgmentsRyo Ota (@nwtgck)for original Go and JavaScript/TypeScript versions and word data.Related projectsGo language and CLI:https://github.com/nwtgck/go-fakelishJavaScript/TypeScript:https://github.com/nwtgck/go-fakelish
Package: fakemail
Fakemail is a simple SMTP server that runs as a command line script, relaying
incoming messages to an upstream server, to an HTTP endpoint or to stdout.Fakemail is useful for testing emails during development: it can rewrite the
envelope-to address on all messages to a single address, ensuring messages cannot be
sent to real users.Fakemail is useful for processing inbound messages in a web application,
by acting as an SMTP-to-HTTP proxy.Caution:Fakemail always runs as an open relay. Ensure you do not expose fakemail on a public address.Installationpip install -r requirements.txtUsageTo see an up to date list of command line options, run:python fakemail.py --helpExamplesRedirect emails for development:python fakemail.py –bind 127.0.0.1:2525 –relay 127.0.0.1:25–rewrite-to=myaddress@example.orgView emails on stdout:python fakemail.py --bind 127.0.0.1:2525 --stdoutFeed emails into an HTTP endpoint (SMTP-to-HTTP):python fakemail.py --bind 127.0.0.1:2525 --relay-url="https://mywebservice.example.org/mail-in"

python fakemail.py --bind 127.0.0.1:2525 --relay-url="https://user:pass@mywebservice.example.org/mail-in"Multiple relays are possible: you can relay via SMTP, to an HTTP endpoint,
and log to stdout in a single process. If any one relay fails the mail will be
rejected, even if other relays succeed.
Package: fakemap
fakemapPython Boilerplate contains all the boilerplate you need to create a Python package.Free software: MIT licenseDocumentation:https://MattAGUT.github.io/fakemapPurposefakemap is designed to do basic geospatial mapping and visulizationIt is also designed to do basic image analysis for GeoTIFF imagesThe target audience is anyone looking for a quick and simple geovisualization program with little coding.View the Installation tab to install and get started!FeaturesSome of the features of fakemap includeMapping in ipyleaflet and FoliumThe ability to add basemaps, geojons, shapefiles, and any kind of vector data in both ipyleaflet and FoliumThe ability to add images to the map through ipywidgetsthe ability to overlay raster images on the mapThe ability to display individual bands of a GeoTIFFThe ability to create a basic spectral profile for the bands of a GeoTIFFThe ability to print the metadata for a GeoTIFFExamplesAll features include a jupyter notebook that can be opened for a demonstration Click the examples tab to learn more and see the example notebooks.CreditsThis package was created withCookiecutterand thegiswqs/pypackageproject template.
Package: fake-memcached
fake-memcachedDict based implementation of memcachedFree software: Apache Software License 2.0Documentation:https://fake-memcached.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2021-06-14)First release on PyPI.
Package: fake-me-some
CLI to fake some data to CSV, Database, or ParquetDescriptionA longer description of your project goes here…
Go Here and Read and bash me or thank mehttps://github.com/hung135/fake-me-someMake a config file and put the connection info in it:
Run fake_me_some -hNoteThis project has been set up using PyScaffold 3.1. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: fake-module
Mock file treeGlobally replace a module with a configurable fake.StatusSourceShieldsProjectHealthRepositoryPublishersActivityInstallingpipinstallfake-moduleUsageYou can purge all of a module's members inside a context manager:fromfake_moduleimportFakeModulewithFakeModule("colorsys"):colorsys.rgb_to_hls()...AttributeErrorOr create a fake globally:importcolorsysfromfake_moduleimportFakeModulefake=FakeModule("colorsys")fake.purge()setattr(fake,"rgb_to_hls",1)colorsys.rgb_to_hls1TestsTo run unit tests and generate a coverage report:grunttestDocumentationThis repository's documentation is hosted onreadthedocs.ToolingTo run linters:gruntlintTo run formatters:gruntformatContinuous integrationThis repository uses github actions to lint and test each commit. Formatting tasks and writing/generating documentation must be done before committing new code.VersioningThis repository adheres to semantic versioning standards.
For more information on semantic versioning visitSemVer.Bump2version is used to version and tag changes.
For example:bump2versionpatchChangelogPlease read this repository'sCHANGELOGfor details on changes that have been made.ContributingPlease read this repository's guidelines onCONTRIBUTINGfor details on our code of conduct and the process for submitting pull requests.ContributorsJoel Lefkowitz-Initial work-Joel LefkowitzRemarksLots of love to the open source community!
Package: fakenos
Fake Network Operating Systems - FakeNOS"Reality is merely an illusion, albeit a very persistent one."~ Albert EinsteinFakeNOS created to simulate Network Operating Systems interactions.DocumentationWhy?Crucial aspect of writing applications or scripts for Network Automation is
testing, often testing done using physical or virtual instances of network
appliances running certain version of Network Operating System (NOS). That
approach, while gives best integration results, in many cases carries a lot
of overhead to setup, run and tear down as well as putting significant burden
on compute and storage resource utilization.Other approach is to mock underlying libraries methods to fool applications
under testing into believing that it is getting output from real devices. That
approach works very well for unit testing, but fails to simulate such aspects
as connection establishment and handling.FakeNOS positions itself somewhere in the middle between full integration testing
and testing that mocks device interactions. FakeNOS allows to create NOS plugins
to produce pre-defined output to test applications behavior while running servers
to establish connections with.What?FakeNOS can:Run thousands of servers to stress test applicationsSimulate Network Operating Systems Command Line Interface (CLI) interactionsProvide high-level API to create custom NOS pluginsRun in docker container to simplify integration with your infrastructureMake use of FakeNOS CLI tool for quick run and prototype simulationsWorks on Windows, MAC and Linux under major Python versionHow?Send input and get the output - this is how we interact with many
Network Operating Systems, FakeNOS allows to pre-define the output
to sent in response to certain input commands, making it ideal for
isolated feature testing.FakeNOS is a micro-kernel framework that can be extended using plugins.
The core is kept small and optimized while most of the functionality
offloaded to plugins.FakeNOS has these pluggable systems:Server Plugins - plugins responsible for running various servers to connect withShell Plugins - plugins to simulate command line interface shellNOS plugins - plugins to simulate Network Operating System commandsWhat not?FakeNOS is a simulator, it does not emulate any of Network Control, Data
or Management planes, it merely takes the commands as input and responds
with predefined output.FakeNOS inspired by and borrowed fromsshim- library for testing and debugging SSH automation clientsPythonSSHServerTutorial- tutorial on creating paramiko based SSH serverfake-switches- pluggable switch/router command-line simulatorncs-netsim- tool to simulate a network of devicescisshgo- concurrent SSH server to emulate network equipment for testing purposesscrapli-replay- tools to enable easy testing of SSH programs and to create semi-interactive SSH servers
Package: fake-number-id
fake-number-idMembuat validasi dengan memasukan angka ke formulir inputan tentunya memakan waktu yang tidak sedikit, karena itulah aku membuat pustakan ini untuk mempermudah validasi dan tentunya mempercepat pengembangan aplikasi.Pengujianprogram untuk menguji apakah pustaka berjalan atau terjadi kutu programfromfake_number_idimportindosat,telepon,layanan_operatornomor_nasional=telepon(indosat.EMPAT_BELAS)nomor_internasional=telepon(indosat.EMPAT_BELAS,international=True)ll=layanan_operator(indosat.EMPAT_BELAS)if__name__=='__main__':print(nomor_nasional,nomor_international)print(ll)KonstantaSelain indosat juga terdapat beberapa operator di indonesia yang tersedia di pustaka iniindosat
	EMPAT_BELAS
	LIMA_BELAS
	ENAM_BELAS
	LIMA_LIMA
	LIMA_ENAM
	LIMA_TUJUH
	LIMA_DELAPAN

xl
	TUJUH_BELAS
	DELAPAN_BELAS
	SEMBILAN_BELAS
	LIMA_SEMBILAN 
	TUJUH_DELAPAN
	TUJUH_TUJUH

axis
	TIGA_DELAPAN	
	TIGA_TUJUH
	TIGA_SATU
	TIGA_DUA


telkomsel
	DUA_BELAS
	TIGA_BELAS
	LIMA_DUA
	LIMA_TIGA
	DUA_SATU
	DUA_TIGA
	DUA_DUA
	LIMA_SATU


smartfren
	DELAPAN_SATU
	DELAPAN_DUA
	DELAPAN_TIGA
	DELAPAN_EMPAT
	DELAPAN_LIMA
	DELAPAN_ENAM
	DELAPAN_TUJUH
	DELAPAN_DELAPAN


three
	SEMBILAN_ENAM
	SEMBILAN_TUJUH
	SEMBILAN_DELAPAN
	SEMBILAN_SEMBILAN
	SEMBILAN_LIMATeleponfungsitelepon(parameter)membuat data telepon palsu berdasarkan parameter konstanta penyedia layanancontoh pengguan telepon(parameter) :palsu=telepon(axis.TIGA_DELAPAN)print(palsu)Penyedia Layananfungsilayanan_operator(parameter)memberitahukan nama operatorbeserta nomor prefiksnya berdasarkan parameter konstanta penyedia layanancontoh pengguan layanan_operator(parameter) :palsu=layanan_operator(smartfren.DELAPAN_SATU)print(palsu)
Package: fake-open
# Library for testing opening writable files
This package provides …## Installation
Via [pypi](https://pypi.python.org/pypi/fake-open):pip install fake_openFrom source:git clonehttps://git.lumc.nl/j.f.j.laros/fake-open.gitcd fake_open
pip install .## Command line interface
Use the commandfake_open -hfor a full list of options.## Library
The library implements an interface to …
Full documentation can be found [here](https://git.lumc.nl/j.f.j.laros/fake-open).### Usage
To use the interface, …`python >>> from fake_open.fake_open import ... >>> >>> # ... `
Package: fake-persian-name
fake-persian-nameA small Python library to generate fake Persian name.Installpip install fake_persian_nameOR:pip3 install fake_persian_nameImportfromfake_persian_nameimportfake_nameasfpnUseTo generate a random Persian name:name=fpn.generate_name("random")To generate a boy Persian name:name=fpn.generate_name("male")To generate a girl Persian name:name=fpn.generate_name("female")Examplefromfake_persian_nameimportfake_nameasfpnrandom_name=fpn.generate_name("random")girl_name=fpn.generate_name("female")boy_name=fpn.generate_name("male")print("random_name: "+random_name)print("girl_name: "+girl_name)print("boy_name: "+boy_name)IssuesPlease file any issues, bugs or feature requesthere.LicenseThis project is licensed under theMIT LicenseAuthorThis Python library is developed byErfan Rahmati.
Package: fake-pkpk
to-pipto-pipis a tool that makes it easy to convert a set of Python files into a Python package that can be uploaded to PyPI. It can also upload the package to PyPI for you, if you provide your PyPI credentials.UsageWeb InterfaceGithub:https://github.com/bohachu/to_pipWeb interface:http://to-pip.falra.netYou can use the web interface ofto-piphere. Simply upload your Python files, enter your package name and version, and click "Create Package". If you provide your PyPI credentials, you can also choose to upload the package to PyPI directly from the web interface.Command Line InterfaceYou can also use theto-pipcommand-line tool to create a package from your Python files. To use it, simply install theto-pippackage using pip:pip install to-pipThen, run theto-pipcommand with the following arguments:python -m to_pip -n <package_name> -v <package_version> [-u <pypi_username> -p <pypi_password>] <python_files>Here is what each argument means:-nor--package_name: The name of your package.-vor--package_version: The version of your package inx.x.xformat.-uor--pypi_username(optional): Your PyPI username. If you provide this,to-pipwill upload your package to PyPI for you.-por--pypi_password(optional): Your PyPI password. If you provide this,to-pipwill upload your package to PyPI for you.<python_files>: The Python files that you want to include in your package.Package UsageOnce you have created your package, you can install it using pip:pip install <package_name>After installing the package, you can use any functions or classes defined in your Python files as normal.ExampleLet's say you have two Python files,hello.pyandworld.py, that you want to package into a package calledhelloworldwith version1.0.0. Here's how you would useto-pipto create the package:python -m to_pip -n helloworld -v 1.0.0 hello.py world.py