Saravanan666/pypi-org huggingface dataset:
Package: crayons
This module is really simple, it gives you colored strings for terminal
usage. Included colors arered,green,yellow,blue,black,magenta,cyan,white, andnormal(as well ascleananddisable).Crayonsis nice because it automatically wraps a given string in both the foreground color, as well as returning to the
original state after the string is complete. Most terminal color libraries make you manage this yourself.Arguments includealways=Trueandbold=True.FeaturesIf you calldisable(), all future calls to colors will be ignored.If you callnormal(), color is reset to default foreground colorIf the current process is not in a TTY (e.g. being piped), no colors will be displayed.Length of ColoredStrings can be properly calculated.Powered by colorama.Usage is simple# red is red, white is white.
>>> print('{} white'.format(crayons.red('red')))
red whiteThat’s it!Installation$ pip install crayons
Package: crayopt
CrayNNYet Another toolkit for Neural Network slightly flavoured by Ultra-High Energy Cosmic Rays.PhilosophyCrayNNis highly influenced byLasange:Simplicity: Be easy to use, easy to understand and easy to extend, to facilitate use in research
Transparency: Do not hide Theano behind abstractions, directly process and return Theano expressions or Python / numpy data types
Modularity: Allow all parts (layers, regularizers, optimizers, ...) to be used independently of Lasagne
Pragmatism: Make common use cases easy, do not overrate uncommon cases
Restraint: Do not obstruct users with features they decide not to use
Focus: "Do one thing and do it well"Just replacetheanowithtensorflow.Installationvia PyPipip install craynnvia gitCrayNNcan be installed directly fromgitlab.com:pip install git+https://gitlab.com/craynn/craynn.githowever, as repository updates quite often, it is recommend to clone the repository
and install the package in development mode:git clone git@gitlab.com:craynn/craynn.git
cd craynn/
pip install -e .UsageCheck out jupyter notebooks inexamples/.
Package: craytraverse
craytraverse (0.1.6)c/c++ libraries for raytraverse, including radiance based render classes.Free software: Mozilla Public License 2.0 (MPL 2.0)Documentation:https://raytraverse.readthedocs.io/en/latest/.InstallationThe easiest way to install craytraverse is with pip:pip install --upgrade pip setuptools wheel
pip install craytraverseor if you have cloned this repository:cd path/to/this/file
git submodule init
git submodule update
pip install .History0.1.6 (2022-12-23)changed rontrib_clear to hopefully avoid segfault occuring after many resets
the diagnosis was using lu_delete instead of lu_done. tested on mac and linux.0.1.5 (2022-10-26)fixed bug from updated radiance where calcontext was not getting
reinitialized after rcontrib.reset()added basic usable renderer objects (without raytraverse)0.1.4 (2022-09-27)updated radiance0.1.3 (2022-07-05)error messages in linux0.1.2 (2022-05-19)added color-channel support0.1.1 (2022-04-28)added scene property to render objects available from pythonupdated to radiance db4988bb 2022-04-240.1.0 (2022-04-14)split from main raytraverse module.
Package: crazydoc
Crazydoc is a Python library to parse one of the most common DNA representation formats: the joyfully coloured and stylishly annotated MS-Word document.While other standards such as FASTA or Genbank are better supported by modern sequence editors, none enjoys the same popularity among molecular biologist as MS-Word’s.docxformat, which is limited only by the sophistication and creativity of the user.InfosPIP installation:pipinstallcrazydocGithub Pagehttps://github.com/Edinburgh-Genome-Foundry/crazydocLicense:MIT, Copyright Edinburgh Genome FoundryMore biology softwareCrazydoc is part of theEGF Codonssynthetic biology software suite for DNA design, manufacturing and validation.
Package: crazyhusk
CrazyHuskDependency-free Python object wrappers for working with Unreal EngineFeaturesTODORequirementsTODOInstallationYou can installCrazyHuskviapipfromPyPI:$pipinstallcrazyhuskUsagePlease see theCommand-line Referencefor details.ContributingContributions are very welcome.
To learn more, see theContributor Guide.LicenseDistributed under the terms of theMIT license,CrazyHuskis free and open source software.IssuesIf you encounter any problems,
pleasefile an issuealong with a detailed description.
Package: crazy-ibmi
SQLAlchemy adapter for IBM iThe IBM i SQLAlchemy adapter provides aSQLAlchemyinterface to Db2 forIBM i.Please note that this project is still under active development. Please
report any bugs in the issue tracker:rotating_light:importsqlalchemyassa# see documentation for available connection options# pass connection options in url query string, eg.# engine = sa.create_engine("ibmi://user:pass@host?autocommit=true&timeout=10"# find usage of create_engine database urls here# https://docs.sqlalchemy.org/en/13/core/engines.html#database-urls# this is the base connection which connects to *LOCAL on the hostengine=sa.create_engine("ibmi://user:pass@host")cnxn=engine.connect()metadata=sa.MetaData()table=sa.Table('table_name',metadata,autoload=True,autoload_with=engine)query=sa.select([table])result=cnxn.execute(query)result=result.fetchall()# print first entryprint(result[0])Installationpipinstallsqlalchemy-ibmiFeature SupportSQLAlchemy ORM  - Python object based automatically constructed SQLSQLAlchemy Core - schema-centric SQL Expression LanguageDocumentationThe documentation for the SQLAlchemy adapter for IBM i can be found at:https://sqlalchemy-ibmi.readthedocs.io/en/latest/Known LimitationsNon-standard SQL queries are not supported. e.g. "SELECT ? FROM TAB1"For updations involving primary/foreign key references, the entries should be made in correct order. Integrity check is always on and thus the primary keys referenced by the foreign keys in the referencing tables should always exist in the parent table.Unique key which contains nullable column not supportedUPDATE CASCADE for foreign keys not supportedDEFERRABLE INITIALLY deferred not supportedSubquery in ON clause of LEFT OUTER JOIN not supportedContributing to the IBM i SQLAlchemy adapterPlease read thecontribution guidelines.The developer sign-off should include the reference to the DCO in remarks(example below):
DCO 1.1 Signed-off-by: Random J Developer <random@developer.org>Releasing a New Version# checkout and pull the latest code from mastergitcheckoutmaster
gitpull# bump to a release version (a tag and commit are made)bumpversionrelease# To skip a release candidatebumpversion--no-tag--no-commitrelease
bumpversion--allow-dirtyrelease# bump to the new dev version (a commit is made)bumpversion--no-tagpatch# push the new tag and commitsgitpushoriginmaster--tagsLicenseApache 2.0Creditsibm_db_sa for SQLAlchemy was first produced by IBM Inc., targeting version 0.4.The library was ported for version 0.6 and 0.7 by Jaimy Azle.Port for version 0.8 and modernization of test suite by Mike Bayer.Port for sqlalchemy-ibmi by Naveen Ram/Kevin Adler.
Package: crazyimports
Crazy Imports - treat your data as your codecrazyimportsmodule allows you to use your data files as if it was python modulesDocumentationGitHub repoSimple exampleInstallcrazyimportsmodulepip install -U crazyimportsCreateexample.jsonfile with this content{"number":42}Than in the same directory createtest.pyfileimportcrazyimportsimportexampleprint(example.number)Then when you runpython test.pyyou would see42output in your command lineYou can find more examples in examples section ofdocumentationSupported file extensions.jsonfor JSON files.sqlite3and.sqlitefor SQLite3 database files.csvfor CSV (Comma Separated Values) files.yamland.ymlfor YAML files.picklefor pickle files.tomlfor toml filesCreditsHeavily inspired bythis talkby@bobuk
Package: crazylegs
This is a package that has useful machine vision for use with CarsCHANGE LOGRELEASE 10.0.0.1  (7/27/2021)First Release\RELEASE 20.0.0.2 –> 7/27/2021Just wanted to test some things outreally didn’t don anything\-RELEASE 3
-0.0.0.3–> 7/27/2021
-Just wanted to test some things out
-really didn’t don anything
Package: crazylog
crazylogcrazyloglogs like crazy. Allows to add extensive logging at each step in the python execution cycle.InstallationYou can install from pypi:pipinstall-UcrazylogOr get the latest updates (Not recommended for production):pipinstall-Ugit+https://github.com/afarntrog/crazylog.gitQuickstartHere you can see a few samples to get a feel of whats ahead.Basic examplefromcrazylogimportCrazyLoggerdeffoo():print('running code ...')withCrazyLogger()ascrazy:foo()Run it for specific classes onlyclassCustomClass:passwithCrazyLogger()ascrazy:crazy.exclusively=[CustomClass]foo()Apply it manually to specific classes via metaclassesRun the code as usual.CrazyLoggerwill kick in if that class is calledfromcrazylogimportCrazyLoggerMetaclassCustomClass(metaclass=CrazyLoggerMeta):defprinter(self):print('CrazyLogger is active')deffoo():print('CrazyLogger will do nothing')CustomClass().printer()# run as usualfoo()Apply it at the module levelapplyshould be added at the bottom of the module that you want it to take affect.# my_first_module.pyfromcrazylogimportCrazyLoggerclassCustomClass():defprinter(self):print('CrazyLogger is active')deffoo():print('CrazyLogger is active')CustomClass().printer()CrazyLogger.apply(__name__)# my_second_module.pyfrommy_first_moduleimportfoodefbar():print('CrazyLogger is not active in this module - only in my_first_module')foo()# CrazyLogger only has an effect when `foo` is called.Feedback and contributingThis library is very focused on being easy and fun to use, so if you find something that you think can be improved
please open an issue or even better, a PR, thank you!
Package: crazy-piano
crazy-pianoAssists in the exploration of how wedefinemusic. Currently generates a set of frequencies for any number of notes in an octave. 10-keys-per-octave keyboard? Why not!Installation (with pip)pip install crazy-pianoFunctionalityList of Functionscompute_frequencies(m=12, f0=440, base=2, low_thresh=20, high_thresh=8000): Generates a set of frequencies corresponding to different numbers of notes per octave. Based on a modified version of theformula for computing frequencies in an octave.m: The number of steps in an octave. 12 is standard.f0: Baseline frequency. 440 Hz is conventional starting point for A4 pitch.base: The base of growth for frequencies. Determines how fast the frequencies increase.low_thresh: The lowest frequency allowed. 20 Hz is low limit of human hearing.Whenlow_threshis met, still finishes the octave. i.e. If the 3rd note of an octave is belowlow_thresh, will still return the 1st and 2nd notes of that octave.high_thresh: The highest frequency allowed. 8000 Hz traditionally the 8th octave.Whenhigh_threshis met, still finishes the octave. i.e. If them-2note of an octave is abovehigh_thresh, will still return them-1andmnotes of that octave.Ideas for more? Create an issue, or emailmikealtonji@gmail.comwith feedback.UsageCreates a pandas dataframe containing the frequencies for each note, where 440 Hz is the base value. Uses default values for low and high frequency cut-offs.from crazy_piano import compute_frequencies
keyboard_10_notes = compute_frequencies(m=10)Output Dataframe ColumnsOctave:f0is the reference point. It is the 0th note of the 0th octave.Octaves lower are negative, and larger are positive. Integer.
Note Number:f0is the reference point. It is the 0th note of any octave. The largestNote Numberis thereforem-1. Integer.
Frequency (Hz): The frequency corresponding to theOctaveandNote Number, in Hertz. Float.ContributorsMichael AltonjiInterested in collaborating? Emailmikealtonji@gmail.com, or submit issues for features you'd like to see in the future!LicenseMIT License
Package: crazy-thursday
crazy-thursday大家好, 我是秦始皇, 其实我并没有死, 我在西安有 100000 吨黄金, 今天肯德基疯狂星期四, 谁可以 V 我 50 元, 我明天直接带部队复活, 让你统领三军!安装pip3installcrazy-thursday或者python3 -m pip install crazy-thursday使用如果成功安装, 系统中便会存在一个名为crazy-thursday和一个名为kfc的命令. 直接调用crazy-thursday或kfc便会在控制台中随机地输出一段疯狂星期四文案.如何贡献你不需要贡献代码, 只需要创建 issue, 并且留下文案即可.后台有一个定时任务, 定时收集本项目的所有 issue, 并汇总打包成.whl文件, 发布到PyPI上.版本号本项目采用 4 位版本号, 其格式为<year>.<month>.<day>.<build>, 其中:<year>为发布时间中的年份.<month>为发布时间中的月份.<day>为发布时间中的日期.<build>为发布当天构建序号, 从0开始.比如版本1926.8.16.3含义为该版本是 1926 年 8 月 16 日构建的第 4 个版本.工作原理本项利用 Github Actions 每天自动发布版本, 其工作原理如下图所示.%%{init: {"theme": "base", "themeVariables": {"primaryColor": "#FFFFFF", "primaryBorderColor": "#000000"}}}%%

graph TD
    A("☁️ https://github.com/zqmillet/crazy-thursday") -->|collect issues| B("📄 crazy_thursday/corpus.jsonl")
    B -->|update version| C("📄 crazy_thursday/__init__.py") 
    C --> |commit & push| D("☁️ https://github.com/zqmillet/crazy-thursday")
    D --> |build| E("📦 dist/crazy_thursday-*.whl")
    E --> |publish| F("🌐 https://pypi.org/project/crazy-thursday")定时任务的工作流程为:首先 clone 项目, 配置 Python, 安装依赖.执行scripts/update_curpus.py脚本, 自动抓去本项目的所有 issue 并保存到crazy_thursday/corpus.jsonl文件中.更新crazy_thursday/__init__.py文件中的版本号.提交 commit 并且 push 回代码仓.将最新的代码打包成.whl文件, 并发布到 PyPI 上.该定时任务每天会执行两次, 你提交的 issue 会出现在第二天的版本中.
Package: crazy-tiger
Generate harmless random nicknames, such as CrazyTigerExamples:FabulousHamster
YellowDolphin
SpaceLlama
StellarLemur
TropicalWombatInstallationpip install crazy_tigerUsage>>>importcrazy_tiger>>>crazy_tiger.generate()'AdorableEagle'>>>crazy_tiger.generate(case="snake")'adorable_eagle'CreditsThis project is inspired by the learning platformKahoot!and itsFriendly Nickname Generator, which helps to avoid inappropriate nicknames inKahoot!games.The word lists used in this project can be accessed here: All credit for the idea and for compiling appropriate words goes to theKahoot!team.
Package: crbutils
crbutilsA DS utility function libraryref folder with reference data and models for Testing and dev for three model examplesContinuousBinary classifierMultilevel classifierFoldersRaw dataProcessed dataModelsNB to minimise load to GDrive, then venv is stored locally atC:\Users\Christopher\venvs\crbutilsTODOTestingIncorporate test functionalityCore functionalityHave a read through my Deliveroo job project and see what I can use from thereSample moduleGet a sample function that takes train_test_split and returns train test AND validationGet jumble function - test that var stats still matchIO moduleRead in a return a json config fileEDA modulemissingsdistributionspandas reportpreprop moduleclippingreplace missingmodeval modulefeat_implorenz_curvegains_curveconf_matrixScatter plotperf_metrics returns perf metrics based on model~mae rms r2 etc. for continuousF1 prec recall etc. for binaryAccuracy for binarySort out the CD componentHow do I copy a file from the github actions vm to my local machine??https://andrewpwheeler.com/2022/05/10/building-wheel-files-in-github-actions/https://www.dynamsoft.com/codepool/cpython-barcode-qr-wheel-build-publish.htmlhttps://pythonprogramming.org/automatically-building-python-package-using-github-actions/https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/https://www.seanh.cc/2022/05/21/publishing-python-packages-from-github-actions/SSH connection between github and local machinehttps://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection?platform=windowshttps://docs.github.com/en/actions/learn-github-actions/understanding-github-actions#runners"A runner is a server that runs your workflows when they're triggered. Each runner can run a single job at a time.
GitHub provides Ubuntu Linux, Microsoft Windows, and macOS runners to run your workflows; each workflow run executes in
a fresh, newly-provisioned virtual machine. GitHub also offers larger runners, which are available in larger
configurations."
Package: crc
CRCCalculate CRC checksums, verify CRC checksum, predefined CRC configurations, custom CRC configurationsDocumentation:https://nicoretti.github.io/crcSource Code:https://github.com/Nicoretti/crcAvailable CRC ConfigurationsFor convenience various frequently used crc configurations ship with the library out of the box.CRC8CRC16CRC32CRC64CCITTCCITTCRC32CRC64AUTOSARGSMAUTOSARSAEJ1850PROFIBUSBZIP2BLUETOOTHMODBUSPOSIXMAXIM-DOWIBM-3740If you find yourself in the position, where having a new configuration available out of the
box would be desirable, feel free to create aPRor file anissue.Custom ConfigurationsIf you want to create a custom configuration, you should have the following information available:🗒 Note:This library currently only supports bit widths of full bytes 8, 16, 24, 32, ...widthpolynominit valuefinal xor valuereversed inputreversed outputIn case you only have a name of a specific crc configuration/algorithm and you are unsure what are the specific parameters
of it, a look into thiscrc-cataloguemight help.Requirements>= Python 3.8InstallationpipinstallcrcExamplesCreate a CalculatorPre defined configurationfromcrcimportCalculator,Crc8calculator=Calculator(Crc8.CCITT)Custom configurationfromcrcimportCalculator,Configurationconfig=Configuration(width=8,polynomial=0x07,init_value=0x00,final_xor_value=0x00,reverse_input=False,reverse_output=False,)calculator=Calculator(config)Calculate a checksumStandardfromcrcimportCalculator,Crc8expected=0xBCdata=bytes([0,1,2,3,4,5])calculator=Calculator(Crc8.CCITT)assertexpected==calculator.checksum(data)Optimized for speedfromcrcimportCalculator,Crc8expected=0xBCdata=bytes([0,1,2,3,4,5])calculator=Calculator(Crc8.CCITT,optimized=True)assertexpected==calculator.checksum(data)Verify a checksumStandardfromcrcimportCalculator,Crc8expected=0xBCdata=bytes([0,1,2,3,4,5])calculator=Calculator(Crc8.CCITT)assertcalculator.verify(data,expected)Optimized for speedfromcrcimportCalculator,Crc8expected=0xBCdata=bytes([0,1,2,3,4,5])calculator=Calculator(Crc8.CCITT,optimized=True)assertcalculator.verify(data,expected)Calculate a checksum with raw registersRegisterfromcrcimportCrc8,Registerexpected=0xBCdata=bytes([0,1,2,3,4,5])register=Register(Crc8.CCITT)register.init()register.update(data)assertexpected==register.digest()TableBasedRegisterfromcrcimportCrc8,TableBasedRegisterexpected=0xBCdata=bytes([0,1,2,3,4,5])register=TableBasedRegister(Crc8.CCITT)register.init()register.update(data)assertexpected==register.digest()References & ResourcesA Painless guide to crc error detection algorithmsCRC-Catalogue
Package: crc16
CRC is a way of detecting accidental changes in data storage or
transmission.  There are many variants of CRC and CRC16, in particular.
This library calculates only CRC16 (16-bit codes) and the only supported
variant at the moment is CRC-CCITT (XModem).If you want to know more about CRC,http://wikipedia.org/wiki/Cyclic_redundancy_checkis a good place to start.If you want other variants of CRC16 supported, please make a request athttp://code.google.com/p/pycrc16/issuesSource codes are hosted athttps://github.com/gennady/pycrc16If you want to contribute to this library, create a fork, make you changes
and then create a pull request.  Any help is appreciated.InstallationOn Windows you can use precompiled binaries which can be found athttp://code.google.com/p/pycrc16/downloadsOn Linux and other operation systems you should compile the library from
the source codes.  To do this on Linux use following steps:download source tarball, e.g. crc16-0.1.1.tar.gz,
fromhttp://code.google.com/p/pycrc16/downloadsextract it with command:tar -xzf crc16-0.1.1.tar.gzcompile and install the library:cd crc16-0.1.1
python setup.py build
sudo python setup.py installyou will need the administrative privileges to execute the last
command.After installation you can run unit tests to make sure that the library
works fine.  Execute:python -m crc16.testUsageIn Python 3:import crc16
print(crc16.crc16xmodem(b'123456789'))In Python 2 you should use strings instead of binary data:import crc16
print(crc16.crc16xmodem('123456789'))You can also calculate CRC gradually:import crc16
crc = crc16.crc16xmodem(b'1234')
crc = crc16.crc16xmodem(b'56789', crc)
print(crc)Other projectsThere are a number of projects and libraries for CRC calculation.
See for example:binascii.crc32 in the standart Python librarypycrc (http://www.tty1.net/pycrc)crcmod (http://pypi.python.org/pypi/crcmod)
Package: crc64iso
CRC64ISOPackage for calculating checksums using64-bit cyclic redundancy checks (CRC)according to theISO 3309standard.Generator polynomial: x64+ x4+ x3+ x + 1Reference:W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, "Numerical recipes in C", 2nd ed.,
Cambridge University Press. Pages 896ff.Requirementspython 3.xExamplesCalculate 64-bit checksum from a string:from crc64iso.crc64iso import crc64

checksum = crc64iso.crc64("ILOVEMATH")Calculate 64-bit checksum from incremental (bytes) data:from crc64iso.crc64iso import crc64_pair, format_crc64_pair

crc_pair_1 = crc64_pair("ILOVE".encode())
crc_pair_2 = crc64_pair("MATH".encode(), crc_pair_1)
checksum = format_crc64_pair(crc_pair_2)
Package: crc8
A module that implements the CRC8 hash algorithm for Python 2 and 3.Installationpipinstallcrc8Or copy thecrc8.pyfile somewhere
where you can import it.UsageThecrc8class has the same interface as the hash functions in thehashlib module.Example:importcrc8hash=crc8.crc8()hash.update(b'123')asserthash.hexdigest()=='c0'asserthash.digest()==b'\xc0'hash.reset()asserthash.hexdigest()=='00'ContributeIf something s not there that you would like to have,open an issue,create a pull request.The license isMITand
I value contributions if you modify the code.ReleaseInstalltwine.pythonsetup.pysdistsource.env# if you have stored TWINE_USERNAME and TWINE_PASSWORDtwineuploaddist/*
Package: crcache
CRCacheCopyright (c) 2013 crcache contributorsLicensed under either the Apache License, Version 2.0 or the BSD 3-clause
license at the users choice. A copy of both licenses are available in the
project source as Apache-2.0 and BSD. You may not use this file except in
compliance with one of these two licences.Unless required by applicable law or agreed to in writing, software
distributed under these licenses is distributed on an “AS IS” BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
license you chose for the specific language governing permissions and
limitations under that license.Overviewcrcache - Compute resource cache - is a command line tool that abstracts out
obtaining, using and reusing computing resources. This permits separation of
project concerns (such as ‘run dpkg-buildpackage’) from environmental concerns
(such as using a Debian wheezy chroot to run the command in).crcache lets you write programs that need to scale to multiple machines without
tying yourself to one particular provisioning system. For instance, running
tests locally, in lxc containers or in a compute cloud can be done with one
crcache call, and the user can tell crcache where (and how) to obtain the
compute resource to run the test in. A simple configuration system and command
line API make it easy to reconfigure at will.The default configuration will run commands locally with no container or any
other isolation:$ crcache acquire
local
$ crcache run local echo foo
foo
$ crcache release localSee the manual onhttps://crcache.readthedocs.org/or in the docs/ subdirectory
of the source tree for configuration details.Differences to “Cloud” APIscrcache differs to cloud APIs (both cloud specific and vendor neutral) in a few
key ways:It focuses on running simple commands within each resources, which gives a
simple programming model.Programs that layer on it do not need to know about the whole cloud computing
model, instead that is a matter for configuration by the user.It manages state locally, allowing mix-and-match across many clouds and/or
local facilities such as chroots and containers.InstallationPip is the easiest way to install crcache:$ pip install crcacheRequirementscrcache is intended to be widely portable. It should run (and if it doesn’t,
its a bug) on any platform as long as you have:Python 2.6+ or 3.2+.The ‘extras’ Python module.The ‘six’ Python module.Some of the provider plugins for cr_cache may be less portable. When a provider
depends on things outside the standard library (or newer than the version range
above), it is placed in a separate tree, so that its installation is optional.