Saravanan666/pypi-org huggingface dataset:
Package: cfdibills
cfdibillsUtility to parse CFDI (Mexican invoice) versions 3.3 and 4.0 and validate their status against the SAT.FeaturesLoad a CFDI in XML format into apydanticobjectCFDIs are validated against the XSD schema, but a thorough check (i.e. conditional values) is not performed.Query the status of a CFDI via SAT's web serviceDOESN'T REQUIREadditional dependencies to read the XML like libxml2-dev, libxslt-devInstallationRun:pipinstallcfdibillsExamplesYou can load and verify a bill directly from its XML:importcfdibillscfdi=cfdibills.read_xml("path/to/bill.xml")status=cfdibills.verify(cfdi)Or you can verify it manually:importcfdibillsstatus=cfdibills.verify(uuid="folio fiscal",rfc_emisor="re",rfc_receptor="rr",total_facturado=150.00)In both cases,statuswould look something like this:SATConsultaResponse(codigo_estatus='S - Comprobante obtenido satisfactoriamente.',es_cancelable='Cancelable con aceptación',estado='Vigente',estatus_cancelacion=None,validacion_efos='200',)ContributingThis repository usespre-committo help developers perform almost the same validations as in
the CI pipeline but before having to wait for a Pull-Request. You can set it up using:pipinstall-rrequirements_dev.txt
pre-commitinstallLicenseLicensed under theGNU LGPLv3 License.
Package: cfdilib
CFDILibLibrary to xml documents based on XSD files to manage situations where you need to sign such
documents with a third party, then given a simple dictionary and a jinja2 template you will be
able to generate such documents with almos 0 logic.Free software: Vauxoo Licence (LGPL-v3)Documentation:https://vauxoo.github.io/cfdilibFeaturesTODOHistory0.7.5Update payroll12.xsd from SAT (#96)0.7.4Update catNomina.xsd from SAT (#95)0.7.3Fixed #900.7.2Welcome Impuesto Locales.Proper version of click.Fix SAT references.0.7.0l10n_mx_reports: fix error in general ledger report (#78)[IMP] cfdilib: xsd added to generate payment complement (#75)Changed path to allow have xsd that are imported by others xsd in the same library, and not call to SAT page each time that is generated a new XML.Add catPagos.xsd file[FIX] cfdilib: fix xsd file name to avoid error I/O warning : failed to load external entity “tdCFDI.xsd”[FIX] cfdilib: changing complement node task#22554 (#76)[FIX] l10n_mx_reports: fix error in general ledger report (#81) when “Concepto” has a length over 300 characters in operations and over 200 characters in transactions. And, when account description has a length over 100 characters.[FIX][cfdilib] - Welcome template for comercio exterior node.0.6.4In some cases the RFC is optional0.6.3Now certificate is optional on CFDI 3.30.6.2Add new XSD version for CFDI 3.30.6.1Added complement for Paymens0.6.0Welcome to electronic accounting 1.30.5.3Added Payroll 1.2Added pedimento concept for cfdi 3.3.0.5.2Some values are now optionals.0.5.1Some fixes regarding the fact that perceptions and taxes are optionals.0.5.0Welcome to cfdi 3.30.4.0Welcome to payroll generation0.3.5Now the template 3.2 has a placeholder for addenda.0.3.4XMl for Journal Items: Assigned id by the next:Atributo requerido para expresar el número único de identificación de la
póliza. El campo deberá contener la clave o nombre utilizado por el
contribuyente para diferenciar, el tipo de póliza y el número correspondiente.
En un mes ordinario no debe repetirse un mismo número de póliza con la clave o
nombre asignado por el contribuyente.0.3.3Refactor of the code for cache the temp downloaded files.Fixed minor lint problems to improve the readability of the code.latestRefactor of the code for cache the temp downloaded files.Fixed minor lint problems to improve the readability of the code.0.3.1Refactiring the validation approach to use a proper way and not be sticked to
an specific lxml version0.3.0Electronic accounting ready.CoA.Moves.Balance0.1.0 (2016-1-22)First release on PyPI.
Package: cf-django-oauth-toolkit
OAuth2 goodies for the Djangonauts!If you are facing one or more of the following:Your Django app exposes a web API you want to protect with OAuth2 authentication,You need to implement an OAuth2 authorization server to provide tokens management for your infrastructure,Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic needed to add OAuth2
capabilities to your Django projects. Django OAuth Toolkit makes extensive use of the excellentOAuthLib, so that everything isrfc-compliant.ContributingWe love contributions, so please feel free to fix bugs, improve things, provide documentation. Justfollow the
guidelinesand submit a PR.Reporting security issuesPlease report any security issues to the JazzBand security team at <security@jazzband.co>. Do not file an issue on the tracker.RequirementsPython 3.5+Django 2.1+oauthlib 3.1+InstallationInstall with pip:pip install django-oauth-toolkitAddoauth2_providerto yourINSTALLED_APPSINSTALLED_APPS=(...'oauth2_provider',)If you need an OAuth2 provider you’ll want to add the following to your urls.py.
Notice thatoauth2_providernamespace is mandatory.urlpatterns=[...path('o/',include('oauth2_provider.urls',namespace='oauth2_provider')),]ChangelogSeeCHANGELOG.md.DocumentationThefull documentationis onRead the Docs.Updating on PyPiRun the following commands:python3 setup.py sdist
twine upload dist/*Licensedjango-oauth-toolkit is released under the terms of theBSD license. Full details inLICENSEfile.
Package: cfdm
ThecfdmPython package is a complete reference implementation
of theCF data modelfor CF-1.11, that
identifies the fundamental elements of theCF conventionsand shows how they relate to each other,
independently of thenetCDFencoding.The central element defined by the CF data model is thefield
construct, which corresponds to a CF-netCDF data variable with all
of its metadata.A simple example of reading a field construct from a file and
inspecting it:>>> import cfdm
>>> f = cfdm.read('file.nc')
>>> f
[<Field: air_temperature(time(12), latitude(64), longitude(128)) K>]
>>> print(f[0])
Field: air_temperature (ncvar%tas)
----------------------------------
Data            : air_temperature(time(12), latitude(64), longitude(128)) K
Cell methods    : time(12): mean (interval: 1.0 month)
Dimension coords: time(12) = [0450-11-16 00:00:00, ..., 0451-10-16 12:00:00] noleap
                : latitude(64) = [-87.8638, ..., 87.8638] degrees_north
                : longitude(128) = [0.0, ..., 357.1875] degrees_east
                : height(1) = [2.0] mThecfdmpackage canread field and domain constructs from netCDF and CDL datasets,create new field and domain constructs in memory,write and append field and domain constructs to netCDF datasets on disk,read, write, and manipulate UGRID mesh topologies,read, write, and create coordinates defined by geometry cells,read and write netCDF4 string data-type variables,read, write, and create netCDF and CDL datasets containing hierarchical groups,inspect field and domain constructs,test whether two constructs are the same,modify field and domain construct metadata and data,create subspaces of field and domain constructs,incorporate, and create, metadata stored in external files, andread, write, and create data that have been compressed by convention
(i.e. ragged or gathered arrays, or coordinate arrays compressed
by subsampling), whilst presenting a view of the data in its
uncompressed form.Documentationhttps://ncas-cms.github.io/cfdmTutorialhttps://ncas-cms.github.io/cfdm/tutorialInstallationhttps://ncas-cms.github.io/cfdm/installationCommand line utilityDuring installation thecfdumpcommand line tool is also installed,
which generates text descriptions of the field constructs contained
in a netCDF dataset.Source codeThis project is hosted in aGitHub repositorywhere you can access the most
up-to-date source.
Package: cfdn
cfdnctools to help format and visualize divisive normalization connective fields resultsTo get started using these components in your own software, please go to the
repositoryREADME.Licensecfdnis licensed under the terms of the MIT license. See the file
“LICENSE” for information on the history of this software, terms & conditions
for usage, and a DISCLAIMER OF ALL WARRANTIES.All trademarks referenced herein are property of their respective holders.Copyright (c) 2022–, RonvdKlundert,
Spinoza Centre for Neuroimaging, Amsterdam.
Package: cfdna
Cell-free DNA analysis toolkitThis is a Python package for easy and efficient cell-free
DNA analysis.All citations should reference tooriginal paper.InstallIf you dont already have numpy and scipy installed, it is best to downloadAnaconda, a python distribution that has them included.https://continuum.io/downloadsCreate environment and pip install:conda create -n cfdna python=3.11.3
	conda activate cfdna
	pip install cfdnaDependencies can be installed by:pip install -r requirements.txtPyPI install, presuming you have all its requirements installed:pip install cfdnaUsageimportcfdnaascfimportnumpyasnp# Create datacfdata=cf.cfDNA()frags=cf.io.readBAM("test.bam")# Call CNVscf.proc.call_cnv_pipline(cfdata,frags)# Plot CNVscf.pl.plot_cnv(cfdata,"test.bam")Run from the commadline:python -m cfdna callCNVs --bam test.bam --segs --genome hg19 --bin_size 100000This will output a .png plot and seg file.
Package: cfDNApipe
# cfDNA-Pipeline
Cell Free DNA Sequencing Analysis Pipeline# News
version 0.0.1, 2019.06.01
The first test version.version 0.0.4, 2019.11.24
Add functions to check the reference folder when setting configure.version 0.0.8, 2020.06.12
Add pipeline analysis function. Include WGS/WGBS paired/single data pipeline
and case control comparison analysis pipeline.version 0.0.9, 2020.06.17
Delete useless folders, remove stepBase2.version 0.1.0, 2020.06.22
Add pipeline for basic WGS/WGBS and case/control analysis.version 0.1.1, 2020.06.22
Add qualimap function.version 0.1.3, 2020.12.01
Archive some functions.version 0.1.5, 2021.01.05
Pre release.version 0.1.6, 2021.01.05
Pre release again.version 0.1.7, 2021.01.11
update reportversion 0.1.8, 2021.01.11
fix virus genome errorversion 0.1.9, 2021.01.15
test data checkversion 1.0.0, 2021.01.16
releaseversion 1.0.1, 2021.01.16
add nucleosome positioning and tissue of origin functionversion 1.0.2, 2021.04.26
update readme and tutorial, fix some bugsversion 1.0.3, 2021.05.07
update readme and tutorial, remove some temp codesversion 1.0.4, 2022.01.18
update arm-level cnv multicore error
Package: cfdns
CLI tool for manipulating DNS of CloudFlare hosted domains. This tool
uses CloudFlare’s v4 API toadd,remove,list, ormodifyDNS records.InstallationInstall usingpip.$pipinstallcfdnsUsageoptional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Enable verbosity

Actions:
  {add,remove,modify,list}
    add                 Add DNS Records
    remove              Remove DNS records
    modify              Modify existing records
    list                List existing recordsListing recordsList DNS records or a set of DNS records by calling thelistaction.Syntax:$cfdnslist<email><api_key><domain>Additional arguments:--name- Match records with the specified name--type- Match records with the specified typeA,AAAA,CNAME, orMX--content- Match records with the specified contentExamples:$cfdnslistemail@example.com12345api$cfdnslistemail@example.com12345api--namewww.example.com$cfdnslistemail@example.com12345api--namewww.example.com--typeA$cfdnslistemail@example.com12345api--namewww.example.com--typeA--content10.0.0.1$cfdnslistemail@example.com12345api--typeA$cfdnslistemail@example.com12345api--typeA--content10.0.0.1$cfdnslistemail@example.com12345api--content10.0.0.1Adding a RecordAdd DNS records with theaddaction.Syntax:$cfdnsadd<email><api_key><domain><record_name><record_type><record_content>Supported record types are:A,AAAA,CNAME, &MXAdditional Arguments:--ttl- Specify the TTL value (default: 0)--noproxy- Disable CloudFlare’s proxyingExamples:$cfdnsaddemail@example.com12345apiexample.comwww.example.comA10.0.0.1$cfdnsaddemail@example.com12345apiexample.comwww.example.comA10.0.0.1--ttl20$cfdnsaddemail@example.com12345apiexample.comwww.example.comA10.0.0.1--noproxyRemoving a RecordRemove one or more DNS records with theremoveaction.Syntax:$cfdnsremove<email><api_key><domain>--name<record_name>--content<record_content>The--nameor--contentflags can be used together or on their
own to limit the number of records to be deleted. At least one flag must
be used or no records will be deleted.--name- Match records with a specified name--content- Match records with a specified contentExamples:$cfdnsremoveemail@example.com12345apiexample.com--nametest.example.com--content10.0.0.1$cfdnsremoveemail@example.com12345apiexample.com--nametest.example.com$cfdnsremoveemail@example.com12345apiexample.com--content10.0.0.1Modify a RecordModify DNS records using themodifyaction.Syntax:$cfdnsmodify<email><api_key><domain><old_record_content><new_record_type><new_record_content>You can add the--nameflag to restrict updates to only the named
record. By default all records with the matching “old content” will be
updated.Examples:$cfdnsmodifyemailemail@example.com12345apiexample.com10.0.0.1A10.0.0.2$cfdnsmodifyemailemail@example.com12345apiexample.com10.0.0.1A10.0.0.2--namewww.example.com
Package: cfdonnx
cfdonnxA Python module for exporting pre-trained CFD models to ONNX, making them interoperable with other ML frameworks and compatible with browsers.It currently supports U-Net architecture and PyTorch models, but it will be soon extended to other frameworks and architectures.Reproducible examples can be found atopenfoam-cfd-romusignDeepCFD.InstallationThe module can be installed with:pip3 install cfdonnxUsageUsage:  python3 -m cfdonnx [OPTIONS]

Options:
    -n, --net           TEXT  network architecture: UNetEx or AutoEncoder (default: UNetEx)
    -i, --input         PATH  checkpoint (default: checkpoint.pt)
    -o, --output        PATH  ONNX output file (default: checkpoint.onnx)
    -k, --kernel-size   INT   kernel size (optional, read from state_dict['kernel_size] by default )
    -f, --filters       TEXT  filter size, e.g. 8,16,32,32 (optional, read from state_dict['filters'] by default)
    -c  --channels      INT   number of channels (optional, read from state_dict['input_shape'] by default)
    -x  --nx            INT   X dimension (optional, read from state_dict['input_shape'] by default)
    -y  --ny            INT   Y dimension (optional, read from state_dict['input_shape'] by default )
    -o, --output        PATH  Save model path (default: mymodel.pt)

Example:

python3 -m cfdonnx \
        --net UNetEx \
        --input flowAroundObstacles.pt \
        --output flowAroundObstacles.onnxYou can use your CFD ONNX models on runtime in Babylon.js as showcased athttps://play.simzero.com/#D3SFTH#6for theflowAroundObstaclesexample.A generic template for using ONNX is also available athttps://play.simzero.com/#WIB297#1.
Package: cfdp
Python CFDPThe CCSDS File Delivery Protocol (CFDP) was developed by theConsultative Committee for Space Data Systems (CCSDS).
The CFDP protocol provides reliable transfer of files from one endpoint to
another and has been designed to work well over space links that suffer
from outtakes and long delays. The basic operation of CFDP is to transfer a
file from a sender to a receiver (both referred to as CFDP entities). The
sender and receiver must be configured and running at the same time to perform
a file transfer. It can be used to perform  space to ground, ground to space,
space to space, and ground to ground file transfers. For example it can be used
to transfer science data from satellite over mission control to the science
center in an automated fashion with minimal to no human intervention.This Python module is an implementation of the CCSDS File Delivery Protocol.
It supports all features as outlined in the latest version of theCFDP Blue Book. These are:Class 1 (unacknowledged) file transferClass 2 (acknowledged) file transferFilestore requestsProxy operationsDirectory listing requestNative filestore implementationUDP as default transport layer (optional ZMQ)InstallationClone the repository and then install via pip:$ pip install cfdpDepending on the transport layer to use with CFDP, one needs to install additional dependencies.DocumentationFind the detailed documentationhere.TestsThe protocol is tested for cross-support as outlined in CCSDS CFDP Yellow Book.
Seetests/README.mdfor details.ContributeIssue Tracker:https://gitlab.com/librecube/lib/python-cfdp/-/issuesSource Code:https://gitlab.com/librecube/lib/python-cfdpTo learn more on how to successfully contribute please read the contributing
information in theLibreCube guidelines.SupportIf you are having issues, please let us know. Reach us atMatrixor viaEmail.LicenseThe project is licensed under the MIT license. See theLICENSEfile for details.
Package: cfdpost
# cfdpostCFD post procedures.## # postFrequently used CFD post procedures.### [ post_foil_cfl3d ]post_foil_cfl3d(path, j0, j1, nHi=40, fname=’feature2d.txt’)Read in CFL3D foil result and extract flow features.path:       folder that contains the output files
j0:         j index of the lower surface TE
j1:         j index of the upper surface TE
nHi:        maximum number of mesh points in k direction for boundary layer
fname:      output file name. If None, then no output
tecplot:    if True, then convert cfl3d.prt to surface.datSingle C-block cfl3d.prt indexi : 1 - 1   symmetry plane
j : 1 - nj  far field of lower surface TE to far field of upper surface TE
k : 1 - nk  surface to far field### [ feature_xfoil ]feature_xfoil(cst_u, cst_l, t, Minf, Re, AoA, n_crit=0.1, fname=’feature-xfoil.txt’)Evaluate by xfoil and extract features.cst-u, cst-l:   list of upper/lower CST coefficients of the airfoil.
t:              airfoil thickness or None
Minf:           free stream Mach number for wall Mach number calculation
Re, AoA (deg):  flight condition (s), float or list, for Xfoil
n_crit:         critical amplification ratio for transition in xfoil
fname:  output file name. If None, then no outputDependencies:cst_modeling    pip install cst-modeling3d
xfoil           pip install xfoilXFoil:Re:     Reynolds number in case the simulation is for a viscous flow.In case not informed, the code will assume inviscid.Minf:   Mach number in case the simulation has to take in account compressibilityeffects through the Prandtl-Glauert correlation. If not informed,
the code will not use the correction. For logical reasons, if Mach
is informed, a Reynolds number different from zero must also be informed.### [ feature_TSFoil ]Evaluate by TSFOIL2 and extract features.cst-u, cst-l:   list of upper/lower CST coefficients of the airfoil
t:      airfoil thickness or None
Minf, Re, AoA (deg): flight condition (s), float or list
fname:  output file name. If None, then no outputDependencies:cst_modeling    pip install cst-modeling3d
pyTSFoil        pip install pyTSFoil## # cfdresultRead in CFD results.### cfl3dRead in CFL3D results.## # feature2dExtract 2D flow features.### FeatureSecExtract flow features of airfoils or wing sections.### FeatureXfoilExtract features from Xfoil (low speed) results.### FeatureTSFoilExtract features from pyTSFoil (transonic speed) results.
Package: cfdp-py
cfdp-py - High level Python library for CFDP componentsThecfdp-pylibrary offers some high-level CCSDS File Delivery Protocol (CFDP) components to
perform file transfers according to theCCSDS Blue Book 727.0-B-5.
The underlying base packet library used to generate the packets to be sent is thespacepacketslibrary.InstallYou can install this package from PyPILinux:python3-mpipinstallcfdppyWindows:py-mpipinstallcfdppyExamplesYou can find all examplesinside the documentationand theexamplesdirectory of this repository.TestsIf you want to run the tests, it is recommended to installpytestandcoverage(optional)
first. You also have to install the package with the optionaltestfeature:pipinstallcoveragepytest
pipinstallcfdppy[test]Running tests regularly:pytest.Running tests with coverage:coveragerun-mpytestDocumentationThe documentation is built with SphinxInstall the required dependencies first:pipinstall-rdocs/requirements.txtThen the documentation can be built withcddocs
makehtmlYou can run the doctests withmakedoctest
Package: cfd-reader
cfd-readerApython3module to index, pre-process, and supply facial data from the Chicago Face Database (CFD).A convenient way to load data from the Chicago Face Database, wrapped innumpyarrays, to feed to your neural network.installationFrom a terminal, run the command:[sudo -H] pip3 install cfd-readerusageIn your Python (3.5+) script or interpreter session, run (suggested syntax):import cfd_reader as cfdrload face datacfdr.load_data([options])whereoptionsinclude:grayscale=[True, False]:True: provides 3 channel BGR outputFalse: provides single channel grayscale outputtrain_proportion=x:x: real-valued variable between 0 and 1.xproportion of all data will be supplied as training data, and 1-x data will be supplied as test dataresize=[False, (x,y)]:False: keeps images in their original resolution(x,y): tuple of integers to resize the image toreturns:numpyarray of shape(n, x, y, c)wherenare the total number of images in that particular set (train/test),(x,y)is the 2D image shape, andcis the number of channels. In other words,(x,y,c)is the image shape.
Package: cfdtools
cfdtoolsFeaturesreaders: IC3, VTK, GMSH, CGNSwriters: IC3, VTKgeneric options for command line writers: extrusiongeneric format command line:cfdinfospecific IC3 command line:ic3briefspecific VTK command line:vtkbrief,vtkpackInstallation and usagepipinstallcfdtoolsRequirementsseerequirements.txt
Package: cfdyndns-updater
cfdyndns-updaterA script to keep the values in the Cloudflare DDNS service in sync with your local
dynamic IP address. It starts an infinite loop that periodically performs checks, using
an external service, whether your IP address has changed or not. If it is so, the script
sends a request to Cloudflare API and updates the DNS records.RequirementsPython 3.6+How to use the scriptWrite a configuration filein the following format:email:<your login to Cloudflare>api_key:<Cloudflare API key>periodicity:<timeout between checks in seconds>domains:-example.org# 'proxied: true' is implied-www.example.org-domain:ssh.example.orgproxied:false<...>You may place it into your home directory under the name of.cloudflare-ddns-config.
On Linux, a system-wide configuration file is also supported:/etc/cloudflare-ddns-config.Install the package:pipinstallcfdyndns-updaterRun the script!cfddns_updaterIt's possible to specify the path to any configuration file explicitly as the only
positional argument:cfddns_updaterconfig.ymlExit codesExit codeExplanation2invalid command line arguments-1the configuration file is not found-2validation of the configuration file was failedIntegration with a system managerSeeWiki pagesfor examples of configuration files for various
system managers. If your favorite one is missing there, write your own configuration file for it and create a pull
request. Any contributions are welcomed!
Package: cfe
CFE CLIA command line tool for various CFE-related tutorials and services.Do you have ideas for features? Please tweet us@joincfeInstallpip install cfeServices (cfe services)cfe servicesThis will give you all of the available services.Linode (cfe services linode)Instance Inventorycfe services linode inventoryThis is primarily made for usage with Ansible but it can be useful for many other things too.export LINODE_ACCESS_TOKEN=your_linode_personal_access_tokenLINODE_ACCESS_TOKENneeds to be in environment variablescfe services linode inventory --save-path "inventory.ini" --tags "webapps"orLINODE_ACCESS_TOKEN=your_linode_personal_access_token cfe services linode inventoryOptions:--allLists all Linode instance IP addresses and groups items by tags--save-pathwrite a path to save ainventory.inifile--tagsUse a comma separated list of tags you want to include (--allwill override)