Saravanan666/pypi-org huggingface dataset:
Package: chthonic
ChthonicA boilerplate environment for Python package development.The main idea is to make developing packages and packaging them for PyPI as painless as possible by letting Vagrant handle most of the overhead.Since a lot of my work involves data science-y stuff, I've also baked Jupyter into the environment (instructions below).RequirementsVirtualBoxandVagrant.Environment SetupReplace references to the dummy package name with your package name viash replace_chthonic.sh <your-package-name>.Add any package dependencies tosetup.pyandrequirements.txt.If you decide topip installnew dependencies later on, as you develop, it's all good! Just remember to add them tosetup.pyandrequirements.txt.Install the environment withvagrant up.Enter the environment withvagrant ssh.To stop running the environment, exit it withexitand halt it withvagrant halt—this can save a lot of CPU and memory when you're not working on the package. Bring it up again anytime withvagrant up.Package Development.Enter the environment withvagrant ssh.Avenvfor your package will be automatically activated each time you enter.The necessary packaging tools are already installed in this venv by default.Other development tools (e.g.,pylint) are also installed by default; check outrequirements.txtfor the full list.Add project files to the appropriate directory (e.g., the package subfolder, whose name ischthonicin this example).Packaging for PyPIEnter the Vagrant environment withvagrant ssh.Make sure that yourREADME.mdis informative about your package.Make sure that all package dependencies have been added tosetup.py.python setup.py sdist1twine upload dist/*(requires aPyPIaccount).Done!Using Jupyter Notebooks with VagrantEnter the environment withvagrant ssh.Inside the environment, runjupyter notebook --ip=0.0.0.0.Copy the bottom-most URL printed to the console (e.g.,http://127.0.0.1:8888/?token=5dibo(the actual token will be way, way, way longer)).Open your favorite web browser, paste in the URL, and go to it.1Notice that this doesn't issuebdist_wheel, in flagrant violation ofthe official packaging tutorial. I've found wheel construction in Vagrant environments to be a bit buggy and, fortunately, unnecessary for my projects. If you find the lack of wheels disturbing, then you probably know enough about packaging not to need an environment like this in the first place.
Package: chtk
chtkPurposechtk is short for "Clone Hero Toolkit." It is a suite of data science tools that are useful for working with Clone Hero data.FeaturesGetting Startedchtk can be installed using pippipinstallchtkUsageTODOExamplesTODOAPITODODocumentationYou can check out the full documentationhereContributionTODOAuthorTODO
Package: chubb-cog-helpers
Chubb COG HelpersAvailable Helpers:ModuleFunctionAvailabilitysecret_lockerSecretLockerYmetricsbivariateYmetricscont_bivariateNmetricsfraud_bivariatesYmetricsfraud_cont_bivariatesNsupervisedfeature_importanceYsupervisedlift_chartYunsupervisedfeature_importanceNunsupervisedlift_chartNreason_codesshap_xgboostN
Package: chubby
InstallationpipinstallchubbyFeaturesIssues# creating new issueschubbyissue-t"This is the issue title"-d"This is the issue description"-r"meetmangukiya/chubby"# Edit issueschubbyissue-t"This is the new issue title"-r"meetmangukiya/chubby"-n23# get issue datachubbyissue-n23-r"meetmangukiya/chubby"For complete help, please usechubby issue-hConfigOnce you have installed chubby its time to configure it. Chubby uses GitHub
personal access tokens to carry out all this actions on behalf of the user.
Hence, you need to add it,chubbyconfig-t"<this is your github acess token>"chubbyconfig-h# to get help
Package: chucknorris
A library of quips about Chuck Norris, including a plugin for pmxbot to
apply the quips to your chat colleagues.Usage>>> import chucknorris.quips as q
>>> q.random('Janet')
'Janet doesn't wear a watch. She decides what time it is.'Plugin SetupTo enable the pmxbot plugin, just install this package in your
pmxbot environment. Once you’ve done this, the !norris command
will be available.To override the default gender for a given nickname, just add names
to the relevant nicks in your config.yaml:female nicks:
  - beibeix

male nicks::
  - jaracoNames like ‘judy’ or ‘brad’ will be detected automatically.
Package: chucknorrisfacts
ChuckNorrisFactsDisplay a random Chuck Norris JokesI made this simple Package as an exercise to practice python packing for the courseCreating and Distributing Python Packagesfromcourses.twoscoopspress.comFree software: MIT licenseDocumentation:https://chucknorrisfacts.readthedocs.io.UsageTo use ChuckNorrisFacts in a python project:fromchucknorrisfacts.chucknorrisfactsimportcnfactscnfacts()Response example:***Chuck Norris Facts***Scientists have estimated that the energy given off during the Big Bang is roughly equal to 1CNRhK (Chuck Norris Roundhouse Kick).***Other Pypi packages About Chuck Norris factschucknorris:https://github.com/yougov/chucknorrispython-chuck-norris:https://github.com/ricobl/python-chuck-norrischuck-norris-python:https://github.com/Keda87/chuck-norris-pythonCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.2.7 (2018-03-26)
* Fixing README.rst format0.2.4 (2018-03-23)
* Fixing CLI test0.2.3 (2018-03-23)
* Updating CLI option0.2 (2018-03-22)
* Packgae update test0.1.1 (2018-03-21)
* First release on PyPI.
Package: chuck-says
Chuck Norris Facts, right in your terminal!Because, who wouldn't want that? You better...Get your day started as soon you see that sweet Chuck Norris fact of the day in your terminal; there's more than 600+ facts here, baby!
They're all real... allegedly.This package was completely made to write a blog post. It's not meant to be a 'real' project. It's fun though.You can check out the post at:https://codingdose.info/2019/06/08/create-a-project-page-for-your-repositories-easily-with-Jekyll/Installation and UsageInstall this package right now before Chuck installs his foot on your face.$pipinstall--userchuck-saysWorried about how to execute it before Chuck executes you? Just callChuck!# Automatically add Cowsay
$ chuck
  ________________________________________
/ Chuck Norris doesn't need a debugger, he \
| just stares down the bug until the code  |
\ confesses.                               /
  ----------------------------------------
         \   ^__^
          \  (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||

# Output fact only if you want to integrate it with another 'cow'
$ chuck -n | cowsay -f eyes
 _______________________________________
/ Chuck Norris has never won an Academy \
| Award for acting... because he's not  |
\ acting.                               /
 ---------------------------------------
    \
     \
                                   .::!!!!!!!:.
  .!!!!!:.                        .:!!!!!!!!!!!!
  ~~~~!!!!!!.                 .:!!!!!!!!!UWWW$$$
      :$$NWX!!:           .:!!!!!!XUWW$$$$$$$$$P
      $$$$$##WX!:      .<!!!!UW$$$$"  $$$$$$$$#
      $$$$$  $$$UX   :!!UW$$$$$$$$$   4$$$$$*
      ^$$$B  $$$$\     $$$$$$$$$$$$   d$$R"
        "*$bd$$$$      '*$$$$$$$$$$$o+#"
             """"          """""""To have a fun fact whenever you open your terminal just edit your shell configuration file.
For Bash:echochuck>>~/.bashrcFor Fish:# Edit your fish_greeting function~functionfish_greeting
             chuckend# And save it~funcsavefish_greetingCollaborationWant to add a fact? Are you a first timer and want to make your first pull request? Is my coding style a piece of garbage that makes your eyes bleed? Fear not!Get that fork going, boy.Make your changes in thedevelopbranch.Make a pull request including your changes.Boom, your done, get that approved pull request into your CV right now goddammit.How it worksWho the hell knows? I just made this yesterday.
Package: chuda
ChudaChudais a very simple Python3 framework to create CLI (Command-Line-Interface) tools.It will handle for you some basic stuff: parse configuration file, logging, argument parsing, signal handling etc...FeaturesRepresent commands and argparse arguments by Python classesHandle parsing of a configuration file for you (INI, JSON, or YAML withpyyaml)Provide you a configurable logger, and some basic options to quiet/verbose modeSignals handling by decoratorDocumentationThe documentation is accessiblehereExampleimportsysimportsignalfromchudaimportApp,autorun,Commandsignal_handler,OptionclassFooSubcommand(Command):command_name="foo"description="a foo subcommand"defmain(self):self.logger.info("foo")self.app.subcommands["bar"].run()classBarSubcommand(Command):command_name="bar"description="the ultimate bar subcommand"arguments=[Option(name=["--path"],default="~")]defmain(self):process=self.shell.run("ls",cwd=self.arguments.path)self.logger.info(process.output)@autorun()classFooBarApp(App):app_name="foobar"description="Foobar application"config_path=["./config.ini","../config.ini"]subcommands=[FooSubcommand,BarSubcommand]@signal_handler(signal.SIGINT)defhandle_ctrl_c(self,signum,frame):self.logger.info("Stopping...")sys.exit(2)
Package: chumble
Easy enums for Python.>>>RGB=StringEnum(['Red','Green','Blue'])>>>RGB.Red'Red'Contents1Installation2Features3Use4Contributing4.1Installing for development4.2Running the tests4.3Adding documentation5Credits1InstallationInstallezenumwith:pipinstallezenum2FeaturesPure Python.Compatible with Python 3.5+.Easy creation of usefull enum objects.String enums with unified value and name attributes.3UseStringEnumEasilly get a string enum from a string list.4ContributingPackage author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help.4.1Installing for developmentClone:gitclonegit@github.com:shaypal5/ezenum.gitInstall in development mode with test dependencies:cdezenumpipinstall-e".[test]"4.2Running the testsTo run the tests, use:python-mpytest--cov=ezenum4.3Adding documentationThis project is documented using thenumpy docstring conventions, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings (in my personal opinion, of course). When documenting code you add to this project, please followthese conventions.5CreditsCreated by Shay Palachy (shay.palachy@gmail.com).
Package: chumbot
ChumbotThe Conveying Harmonies Unto Mumble Bot, or Chumbot, is a Mumble soundboard and notification bot
written in Python 3. Chumbot relies on thePYMUMBLEAPI,
which requires theopuslibandprotobufPython libraries as well aslibopusbeing available
on the host machine.Chumbot is currently not supported on Windows.InstallationFor usersThe Chumbot client can be installed viapip:pip install chumbotFor developersChumbot can be installed for development by first installingPoetryand running
the following command within the project directory:poetry installUsageChumbot is run from the command line. Audio clips should be stored in mp3 format.usage: chumbot [-h] [-u USERNAME] [-H HOST] [-P PORT] [-p PASSWORD] [-d]

Chumbot command-line interface

options:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        specify Chumbot's username
  -H HOST, --host HOST  specify the Mumble host address
  -P PORT, --port PORT  specify the Mumble host port
  -p PASSWORD, --password PASSWORD
                        specify the Mumble host password
  -d, --debug           enable debug message printingConfigurationChumbot configuration is stored in~/.config/chumbot.ini. Chumbot must be configured to know where
audio files are stored.Chumbot can be configured to play a specific clip when a link or image is posted
or when a user joins or leaves a channel. It can even be configured to play a personalized 'join' or 'disconnect'
sound for each user.An examplechumbot.ini:[mumble]
Username = chumbot
Host = example.murmur.nfoservers.com
Port = 2112
Password = 1234

[clips]
ClipDir = ~/chumbot-clips
LinkPostedClipName = link_clip
UserJoinedClipName = default_join_clip
UserLeftClipName = default_leave_clip

[join]
user1 = join_clip1
user2 = join_clip2
user3 = join_clip3

[disconnect]
user1 = disconnect_clip1
user2 = disconnect_clip2
user3 = disconnect_clip3ContributingContributions are taken and any pull requests will be reviewed by me (eventually).Please attempt to adhere to the coding practices in.pylintrc. Ensure no pylint
warnings are generated before creating a PR.
Package: chump
Chump is a fully featured API wrapper forPushover:>>>fromchumpimportApplication>>>app=Application('vmXXhu6J04RCQPaAIFUR6JOq6jllP1')>>>app.is_authenticatedTrue>>>user=app.get_user('KAGAw2ZMxDJVhW2HAUiSZEamwGebNa')>>>user.is_authenticated,user.devices(True, {'iPhone'})>>>message=user.send_message("What's up, dog?")>>>message.is_sent,message.id,str(message.sent_at)(True, '7LjjD6bK8hgqdK6aJzZUblOPPH9cVpjZ', '2005-10-05 07:50:40+00:00')InstallationInstall chump just like everything else:$pipinstallchumpDocumentationFull documentation is available atReadTheDocs.
Package: chun-codes
chun_codesSet of Python 2.7 and 3.xx codes used in astrochun's codesInstallationFor Python 3.7+, use PyPI!$ (sudo) pip install chun-codesFor Python 2.7, at the moment it is not built and available on PyPI, so
please clone and install:$ git clone https://github.com/astrochun/chun_codes.git
$ cd chun_codes
$ (sudo) python setup.py developNotes:No CI build test for 2.7Some dependencies (e.g.,pdfmerge) are only compatible with python 2.7.
This requires migrating to a better solution that works for python 3.7+
Package: chungpy
An implementation of Chung & Lu[1]’s linear time algorithm for solution of the Maximum Density Segment Problem with additional features, namely simultaneous identification of Minimum Density Segments and consideration of content constraints[1]K.-M. Chung and H.-I. Lu. An optimal algorithm for the maximum-density segment problem. SIAM Journal on Computing, 34(2), 2005.RequirementsPython >= 3.2Numpy >= 1.7InstallationUsing easy_install, all dependencies will be installed automatically if missing:$ easy_install3 chungpyWhen installing manually from setup.py, just execute:$ python3 setup.py installUsagehttp://chungpy.readthedocs.orgCopyright (c) 2014 Corinna Ernst <corinna.ernst@uni-due.de> (see LICENSE)
Package: chungus
CHUNGUS*IN ALL TEXT BELOW, LARGE BRACKETS({}) MEANS FOR YOU TO COME UP WITH SOMETHING *CHUNKY MOD THAT LAGS AND TAKES UP SPACETo troll your friends(METHOD 1: Harder but less sus):Step 1: PrepareYou need a setup like this:{name}|----{name}. . . . |-----__init__.py. . . . |-----{name}.py|----README.md|----LICENSE|_ _setup.pyStep 2: Write codeIn{name}.py, writeimport chunkyIn README.md, write a description(like this description is!)In LICENSE, you use "No License" as my Apache 2.0 does not let you publish publicly. You cannot publish this publicly in any way, however you can spread word about the original Chungus module by me. Use PyModuleDev as my name.In setup.py, write this:from setuptools import setup
with open("README.md", "r", encoding="utf-8")as fh:    long_description = fh.read()
setup(
name="{name}",
version="0.0.0",author="{your_name}",   author_email="{your_email}",    description="Chunky Module",    long_description=long_description,    long_description_content_type="text/markdown",    packages=["snoringness"],    classifiers=[        "Development Status :: 5 - Production/Stable",        "Intended Audience :: Developers",        "Programming Language :: Python :: 3"    ],    python_requires=">=3.6")Step 3: Write commandsOpen the Python terminal. There, use the cd command to navigate to the directory yoursetup.pyis in. Now typepip install setuptoolsand run. Last, typepython setup.py sdist bdist_wheeland that's it! Look inside the newly addedbuildanddistfolders and find the.tar.gzfile OR the.whlfile. Distribute these files any PRIVATE way you want. Distributing publicly would "disturb" the Apache License 2.0.To troll your friends(Easier but more sus):Have your friend runpip install chungus. Thats it!LICENSEPermissionsYou are granted a non-exclusive, worldwide, royalty-free license to use the Chungus module as you see fit.LimitationsYou are not granted any rights to modify, distribute, sublicense, or sell the source code of the Chungus module.WarrantyThe Chungus module 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 non-infringement. 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 Chungus module or the use or other dealings in the Chungus module.
Package: chunk
Chunk is a dictionary that supports attribute-style access, a la JavaScript.>>> b = Chunk()
>>> b.hello = 'world'
>>> b.hello
'world'
>>> b['hello'] += "!"
>>> b.hello
'world!'
>>> b.foo = Chunk(lol=True)
>>> b.foo.lol
True
>>> b.foo is b['foo']
TrueDictionary MethodsA Chunk is a subclass ofdict; it supports all the methods adictdoes:>>> b.keys()
['foo', 'hello']Includingupdate():>>> b.update({ 'ponies': 'are pretty!' }, hello=42)
>>> print repr(b)
Chunk(foo=Chunk(lol=True), hello=42, ponies='are pretty!')As well as iteration:>>> [ (k,b[k]) for k in b ]
[('ponies', 'are pretty!'), ('foo', Chunk(lol=True)), ('hello', 42)]And “splats”:>>> "The {knights} who say {ni}!".format(**Chunk(knights='lolcats', ni='can haz'))
'The lolcats who say can haz!'SerializationChunkes happily and transparently serialize to JSON and YAML.>>> b = Chunk(foo=Chunk(lol=True), hello=42, ponies='are pretty!')
>>> import json
>>> json.dumps(b)
'{"ponies": "are pretty!", "foo": {"lol": true}, "hello": 42}'If JSON support is present (jsonorsimplejson),Chunkwill have atoJSON()method which returns the object as a JSON string.If you havePyYAMLinstalled, Chunk attempts to register itself with the various YAML Representers so that Chunkes can be transparently dumped and loaded.>>> b = Chunk(foo=Chunk(lol=True), hello=42, ponies='are pretty!')
>>> import yaml
>>> yaml.dump(b)
'!chunk.Chunk\nfoo: !chunk.Chunk {lol: true}\nhello: 42\nponies: are pretty!\n'
>>> yaml.safe_dump(b)
'foo: {lol: true}\nhello: 42\nponies: are pretty!\n'In addition, Chunk instances will have atoYAML()method that returns the YAML string usingyaml.safe_dump(). This method also replaces__str__if present, as I find it far more readable. You can revert back to Python’s default use of__repr__with a simple assignment:Chunk.__str__ = Chunk.__repr__. The Chunk class will also have a static methodChunk.fromYAML(), which loads a Chunk out of a YAML string.Finally, Chunk converts easily and recursively to (unchunkify(),Chunk.toDict()) and from (chunkify(),Chunk.fromDict()) a normaldict, making it easy to cleanly serialize them in other formats.MiscellaneousIt is safe toimport *from this module. You’ll get:Chunk,chunkify, andunchunkify.Ample doctests:$ python -m chunk.test
$ python -m chunk.test -v | tail -n22
1 items had no tests:
    chunk.fromYAML
16 items passed all tests:
   8 tests in chunk
  13 tests in chunk.Chunk
   7 tests in chunk.Chunk.__contains__
   4 tests in chunk.Chunk.__delattr__
   7 tests in chunk.Chunk.__getattr__
   3 tests in chunk.Chunk.__repr__
   5 tests in chunk.Chunk.__setattr__
   2 tests in chunk.Chunk.fromDict
   2 tests in chunk.Chunk.toDict
   5 tests in chunk.chunkify
   2 tests in chunk.from_yaml
   3 tests in chunk.toJSON
   6 tests in chunk.toYAML
   3 tests in chunk.to_yaml
   3 tests in chunk.to_yaml_safe
   4 tests in chunk.unchunkify
77 tests in 17 items.
77 passed and 0 failed.
Test passed.FeedbackOpen a ticket / fork the project onGitHub, or send me an email atdsc@less.ly.
Package: chunkblocks
Library to facilitate chunked access of large ndarray-like volumesFree software: MIT licenseInstallationpip install chunkblocksDocumentationhttps://chunkblocks.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.1.0 (2018-06-18)First release on PyPI.
Package: chunkcrypt
This is a simple script for encrypting and decryption file by chunk usingcryptographypackage, decryption includes download from url.
Project repository url is not yet available, mostly because of its inactive development status.Encrypting files:fromchunkcrypt.cryptchunkimportencrypt_file# encrypt_file(key, file, output_file, chunk_size)# encrypting without a provided keyencrypt_file(None,'/home/user/myfile.txt','/home/user/encryfile.txt')# "myfile.txt" is now encrypted and the encrypted file is located at "/home/user/encrytfile.txt"# encrypting with a provided keyencrypt_file('CemuWNzkXti7OVAmFV0SIpZAxkF2wybK','/home/user/myfile.txt','/home/user/encrytfile.txt')# specifying a chunksize, default is 1024encrypt_file(None,'/home/user/myfile.txt','/home/user/encryfile.txt',2048)# the length of bytes of a encrypted chunk is also written on the encrypted file on a 4 element array of bytes format# this is needed since Fernet returns additional bytes whenever it encrypted dataDecrypting files:fromchunkcrypt.cryptchunkimportdecrypt_file,downl_decrypt# decrypt_file(key, encrypted_file, output_file)# downl_decrypt(url, output_file, key, silent=True,  pre='', suff='', msg_v='')# decryption can also be done on file encrypted using encrypt_file()# decrypting a filedecrypt_file('CemuWNzkXti7OVAmFV0SIpZAxkF2wybK','/home/user/encrytfile.txt','/home/user/decryptfile.txt')# decrypting from url, only works on direct download link or hotlinkdownl_decrypt('https://sampledownl.com/download/encryptedfile.txt','/home/user/decryptfile.txt','CemuWNzkXti7OVAmFV0SIpZAxkF2wybK')# decrypting from url, with messagedownl_decrypt('https://sampledownl.com/download/encryptedfile.txt','/home/user/decryptfile.txt','CemuWNzkXti7OVAmFV0SIpZAxkF2wybK',False,' * ',' - Test','MyFile')# Output:#  * Attempting to Download MyFile - Test#  * Finished Downloading MyFile - Test#  * Attempting to Decrypt Downloaded MyFile. Please wait, this might take a while depending on the size of file - Test#  * Finished decrypting MyFile - Test
Package: chunkdup
chunkdupFind (partial content) duplicate files usingchunksumoutputs.usage: chunkdup [-h] [chunksums1] [chunksums2]

Find (partial content) duplicate files.

positional arguments:
  chunksums1  path to chunksums
  chunksums2  path to chunksums

optional arguments:
  -h, --help  show this help message and exit

Examples:

  $ chunksum dir1/ -f chunksums.dir1
  $ chunksum dir2/ -f chunksums.dir2
  $ chunkdup chunksums.dir1 chunksums.dir2usage: chunkdiff [-h] [-b BAR] [-w BARWIDTH] [-n] [-s CHUNKSUMS]
                 [file1] [file2]

Show the difference of two files.

positional arguments:
  file1                 path to file
  file2                 path to file

optional arguments:
  -h, --help            show this help message and exit
  -b BAR, --bar BAR     the style of bar. default: oneline
  -w BARWIDTH, --barwidth BARWIDTH
                        the width of bar. default: 40
  -n, --nocolor         do not colorize output. default: False
  -s CHUNKSUMS, --chunksums CHUNKSUMS
                        path to chunksums file

Examples:

  $ chunksum dir1/ -f chunksums.dir1
  $ chunksum dir2/ -f chunksums.dir2

  $ chunkdiff chunksums.dir1 chunksums.dir2 dir1/file1 dir2/file2

  $ chunkdiff chunksums chunksums ./file1 ./file2