Saravanan666/pypi-org huggingface dataset:
Package: codewithgpu-test
CodeWithGPUCodeWithGPUis a community that focuses on the reproducible AI algorithms. It has close links withGithubby leveraging the managed code, and distributes corresponding docker images, models and logs for friendly reproduction.This repository provides a novel data loading solution that maps data between Python object and serialized bytes automatically. This solution encourages developers to build a hierarchical data loading pipeline, which decouples the reading, transforming and batching. Similar solution, such asNVIDIA DALI, is widely deployed in many HPC systems and ML benchmarks.Besides, it considers a modular and asynchronous design for the inference of AI models. Developers can easily serve their models on distributed devices by creating a many-to-many "Producer-Consumer" dataflow, and the flow control is dealt by the synchronous queues. By this way, model serving resembles training and can also get great benefit from the efficient data loader.Also, it develops the benchmarks of modern AI models on diverse accelerators, including the newest NVIDIA GPUs and Apple Silicon processors. It will help users to match their demand on picking the best suitable devices.“The more reasonable GPUs you buy, the more money you save.”InstallationInstall from PyPI:pipinstallcodewithgpuOr, clone this repository to local disk and install:cdcodewithgpu&&pipinstsall.You can also install from the remote repository:pipinstallgit+ssh://git@github.com/seetacloud/codewithgpu.gitQuick StartDeploy Image Inference ApplicationSeeExample: Image Inference.Use Record Dataset To Accelerate Data LoadingSeeExample: Record Dataset.Model BenchmarksSeeDoc: Model Benchmarks.LicenseApache License 2.0
Package: codeworks
CodeWorks...Getting StartedTo get started with this template, simply 'Use This Template' to create a new repository and start building your project within thesrcdirectory. Try to open the project in GitHub Codespace, and to run the unit tests using the VS Code Test extension.ContributingThis project welcomes contributions and suggestions. For details, visit the repository'sContributor License Agreement (CLA)andCode of Conductpages.
Package: codex-chat-notebook
codex-chat-notebookDoing data science without programming skills by chatting with OpenAI CodexRequirementsJupyterLab >= 3.0Installpipinstallcodex-chat-notebookContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the codex-chat-notebook directory# Install package in development modepipinstall-e.# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Rebuild extension Typescript source after making changesjlpmrunbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmrunwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm run buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseUninstallpipuninstallcodex-chat-notebookNotenpm run watch:labextensionpip install jupyter_packaging
npm run install:extension
jupyter lab
Package: codex-engine-pyqt
Codex Engine for PyQtA universal translator for serial devices.DescriptionThis is the reference implementation of Codex, a framework for managing serial communication with physical devices.Featuresserial port detectionautomatic handshakingdevice profiles as drop-in pluginssupports many styles of serial communicationextensibleRequirementspyserialPyQt5 or PySide2
Package: codex-of-the-damned
Codex of the DamnedThis site is a compilation of Vampire: the Eternal Struggle strategy resources.
The site is publicly available atcodex-of-the-damned.org.Portions of the materials are the copyrights and trademarks of Paradox Interactive AB,
and are used with permission. All rights reserved.
For more information please visitwww.worldofdarkness.com.ContributingContributions are welcome. Pull Requests will be merged if they respect the general style.
Issues will be dealt with as quickly as possible.This site usesFlaskandBabelto generate pages dynamically and handle internationalisation.InstallationTo install a working developpment version of the site, usepip:python3-mvenvvenv
pipinstall-e".[dev]"There is a make command to update translations:makepoYou can run the development version of the site using thecodexentrypoint:$codex*ServingFlaskapp"codex_of_the_damned"(lazyloading)*Environment:productionWARNING:Thisisadevelopmentserver.Donotuseitinaproductiondeployment.UseaproductionWSGIserverinstead.*Debugmode:off*Runningonhttp://127.0.0.1:5000/(PressCTRL+Ctoquit)You can set theDEBUGenvironment variable to activate the debug mode:DEBUG=1codexTo run the production server, you'll need a web server likeuWSGI:uwsgi--modulecodex_of_the_damned:apporGunicorn:gunicorncodex_of_the_damned:appUseful toolsIconsConvert icons from raster to SVG usingimagemagickandpotrace,
depending on the icon, smoothing may be better or not:convert-morphologySmoothOctagon:2clan-ahrimanes.gifclan-ahrimanes.svgGoogle TranslateUse python and Google Translate to help with translation:importclipboardimportpprintimportredefpre():s="".join(s[1:-1]forsinclipboard.paste().split("\n"))s=re.sub(r"%\(([^\)]*)\)s",r"§K3PX\1§",s)clipboard.copy(s)defpost():s=clipboard.paste()s=pprint.pformat(re.sub(r"§K3PX([^§]*)§",r"%(\1)s",s),width=120)s=re.sub(r"(^')|('$)",'"',re.sub(r"^\s*","",s[1:-1],flags=re.MULTILINE),flags=re.MULTILINE).replace("\\n","")clipboard.copy(s)# usage:#  > copy paragraph to translate from the PO file# pre()# > copy translation# post()# > copy result to the PO file
Package: codexpy
A python module for python developers.Functions:Stack Functions:isempty(Stack) : Checks if a stack is empty or not
delete_first_element(Stack) : Deletes the first element from the stack and returns a new stack
insert_first_element(Stack, element) : Inserts an element at the first positon of the stack and returns a new stack
auto_stack(size) : Creates a random stack from the given size
display(Stack) : Displays the stack verticallyEncryption Functions:encrypt(text, key) : Encrypts the normal text as per the key
decrypt(text, key) : Decrypts the encrypted text as per the keyString Functions:isstring(string) : Checks if entry is a valid string
wordcount(text) : Counts the number of words in a string
vowelcount(text) : Counts the number of vowels in a string
strreverse(string) : Reverses a stringCredential Validation:phonecheck(number) : Checks the phone number for validation
passcheck(password) : Checks the password for validation
isemail(email) : Checks for a valid email address.Credential Database Functions:register_cred(username,password,path) : Registers the username and password to text file as per the path
cred_checker(username, password,path) : Checks if password and username matches with the database as per the pathOTP Plugin:send_otp(emailid, admin_email, password) : Sends an e-mail containing otp on the email address passed into the functionList Functions:listgreatest(list) : returns greatest element of a list
uniquelist(list) : deletes all the duplicate elements of a listDS-Algo:binary_search(list) : implements binary search.License:Copyright (c) 2020 Aryan KashyapLicensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.Change Log0.0.1 (07/06/2020)First Release0.0.2 (07/06/2020)Fixed smtp bug
Package: codex-readme
🤖 codex-readme 📜The gif shows how the readme below was generated. To generate your own readmes you need to get access to the Codex API (https://openai.com/blog/openai-codex/).codex-readmeWhat is it?This project is a set of programs that I use to create a README.md file.How does it work?It reads program files and concatenates the beginning of all files to create a input prompt which is then fed to OpenAI Codex to generate a README.How to use it?./codex_readme.pyTODOAdd more programs and improve the README.md generator.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.CreditsThis project is based on the OpenAI Codex project.ContactIf you have any questions or would like to get in touch, please open an issue on Github or send me an email:tom.doerr@tum.de
Package: codezen
CodeZenDescriptionCodeZen is a CLI utility that uses LLMs to help you debug and evolve your codebase based on your requests.Usage examples:codezen"Why am I getting <some exception message>?"codezen"Write a README.md file for this project"The differences from Github Copilot:This is a CLI tool, meaning it can be used regardless of your chosen IDE.This provides the LLM with the entire codebase, so it can do things that require a more holistic view of your project.Current limitations:Only works for small codebases- currently it sends the entire codebase on each request (except the ignored files). 😆It can't change files autonomously, it only offers a solution.It uses gitignore file to know which files to ignore, so you must run this in a git repo and you can't currently ignore files that don't appear there.InstallationUsing PyPiYou can install the application usingpiporpipx:pipinstall--usercodezenorpipxinstallcodezenCompile from sourceYou can compile directly from source:gitclonehttps://github.com/mmaorc/codezencdcodezen
poetrybuildDevelopmentFor development purposes, clone the repository, navigate to the project directory, and install it in a virtual environment:gitclonehttps://github.com/mmaorc/codezencdcodezen
poetryinstall
poetryshellUsageBefore running the script, ensure that theOPENAI_API_KEYenvironment variable is set up correctly.Run CodeZen with the following command:codezen<issue_description><issue_description>: Describe the issue you are facing with your codeIf you want to ignore additional files without adding them to your.gitignore, You can create a.czignorefile at the project's root and add them there.If you want to estimate the number of used tokens and show the files that are included in the prompt you can use:codezen<issue_description>--estimateContributingIf you would like to contribute to this project, please feel free to fork the repository, create a feature branch, and submit a pull request.LicenseThis project is licensed under the MIT License. See theLICENSEfile for details.
Package: codfish
COD-FISH
===Complementary Oligo Design for FluorescenceIn SituHybridization (COD-FISH) is a pipeline for the identification of oligonucleotide sequences hybridizing to specific locations on a reference genome of interest.COD-FISHis built upon v0.6 of the uniqueDnaOligonucleotidesCatcher pipeline by Mihaela martis ([BILS](https://www-stage.scilifelab.se/facilities/bils/)).License
—` MIT License Copyright (c) 2017 Gabriele Girelli `
Package: codi
:Date: 2018-10-06:Version: 1.0.2:Authors:* Mohammad Alghafli <thebsom@gmail.com>Multiple configuration directories for your program.This library is useful if you have the following situation: you have a configdirectory where you store default configuration and another config directorywhere you store user custom configuration. When a user runs your program for thefirst time, no files exist in the user config directory and you want to readeverything from the default config directory. When you write a config file, itmust always be written in the user config directory.This library does this for you. You specify user config directory and any moredirectories you want to use for default config files. When you open a file forreading, the library opens the file from the user config directory if it exists.Otherwise, it searches for the file in the default config directories. When youopen a file for writing, it is always opened in the user config directory. Atypical usage example is below::from codi import *#assume we have 2 config directories:#   * default-cfg/#   * user-cfg/##in other words, we have the following directory structure:###default-cfg/#|#--path/#  |#  --to/#    |#    |-file.txt#    |#    --file.bin####user-cfg/#user config diruser_dir = 'user-cfg/'#default config dirdefault_dir = 'default-cfg/'#create a Codi object. you can give more than 2 dirs if you need.config_dirs = Codi(user_dir, default_dir)#read a file. args are same as builtin open#will first try to open `user-cfg/path/to/file.txt`. because the file does#not exist, will go to the next config dir and open#`default-cfg/path/to/file.txt`.f = config_dirs.open('path/to/file.txt')print(f.read())f.close()#write a file.#will always write in `user-cfg/path/to/file.txt`. any parent directories#that do not exist will be createdf = config_dirs.open('path/to/file.txt', 'w')print('hello world', file=f)f.close()#convinience method to read data#text. default encoding is utf8#will open `user-cfg/path/to/file.txt` because it exists from our previous#write operation.print(config_dirs.read('path/to/file.txt', encoding='ascii'))#binary#will open `default-cfg/path/to/file.bin`print(config_dirs.read('path/to/file.bin', text=False))#convinience method to write data#text. default encoding is utf8#will always write in `user-cfg/path/to/file.txt`.config_dirs.write('path/to/file.txt', 'hello world', encoding='ascii')#binary#again, will always write in `user-cfg/path/to/file.bin`.config_dirs.write('path/to/file.bin', b'some binary data')The library also provides `Config` class which acts as a dict for config values.It adds the ability to set default values.--------Tutorial--------Check out codi tutorial at http://codi.readthedocs.io/
Package: codicefiscale
Python library for Italian fiscal codecodicefiscale is a Python library for working with Italian fiscal code numbers
officially known as Italy’s Codice Fiscale.Copyright (C) 2009-2016 Emanuele RoccaHomepage:https://github.com/ema/pycodicefiscaleThis library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USAcodicefiscale Module DocumentationA quick example>>> import datetime
>>> from codicefiscale import build
>>>
>>> build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969')
'RCCMNL83S18D969H'Module Contentsbuild(surname, name, birthday, sex, municipality)->stringComputes the fiscal code for the given person data.eg: build(‘Rocca’, ‘Emanuele’, datetime.datetime(1983, 11, 18), ‘M’, ‘D969’)-> RCCMNL83S18D969Hcontrol_code(input_string)->intComputes the control code for the given input_string string. The expected
input_string is the first 15 characters of a fiscal code.eg: control_code(‘RCCMNL83S18D969’) -> ‘H’get_birthday(code)->stringBirthday of the person whose fiscal code is ‘code’, in the format DD-MM-YY.Unfortunately it’s not possible to guess the four digit birth year, given
that the Italian fiscal code uses only the last two digits (1983 -> 83).
Therefore, this function returns a string and not a datetime object.eg: birthday(‘RCCMNL83S18D969H’) -> 18-11-83get_sex(code)->stringThe sex of the person whose fiscal code is ‘code’.eg: sex(‘RCCMNL83S18D969H’) -> ‘M’sex(‘CNTCHR83T41D969D’) -> ‘F’isvalid(code)->boolThis function checks if the given fiscal code is syntactically valid.eg: isvalid(‘RCCMNL83S18D969H’) -> Trueisvalid(‘RCCMNL83S18D969’) -> False
Package: codified-json
Codified-JSONCodified-JSONis a new representation ofJSONfor transfering payloads as smaller sizes between software applications.Please read the specifications for theCodified-JSONrepresentation here:https://ty2huang.github.io/codified-json/This library helps translate between python objects and theCodified-JSONrepresentation (stored as string or compressed bytes).Installationpip install --force-reinstall git+https://github.com/ty2huang/codified-json-python-library.gitGetting startedTranslating between JSON-compatible python objects andCodified-JSONis very easy.importcodified_jsonascjsondata=[{"apple":"a","clementine":4,"banana":"e"},{"clementine":4,"banana":5,"apple":34},{"banana":4.5,"apple":False,"clementine":4},{"clementine":4,"apple":None,"banana":True}]# Encode into codified-json string using "cjson.as_str"cjson_str=cjson.as_str(data)# Decode back to python objects using "cjson.parse_str"decoded_data=cjson.parse_str(cjson_str)assertdata==decoded_dataFurther InformationFollowing the example from the "Getting Started" section, if you print outdataas JSON string vsCodified-JSONstring, you'll find that theCodified-JSONrepresentation is shorter.importjsondeftest():json_str=json.dumps(data)print(f"As JSON (length{len(json_str)}):")print(json_str)print()print(f"As Codified-JSON (length{len(cjson_str)}):")print(cjson_str)test()Output is printed below. Size difference gets bigger as the JSON array size increases.AsJSON(length193):[{"apple":"a","clementine":4,"banana":"e"},{"clementine":4,"banana":5,"apple":34},{"banana":4.5,"apple":false,"clementine":4},{"clementine":4,"apple":null,"banana":true}]AsCodified-JSON(length146):{"s":{"0":["apple","banana","clementine"]},"b":[{"i":0,"v":["a","e",4]},{"i":0,"v":[34,5,4]},{"i":0,"v":[false,4.5,4]},{"i":0,"v":[null,true,4]}]}Testspython setup.py pytestLicenseThe "codified_json" module was written by Tim Huang, and is released under the MIT license.See the file LICENSE for more details.
Package: codigodamata
Código da MataPacote para Docassemble (usando Python e Markdown).Automação da análise jurídica e montagem de documentos ("document assembly") de atos jurídicos relacionados ao desmatamento ilegal (crimes contra a flora e correlatos previstos no art. 38 e seguintes da Lei 9.605/98). Seu objetivo é facilitar o trabalho de promotores de Justiça no âmbito do Projeto Olhos da Mata e, futuramente, de fiscais do Ibama, Semas, bem como de juízes com atribuição ou jurisdição em crimes relacionados ao desmatamento ilegal.https://codigodamata.consciencia.eco.br/
Package: codigofacilito
CodigoFacilito PackageEste paquete nos permite consumir el API de la plataformaCódigo Facilito. 🐍Source code:https://github.com/Ange1D/codigofacilito_packageBug reports:https://github.com/Ange1D/codigofacilito_package/issuesCaracterísticasRetornar los artículos de CódigoFacilitoRetornar los workshopsRetornar los workshops que aun no se han lanzadoInstalaciónpipinstallcodigofacilitoUso:fromcodigofacilito.articlesimportarticlesarticles=articles()print(articles)OutputRetorna los articulosfromcodigofacilito.workshopsimportreleasedworkshops=released()print(workshops)OutputRetorna los workshopsfromcodigofacilito.workshopsimportunreleasedworkshops=unreleased()print(workshops)OutputRetorna los workshops que aun no se han lanzadoCLIComandoDescripciónpycody --items articlesRetorna los articulospycody --items workshopsRetorna los workshopspycody --items workshops --unreleasedRetorna los workshops que aun no se han lanzadoTesting:import codigofacilito
help(codigofacilito.released)
help(codigofacilito.unreleased)
help(codigofacilito.unreleased)LicenseMIT
Package: codigofacilito-jorgef
python -m venv .venv
venv\Scripts\activatepip install requests
pip freeze > requirements.txtprovando un paquetepython -m nome_paquetepython setup.py sdist
##pip install pip --upgrade  DA ERRORE
pip install twine
twine upload dist/*##TEST
pip install codigofacilito-jorgef==0.0.1
pythonfrom codigofacilito_jorgef import unreleased
unreleased()
Package: codimage
codimagecodimage is a Python library that encrypts single / multiple text-transferable files, i.e. Python scripts, batch scripts and configuration files, into a single picture and protect your information with password.OverviewFile encryptionGiven a single / multiple files, aPNGimage (your own selfies will also work!), and a user defined password, codimage will generate aPNGimage that is nearly identical to the original one with all contents from the files to be encrypted into the pixels.File decryptionTo decrypt and reverse back files from the code embedded image, user needs to use the original image and the correct password.InstallationpipinstallcodimageUsageSingle file encryptionfromcodimageimportcodimagecodimage=codimage.Codimage()codimage.encrypt(r"D:\dummy\dummy.png",r"D:\codes\test.py",r"D:\dummy\code.png","P@ssw0rd1")Multiple files encryptionassume files to be encrypted are in D:\codes foldercodimage.encrypt(r"D:\dummy\dummy.png",r"D:\codes",r"D:\dummy\code.png","P@ssw0rd1")Image decryptionassume files are to be exported to D:\export-codescodimage.decrypt(r"D:\dummy\dummy.png",r"D:\dummy\code.png",r"D:\export-codes","P@ssw0rd1")After decryption,  a folder named 'codimage-datetime' will be created in export-codes with all files insideLicenseThe software is under MIT License
Package: codimension
Essential links:Presentation of the technology and the
toolProject home pagePackages and
installationRunning Codimension from a git
cloneHot keys cheat
sheetCodimensionis yet another free experimental Python IDE licensed
under GPL v3.Codimension aims to provide an integrated system for:traditional text-based code editing, anddiagram-based code analysis.At the moment a few graphics oriented features are implemented. One of
the major (and the most visible) is a generation of a control flow
diagram while the code is typed. The screenshot below shows the main
area divided into two parts. The left one is a traditional text editor
while the right one is a generated diagram. The diagram is updated when
the IDE detects a pause in typing the code.ScreenshotThe IDE implements many of the typical features to support the
development process. The uniqueness of the IDE however is in the
graphics representation of the code. Thus the main focus of the project
is to implement more features for the graphics pane.InstallationNote:python 3.5/3.6/3.7 is requiredThe IDE is pip installable:pipinstallcodimensionThe feature of building some diagrams e.g. a dependency diagram requires
a graphviz package. The installation depends on a system. E.g. on Ubuntu
you would need to do the following:sudoapt-getinstallgraphvizTo have plantUML diagram support java needs to be installed. The
installation depends on a system. E.g. on Ubuntu you would need to do
the following:sudoapt-getinstalldefault-jreTroubleshootingThe IDE depends on a couple of the binary modules which are compiled at
the time of the installation. So your system needs a g++ compiler
installed as well as python interpreter header files. To install the
required packages on Ubuntu you would need to do the following:sudoapt-getinstallg++sudoapt-getinstallpython3-devsudoapt-getinstalllibpcre3-dev
Package: codinasion-tools
Codinasion ToolsA collection of open source tools that can be used to help you in your daily activities.How To Installpipinstallcodinasion-toolsHow To Usefromcodinasion_toolsimportConvertDecimalToBinarybinary=ConvertDecimalToBinary(10)print(binary)# 1010Made with 💖 by Codinasion