Saravanan666/pypi-org huggingface dataset:
Package: chibi
chibithis package is for i can put snippets and other useful things
and i do not need to write the same thing for fifth timecosas utitlesChibi_paththe chibi path work like strings but with opperators have sense for folders
and filesfromchibi.fileimportChibi_pathtmp=Chibi_path('/tmp/folder')isintance(p,str)==true# return a generator with all the files and folders in# the pathls=list(p.ls())print(ls)p=tmp+'file.json'str(p)=='/tmp/folder/file.json'f=p.open()# check the file for see is containt the string'some string'inf# write a dict like json in the filef.write({'stuff':'str'})# read the json and transform the dict in a Chibi_atlasjson=f.read()json.stuff=='str'# the same but in yamlf=p+'file.yaml'f.write({'stuff':'str'})yaml=f.read()yaml.stuff=='str'Chibi_atlasesta herramienta se migro al paquete chibi-atlasthis is a dict but his keys can be access like attributeimportchibi.atalsimportChibi_atlasc=Chibi_atlas({'stuff':'str','l':[1,{'more_stuff':'str_2'}]})isintance(c,dict)==truec.stuff=='str'c.l[0]==1c.l[1].more_stuff=='str_2'History0.11.10se migro chibi.atlas a un paquete separado chibi-atlas0.0.1 (2019-12-18)First release on PyPI.
Package: chibi-atlas
chibi_atlassmall lib to proccess the keys of the dict like attributesthis is a dict but his keys can be access like attributeimportchibi_atlasimportChibi_atlasc=Chibi_atlas({'stuff':'str','l':[1,{'more_stuff':'str_2'}]})isintance(c,dict)==truec.stuff=='str'c.l[0]==1c.l[1].more_stuff=='str_2'chibi_atlas_multiChibi_atlas_multi se utiliza para asumir que cada asignacion en cada key
seria asumiendo que su valor es una lista y se le hace append en el caso que
solo se le asigne un solo valor entonces usara el comportamiento por defecto
de los dicionariosfromchibi_atlas.multiimportChibi_atlas_multic=Chibi_atlas_multi()c['a']='a'assert{'a':'a'}==cc=Chibi_atlas_multi()c['a']='a'c['a']='b'c['a']='c'assert{'a':['a','b','c',]}==cChibi_treeno recuerdo porque hice esta cosa pero funciona como un arbol con atributosFree software: WTFPLDocumentation:https://chibi-atlas.readthedocs.io.History0.0.1 (2024-02-06)First release on PyPI.
Package: chibi-dl
Chibi_dlis a command line tool for download series from crunchyroll.com and tmofans.comin the case of crunchyroll is going to download the video and the subtitles
and joined in a mkvfor the mangas from tmofans is going to compress all the images in a
zip and rename the extencion to cbzinstallpipinstallchibi_dlis going to add the command chibi_dlhow to usedusage: chibi_dl [-h] [--user USER] [--password PASSWORD]
                                        [--resoulution QUALITY]
                                        site [site ...] download_path

descarga mangas

positional arguments:
site                  urls de las series que se quieren descargar
download_path         lugar de descarga

optional arguments:
-h, --help            show this help message and exit
--user USER, -u USER  usuario del sitio
--password PASSWORD, -p PASSWORD
                                                                contrasenna del sitio
--resoulution QUALITY, -q QUALITY
                                                                resolucion a descargarfor download a serie from crunchyroll need the user and password if you what
downlaod the serie in 720p o 1080pchibi_dl-q720--user$user-p$password-o/path/to/save/serie"https://www.crunchyroll.com/es/yuruyuri"if you are ok with the lower resolution you not need the user and passwordchibi_dl-q240-o/path/to/save/serie"https://www.crunchyroll.com/es/yuruyuri"in the case of tmo fanschibi_dl-o/path/to/save/serie"https://tmofans.com/library/manga/13698/komi-san-wa-komyushou-desu"for get all the list of pending, follow and read in tmo fans
need the user and password for do the login and retrive the list of links
and donwload all the serieschibi_dl--only_print--only_links-p$PASSWORD-u$USERhttps://tmofans.com/profile/readhttps://tmofans.com/profile/pendinghttps://tmofans.com/profile/follow>links_of_mangaschibi_dl-o/path/to/save/series@links_of_mangas
Package: chibi-dl-tmo
chibi_dl_tmocommand script for download mangas from lectortmo.comFree software: WTFPLDocumentation:https://chibi-dl-tmo.readthedocs.io.Featuresis a command line tool for download series from tmofans.comfor the mangas from tmofans is going to compress all the images in a
zip and rename the extencion to cbzinstallpipinstallchibi_dl_tmopipinstall-egit+https://github.com/jdholtz/undetected-chromedriver.git@29551bd27954dacaf09864cf77935524db642c1b#egg=undetected_chromedriveris going to add the command chibi_dl_tmohow to usedusage: chibi_dl_tmo [-h] [--only_print] [--only_metadata] [--only_links] [--user USER] [--password PASSWORD] [--log_level LOG_LEVEL] [-o DOWNLOAD_PATH]
            [-config_site CONFIG_SITE]
            site [site ...]
descarga mangas
positional arguments:
  site                  urls de las series que se quieren descargar
options:
  -h, --help            show this help message and exit
  --only_print          define si silo va a imprimir la lista de links o episodios
  --only_metadata       se define si solo se queire recolectar los datos y no descargar
  --only_links          si se usa solo imprimira las urls
  --user USER, -u USER  usuario del sitio
  --password PASSWORD, -p PASSWORD
                        contrasenna del sitio
  --log_level LOG_LEVEL
                        nivel de log
  -o DOWNLOAD_PATH, --output DOWNLOAD_PATH
                        ruta donde se guardara el video o manga
  -config_site CONFIG_SITE
                        python, yaml o json archivo con el usuario y password de cada sitiochibi_dl-o/path/to/save/serie"https://tmofans.com/library/manga/13698/komi-san-wa-komyushou-desu"for get all the list of pending, follow and read in tmo fans
need the user and password for do the login and retrive the list of links
and donwload all the serieschibi_dl--only_print--only_links-p$PASSWORD-u$USERhttps://tmofans.com/profile/readhttps://tmofans.com/profile/pendinghttps://tmofans.com/profile/follow>links_of_mangaschibi_dl-o/path/to/save/series@links_of_mangasHistory0.0.1 (2023-04-04)First release on PyPI.
Package: chibi-donkey
small lib for inflate and compress dict using double underscore
or proccess string using the format double undescorehow to used with dictimportchibi_donkeyasdonkeyexample={'a':{'aa':{'aaa':'aaa','aab':'aab','aac':'aac'},'ab':'ab','ac':None,},'b':{'ba':[1,2,3],'bb':'bb','bc':None,}}example_compress={'a__aa__aaa':'aaa','a__aa__aab':'aab','a__aa__aac':'aac','a__ab':'ab','a__ac':None,'b__ba':[1,2,3],'b__bb':'bb','b__bc':None,}assertdonkey.compress(example)==example_compressassertdonkey.inflate(example_compress)==exampleassertdonkey.get('a__aa__aaa',example)=='aaa'assertdonkey.get('a__ba',example)==[1,2,3]donkey.setter('a__aa__aaa',example,'asdf')assertdonkey.get('a__aa__aaa',example)=='asdf'how to use with stringsimportchibi_donkeyasdonkeyassertdonkey.init('a__b__c')=='a'assertdonkey.last('a__b__c')=='c'assertdonkey.key('a','b','c')=='a__b__c'assertdonkey.partition('a__b__c')==['a','b','c']
Package: chibi-gob-mx
chibi_gob_mxpython client for use the open api of gobmxFree software: WTFPLDocumentation:https://chibi-gob-mx.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2019-12-18)First release on PyPI.
Package: chibi-hybrid
chibi_hybridsimple class for have hybrid class and instance methods
and add class propertiesFree software: WTFPLDocumentation:https://chibi-hybrid.readthedocs.io.Featuresfromchibi_hybrid.chibi_hybridimportChibi_hybrid,Class_propertyclassDump:__bar=''def__init__(self,value):self.value=value@Chibi_hybriddeffoo(cls):returncls('cls')@foo.instancemethoddeffoo(self):returnself.value@Class_propertydefbar(cls):returncls.__bar@bar.setterdefbar(cls,value):cls.__bar=valueresult=Dump.foo()assertresult==Dumpassert'cls'==result.valueassert'cls'==result.foo()result=Dump('cosa').foo()assert'cosa'==resultassertDump.bar==''Dump.bar="cosa 2"assertDump.bar=='cosa 2'History0.0.1 (2019-10-31)First release on PyPI.
Package: chibi-lxc
chibi_lxcdefinition of lxc containers using python class and manage lxc
similar to vagrantExamplewrite a file with the containerfromchibi_lxcimportContainerclassCentos_8(Container):name='centos_8'distribution='centos'arch='amd64'version='8'provision_folders={'scripts':'provision'}env_vars={'LC_ALL':'es_MX.utf8'}scripts=('install_python.sh',('add_user.py','chibi',))write a config.pywith the next contenimportsysfromchibi.configimportconfigurationfromchibi.fileimportChibi_pathfromchibi.moduleimportimport_sys.path.append(Chibi_path('.').inflate)fromcontainers.baseimportCentos_7configuration.chibi_lxc.containers.add(Centos_7)the scripts should be in the folder provision_folders[ ‘scripts’ ]create the containerchibi_lxc up Centos_8 # create the container
chibi_lxc provision Centos_8 # not needed the first time
chibi_lxc list # lista los container configurados
chibi_lxc status # lista el status de los container
chibi_lxc host # lista el estado y hosts de los container
chibi_lxc stop Centos_8 # stop the container
chibi_lxc destroy Centos_8 # destroy the containerFree software: WTFPLDocumentation:https://chibi-lxc.readthedocs.io.Featurescreate containerprovision containerdestroy containerHistory0.0.1 (2020-04-05)First release on PyPI.
Package: chibi-nginx
chibi_nginxpython lib for parse nginx conf filesFree software: WTFPLDocumentation:https://chibi-nginx.readthedocs.io.Installpipinstallchibi-nginxUsagecat>/etc/nginx/sites_available/default.conf<< 'endmsg'
# vi: set ft=nginx:
server {
                server_name $hostname nginx;
                listen 80;

                access_log /var/log/nginx/default_access.log;
                error_log /var/log/nginx/default_error.log;

                root /var/www/default/;
                index index.html;
}
endmsgfromchibi_nginximportChibi_nginxtmp=Chibi_nginx('/etc/nginx/sites_available/default.conf')result=tmp.read()expected={'server':{'server_name':'$hostname nginx','listen':'80','access_log':'/var/log/nginx/default_access.log','error_log':'/var/log/nginx/default_error.log','root':'/var/www/default/','index':'index.html'}}assertresult==expectedresult['server']['root']='/home/user/default_site/'tmp.write(result)new_result=tmp.read()assertnew_result['server']['root']='/home/user/default_site/'Featuresread and write config files of nginxHistory0.2.1 (2022-03-24)a more proper readme0.2.0 (2022-03-19)improvent in the output when write or change a .conf file0.1.0 (2022-01-25)read and write .conf files of nginx0.1.0 (2021-10-25)First release on PyPI.
Package: chibi-requests
chibi_requestshandle urls in a more easy and human wayFree software: WTFPLDocumentation:https://chibi-requests.readthedocs.io.how to useChibi_urlfromchibi_requestsimportChibi_urlurl=Chibi_url("http://ifconfig.me'")response=url.get()assertresponse.status_code==200assertresponse.is_textassertisinstance(response.native,str)response=url.post()assertresponse.status_code==200assertresponse.jsonassertisinstance(response.native,dict)url=Chibi_url("https://google.com")url+="cosa/cosa2'assert"https://google.com/cosa/cosa2"==urlurl+="cosa3"assert"https://google.com/cosa/cosa2/cosa3"==urlurl=Chibi_url("https://google.com")url+={'param1':'value1','param2':'value2'}asserturl.parmas=={'param1':'value1','param2':'value2'}url=Chibi_url("https://google.com")url+="?param1=value1"asserturl.parmas=={'param1':'value1'}url=Chibi_url("https://google.com")asserturl.host=='google.com'asserturl.schema=='https'FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.0.1 (2019-11-14)First release on PyPI.
Package: chibp
chibpA package for interacting with the Haveibeenpwned APIInstall package:pip install chibpImport the package:import chibpExample string request:chibp.get("example@chrisdunne.net", API_KEY)Example list request:chibp.get(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)Example full response:chibp.get_full("example@chrisdunne.net", API_KEY)Example list full response:chibp.get_full(["example@chrisdunne.net", "example2@chrisdunne.net"], API_KEY)Example get breaches:chibp.get_breaches(API_KEY)Example get breached site:chibp.get_breach("MyFitnessPal", API_KEY)Example get pastes for email:chibp.get_pastes("example@chrisdunne.net", API_KEY)
Package: chicago
Information about Chicago and it’s geographies. Inspired bypython-us.Because sometimes you just need to loop through a list of Chicago
neighborhoods.InstallationInstall using pip:pip install chicagoUsageIterate over community areas>>> from chicago import COMMUNITY_AREAS
>>> for ca in COMMUNITY_AREAS:
...     print(ca.name, ca.number)
...
('Rogers Park', '1')
('West Ridge', '2')
('Uptown', '3')
('Lincoln Square', '4')
('North Center', '5')
('Lake View', '6')
('Lincoln Park', '7')
('Near North Side', '8')
('Edison Park', '9')Get a community area by number>>> COMMUNITY_AREAS.get_by_number(22)
CommunityArea(name='Logan Square', number='22')Iterate over neighborhoods>>> from chicago import NEIGHBORHOODS
>>> for n in NEIGHBORHOODS:
...     print(n)
Albany Park
Andersonville
Archer Heights
Armour Square
Ashburn
Auburn Gresham
Austin
Avalon Park
Avondale
Belmont CraginIterate over census tracts>>> from chicago import TRACTS
>>> for tract in TRACTS:
...     print(tract)
17031010100
17031010100
17031010100
17031010100
17031010201Get the census tract that contains a Chicago precinct>>> from chicago import PRECINCTS
>>> precinct = PRECINCTS[0]
>>> from chicago import get_tract_from_precinct_id
>>> tract = get_tract_from_precinct_id(precinct.full_name)
>>> print(tract)Get the census tract that contains a suburban Cook county precinct>>> from chicago.cook_suburbs import COOK_SUBURBAN_PRECINCTS, get_suburban_cook_tract_from_precinct_number
>>> precinct = COOK_SUBURBAN_PRECINCTS[0]
>>> tract = get_suburban_cook_tract_from_precinct_number(precinct.objectid)
>>> print(tract)
17031804202Data SourcesCommunity AreasBoundaries - Community Areas
(current))NeighborhoodsBoundaries -
Neighborhoodsfrom the City of Chicago Data PortalBuilding the dataThis package usesInvoketo generate the
data files that underly the Python API.Cleaning up build filesinvoke cleanBuilding the data filesThis includes the precinct to census tract crosswalk CSVs.invoke build
Package: chicagotransit
A collection of wrappers to communicate with various Chicago transit APIs and infosources.InstallationTo install, usepip install chicagotransitCurrently SupportedCTA Bustracker (Bustime)Divvy Bike Station StatusMetrarailCTA TrainTrackerFuture ExpansionPace Busses**if some sort of public API can be foundMajor Release Changelogv0.5.0repaired Metra code to work with the Metra GTFS apiv0.4.0Cleaned up some codeAdded support for CTA TrainTrackerv0.3.0Added some support for Metra RailCleaned up other code in order to meet PEP8v0.2.0Added support for Divvy Bike Station Statusv0.1.0Added CTA Bustracker API (Bustime) support
Package: chichitk
ChichiTkA python UI library built upon Tkinter, which implements affectedly elegant extensions of existing tkinter widgets. ChichiTk facilitates easy implementation of dropdown menus, nested dropdown menus, progress bars, sliders, icon buttons, and more. CheckEntry and TextBox widgets can execute a callback function whenever their text is edited by the user. ChichiTk AspectFrame retains a specific aspect ratio as flexible frames are resized. ChichiTk ScrollableFrame can contain tkinter elements in a scrollable widget. For exhaustive list of features, visit thewiki tab.|example.pyon Windowshttps://user-images.githubusercontent.com/74847576/232877538-c069685a-3265-42d0-9961-73ccd59c9738.mp4|example.pyon Windows - sample user interactionsInstallationInstall the module with pip:pip3 install chichitkUpdate existing installation:pip3 install chichitk --upgradeUpdate as often as possible because this library is under active development.DocumentationTheofficialdocumentation can be found in the Wiki Tab here:-->ChichiTk DocumentationExample Program - StopwatchThe following is a simple Stopwatch program that uses chichitk.Player to manage callbacks:fromtkinterimportTk,Frame,LabelfromchichitkimportPlayerdeftime_text(time:int,f:int=100):hour=time//(3600*f)minute=(time%(3600*f))//(60*f)second=(time%(60*f))//freturnf'{hour:0>2}:{minute:0>2}:{second:0>2}.{time%f:0>2}'app=Tk()app.title('Stopwatch')app.config(bg='#28282e')app.geometry("650x400")frame=Frame(app)frame.place(relx=0.5,rely=0.5,relwidth=0.8,relheight=0.6,anchor='center')label=Label(frame,text='00:00:00.00',bg='#232328',fg='#ffffff',font=('Segoe UI bold',30))label.pack(fill='both',expand=True)Play=Player(frame,lambdat:label.config(text=time_text(t)),0.01,bg='#1e1e22',frame_num=12001,frame_rate=100,step_increment=500)Play.pack(side='bottom',fill='x')app.mainloop()This results in the following window:Example Application - Password Managerhttps://user-images.githubusercontent.com/74847576/233730056-cffb5a0d-41db-44e4-ad24-7276406f9ba1.mp4The Passwords App project can be found here:-->Project Link
Package: chickadee
ChickadeeYet another IP address enrichment tool._          _
        ('<        >')
       \(_)________( \
        (___________)\\        _____ _     _      _             _
           (     )     \      / ____| |   (_)    | |           | |
            |   |            | |    | |__  _  ___| | ____ _  __| | ___  ___
            |   |            | |    | '_ \| |/ __| |/ / _` |/ _` |/ _ \/ _ \
            |   |            | |____| | | | | (__|   < (_| | (_| |  __/  __/
           _|   |_            \_____|_| |_|_|\___|_|\_\__,_|\__,_|\___|\___|
          (_______)Supported IP address resolvers:https://ip-api.com/- Free to query up to 45 requests per minute. Unlimited
API keys available for purchase.https://virustotal.com/- API key needed to query. Rate limited to 4 requests per minute.DocumentationThis project's documentation is available in thedocs/folder,
or hosted on GitHub athttps://chapinb.com/chickadee/.Specific documentation:InstallationUsing chickadeeExamplesContributingResolver documentationFile parser documentationKnown bugsBelow are a list of known bugs. Please report any new bugs identified or
submit a PR to patch any of the below or ones you found on your own. No one
is perfect :)IPv6 addresses expressed in expanded form in the source document
are not properly deduplicated against discovered IPv6 addresses in compressed
form.While you can provide multiple input files in the same instance, the IPs
are distinct to a single input item. For example, if you provide a file
and folder as two inputs to the same invocation, chickadee will dedupe
all IPs within the single file, then separately dedupe all IPs within
the files in the directory. This means you may have duplicate resolutions in
the same output in this case.JSON and CSV output will show column/field names even if a value is not
present. Please enter an issue if this does not support your usecase.ContributingPlease create a fork of the repository, make your changes, and submit a pull
request for review!You can always use the issues tab to suggest features and identify bugs.
Package: chickadee-opt
ChickadeeA developmental hybrid energy system dispatch optimization package aimed at providing flexibility and development speed while supporting integration with other tools.The goal of this project is to be a testing-grounds for design and dispatch optimization. This project is meant to stay light, fast and flexible rather than full-featured or rigorous. A key requirement of this project is to maintain compatibility withHERONso as to be useable as an internal dispatch optimizer. As a result, the structure necessarily mimics that of HERON to some extent.Development InstallationInstall chickadee for development using pip. Run the following command from within the root of the repository:pip install -e .RequirementsNeeds to be able to be imported into HERON for internal dispatch optimizationNeeds to be a flexible place for quickly and simply messing around with dispatch/design optBe importable and useable as a python libraryHas to be useable with various optimizers and with various optimization schemesHas to be able to support the same type of components as HERONIdeas to experiment withAdding DAEsIntegrating GEKKO as an optimizerSupport for timing, allowing optimization of algorithm
Package: chicken_turtle_project
Python 3 project development tools. Looks like a turtle, tastes like
chicken.Chicken Turtle Project (CTP) provides CLI tools for developing Python 3
projects. It makes it easier to make quality commits and releases,
through automating what can be automated and by verifying manual work
against quality requirements.Chicken Turtle Project is alpha. The interface may change in the future,
but has gained some stability.LinksDocumentationPyPIGitHubChangelistv2.3.0Fixed:ct-mkvenv did not upgrade pip, wheel and setuptoolsgit pre-commit hook did not enter venv properly when running testsadded missing numpy requirement, an optional dependency of
networkx`requirements.in`: dependencies on extra requires (e.g.dependency[extra]) failedOptimised:ct-mkvenv reruns are fasterAdded or enhanced:when CT_NO_MKPROJECT environment variable is set, ct-mkproject
will exit immediately when called.–debug option: more detailed messages on stdout.minimise changes in setup.py and requirements.txt (by sorting any
lists)Changed:Terser and more readable messages on stdoutGenerate API using autosummary_generate instead of sphinx-apidoc.if pip, wheel or setuptools is mentioned in a requirements.in
file, it will also appear in requirements.txt, for the rare cases
where you need to constrain one of them.ct-mkvenv: dependencies no longer installed in the order they are
specified in requirements.txtRemoved:ct-mkvenv--no-mkproject: instead, useCT_NO_MKPROJECT=yct-mkvenv.v2.2.0Changed: user friendlier error messagesAdded:project.py::python_version: allows specifying which Python
version to use for the venv and testingct-mkvenv--no-mkproject: run without first calling
ct-mkprojectFixed: the project’s package was missing from venv after each commit.
The venv wasn’t restored properly after a pre-commit.v2.1.2Changed: expect tests inyour_pkg.testsinstead ofyour_pkg.testAdded:project.py::package_name: allows package name and PyPI/index name
to be differentproject.py::pre_commit_no_ignore: files not to ignore in
precommit checks, despite them not being tracked by git.v2.0.4No changelist
Package: chic-lib
CHICCoarse-grainingHybridIorganicCrystals.Getting startedInstall withpip install chic-lib, and you're ready to go!By way of a quick example, ZIF-8 (CSD RefCode: FAWCEN) can be coarse-grained
by running:fromchicimportStructure# read in structure and delete oxygen from the pores.zif8=Structure.from_cif('FAWCEN.cif')zif8.remove_species('O')# compute neighbour list, find atomic clusters, and coarse-grain.zif8.get_neighbours_crystalnn()zif8.find_atomic_clusters()zif8.get_coarse_grained_net()# export structure as TopoCIF.zif8.net_to_cif('ZIF-8-sod-cg.cif',write_bonds=True,name='ZIF-8-cg')Head over to thechic docsto see examples
and more details!ToDo listAdd docs.Add simple distance cut-off algorithm for neighbour list building.Add custom implementation of optimised CrystalNN algorithm.Integrate back-mapping code.Integrate extraction of local energies from LAMMPS dump format.Add registry to Net class for easier future development beyond ZIFs.AuthorsThomas C. Nicholas