Saravanan666/pypi-org huggingface dataset:
Package: dotbox
DotBox is a block-based game mini library. It greatly limits what is
plausible.LicenseDotBox is free software under the terms of the GNU General Public
License version 3 (or any later version). The author of DotBox is
Niels Serup, contactable atns@metanohi.org. This is version 0.1.0 of
the program.Any libraries used by DotBox are GPL-compatible. Any data used by the
examples included in this package is as free as DotBox itself.InstallingWay #1Just run this (requires that you have python-setuptools installed):$ sudo easy_install dotboxWay #2Get the newest version of DotBox athttp://metanohi.org/projects/dotbox/or athttp://pypi.python.org/pypi/dotboxExtract the downloaded file and run this in a terminal:# python setup.py installDependenciesDotBox should work with both Python 2.6+ and Python 3.x.DotBox depends on PyGame 1.8.1+ (perhaps earlier versions are also
supported, though at least version 1.9.0 is needed for Python 3).For DEB-based distros (Debian etc.): typeapt-getinstallpython-pygameFor RPM-based distros (Fedora etc.): typeyum install pygameFor other distros: do something similar or get it athttp://pygame.org/download.shtmlUsingDotBox is a mini library with little functionality. Its documentation
is included in its source code, so you can run this command to find
out more about it (as this /is/ a 0.1.0 release, not much is shown
yet; to figure out how to use DotBox, take a look the included
examples instead):$ pydoc dotboxExample gamesInstead of the lacking documentation, you can also take a look at the
example games in theexamplesdirectory of this package. These
games are playable.Usable colorsDotBox uses a palette of 256 colors. The first 216 are the so-called
“web-safe” colors (seehttp://en.wikipedia.org/wiki/Web-safe_color#Color_table), while the
remaining 40 are grayscale.DevelopingDotBox is written in Python and uses Git for branches. To get the
latest branch, get it from gitorious.org like this:$ git clone git://gitorious.org/dotbox/dotbox.gitThis documentCopyright (C) 2011  Niels SerupCopying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.
Package: dotboy
dotboyA Python script to help with dot file management.I originally started this because I got tired of manually copying dot files into
my configuration repo any time I changed one and I didn't realize how many
existing solutions there were.Anyways, I kept working on it because it's a fun learning experience and I wanted
to add specific features that I could use for myself and decided to share it with
the world.Requirements:python>=3.8Dependencies:GitPython(handled by both pip and the aur packages)Installation:On Arch, you can use thepython-dotboyorpython-dotboy-gitAUR packages.Otherwise, you can installDotBoywith pip viapip install dotboy.Configuration:Configuration is done in a json stored in '~/.config/dotboy/config.json'An example configuration json is:{
  "repo_url": "https://gitlab.com/bwbuhse/dotboy",
  "repo_path": "~/projects/dot-files",
  "paths": [
    {
      "installed_path": "~",
      "repo_path": "",
      "files_to_copy": [
        ".tmux.conf",
        ".zshrc",
        ".zprofile",
        ".zpreztorc"
      ]
    },
    {
      "installed_path": "~/.config",
      "repo_path": ".config",
      "files_to_copy": [
        "nvim/init.vim",
        "nvim/coc-settings.json"
      ],
      "dirs_to_copy": [
        "alacritty",
        "sway",
        "waybar",
        "i3",
        "polybar",
        "picom",
        "dotboy"
      ]
    },
    {
      "installed_path": "/efi/EFI/refind",
      "repo_path": "refind",
      "files_to_copy": [
        "refind.conf"
      ]
    }
  ]
}repo_urlis the url to your dot file repository. This field is optional. If the repository path exists on the local machine, then this field is ignored. Otherwise, if the path doesn't yet exist, dotboy will clone the repo at this URL to therepo_pathlocation.repo_pathis the path to the repository that you want to store the dot files in or where the repository already exists. This field is optional. If a path is supplied, the repository will be there, if not then the default path of~/.dotboywill be used.pathsis a list of json objects, each corresponding to a path where dot files
are stored on the system. Each object in paths needs two fields with two
other optional variables.installed_pathis the path to the installed location of the dot_files. This field is required for each element in paths.repo_pathis the path that you want the files stored within each host-folder
inside of the repo. This field is required for each element in paths.files_to_copyandfolders_to_copyare both lists of files and folders,
respectively to/from the installed path and repo path. These elements are optional, however the paths element will be useless without at least one.
Package: dotchain
DotChain - Python method chaining and piping with asyncio support.Installpip install dotchainUsageChain SynchronouslyCall.Result()to get the value.value=DotChain(data|iterable).method().property.Result()Chain AsynchronouslyDo not call.Result()when usingawait.value=awaitDotChain(data|iterable).method().propertyNOTE: Must be in an event loop to useawait.PipingPipecan be called anywhere in the chain to start piping the data.Chaincan be called anywhere in the chain to start chaining the data again.# Pipingvalue=DotChain(data|iterable).Pipe.method().other_method().Result()# Chaining and Pipingvalue=DotChain(data|iterable).method().property.Pipe.other_method().Chain.property.Result()ContextsContexts can be provided to resolve methods and properties so they can be used inline.Withcan be called anywhere in the chain to add or clear contexts.importutils# contains `log(...)`value=DotChain(data|iterable).With(utils).method().log().Result()value=DotChain(data|iterable).With({'utils':utils}).method().utils.log().Result()value=DotChain(data|iterable).With(self).method().utils.log().Result()Call inline functionsvalue=DotChain(data|iterable).method().Call(lambdaitem:item.property).Result()ExamplesfromdotchainimportDotChainimportlog_utils# Chainingorder=DotChain(user).get_order('123').cancel().Result()# Chaining with Pipingemail_result=DotChain(user).get_order('123').cancel().Pipe.send_email().Result()# With lookup contextsorder=DotChain(user).With(log_utils).get_order('123').cancel().Pipe.log_cancel().Result()order=DotChain(user).With({'log_it':lambdaorder:log_utils.log_cancel(order)}).Pipe.log_it().Result()# Inline callablesorder=DotChain(user).get_order('123').cancel().Pipe.Call(lambdaorder:log_utils.log_cancel(order)).Result()SeeTestsfor more examples and usage.
Package: dotclear-backup-parser
dotclear-backup-parserdotclear-backup-parseris a Python module to parseDotclearbackup files (like2024-01-07-11-22-dotclear-backup.txt).NoteAs there are no format specification for dotclear backup format, there is no way to "validate" parsed data are correct. Please always check your data.ExampleYou load the backup content in aparserobject:importdotclear_backup_parser# Load dotclear backup content.withopen("2024-01-07-11-22-dotclear-backup.txt")asfp:parser=dotclear_backup_parser.load(fp)Then you can iterate over tables found in the backup file:fortableinparser:print(table.name,len(table.rows))forcolumn_nameintable.column_names:print(f"{column_name}")Tables areDcBackupTableobject having three properties:name (str): Table name.column_names (list[str]): Name of the columns of the table.rows (list[list[str]]): List of rows, each row is a list of value (same length ascolumn_names).Read the source for more information.
Package: dotcli
A git inspired CLI to manage your dotfilesPlease ★ this repo if you found it useful ★ ★ ★FeaturesSync with gitAutomatic symlinkingInstallationsudopipinstalldotdotcloneUsageRun the following every time you make changesdotsyncDependenciesPythonSupportSubmit anissueBuy Me CoffeeA ridiculous amount of coffee was consumed in the process of building
this project.Add some fuelif you’d like to keep me going!ContributingFork it!Create your feature branch:git checkout-bmy-new-featureCommit your changes:git commit-m'Add some feature'Push to the branch:git push originmy-new-featureSubmit a pull request :DLicenseMIT LicenseJam Risser© 2017CreditsJam Risser- AuthorChangelog0.1.0 (2017-08-20) * Beta release0.0.1 (2017-08-17) * Alpha release
Package: dotcoin
DotCoinIntroductionDotCoin is an abstract interface build around ccxt to access information on cryptocurrency markets from a variety of
exchanges/platforms, while being accessible to non-coders or coders who don't want to write a program just to check some
basic info.As of this moment, DotCoin provides a simple cli that can look into the basic stats of some markets and checking their
current order-book. Please bear in mind that DotCoin is currently just a personal project that just started its
development status and needs a lot of time and work to grow.InstallationA package with the name "dotcoin" is available in pypi.pip install --user dotcoinThis package has been tested mainly withPython 3.7.9onWindows 10, but it should work on all platforms since
it only makes use of cross-platform libraries. You may need to prefix this command with"pip3","python3 -m pip"or"python -m pip"instead when running on other platforms or different Python setups.General Usagedotcoin -husage: parity [-h] {exchanges,markets,ticker,book} ...

positional arguments:
  {exchanges,markets,ticker,book}
    exchanges           list supported exchanges
    markets             list supported markets
    ticker              fetch ticker from a given market
    book                fetch book from a given market

optional arguments:
  -h, --help            show this help message and exitLimited supportAs of now, only these exchanges are supported.BINANCEBITTREXAlthough DotCoin is build on top of ccxt, which supports a considerable number of platforms, as interface which targets
the end-user, I consider it's important to provide a stable usability instead of unreliable feature set. This is why
there will be limited support for most exchanges in the meantime, and more will be added once certain level of
reliability is achieved.ThanksI greatly thank the ccxt team for their amazing work on the ccxt library, it's only thanks to the project they've built
that this app is even possible. You can check their work out at theirGitHub.
Package: dot-configs
Import and handle project configurations as dot-separated configs objectFull documentation can be found here:https://dot-configs.readthedocs.io/en/latest/FeaturesEasy parsing and handling of project options by using a modifiable configuration objectSimple setupSplittable configsBacklinks: Every end-node can trace back its connection to the root nodeDot-seperated object chain, convenient for addressing nodes and propertiesConfigurations can quickly be inspected inside a command line interpreter, like
Jupyter/iPythonDocumentationThe full documentation is athttp://dot_configs.rtfd.org.History0.1.0 (2019-04-30)First release on PyPI.
Package: dot-connect
dot-connectA Python package designed to simplify the way you fetch connection configurations and establish connections to various databases and cloud systems.🚀 FeaturesUnified Interface: Say goodbye to juggling multiple APIs. Enjoy a standardized interface, making connecting with various databases and cloud providers easier.Easy Configuration: Fetch connection configurations with ease.dot_connectsupports various sources like JSON files, environment variables, and more, ensuring flexibility and adaptability for your projects.Supported Backends: Out-of-the-box support for popular systems such as MySQL, Postgres, and Snowflake. We're continuously working to expand this list.Extensibility: Designed with developers in mind, it's easy to extend and customizedot_connectfor your needs.📦 Installation (PyPI)pipinstalldot-connect🔧 UsageUsingdot_connectis intuitive and straightforward.Getting Things Set UpBefore you begin, you can configure your environment variables by using a.envfile or an alternative method. Additionally, you can utilize default authorization patterns supported by your chosen backend.dot-connectwill prioritize credentials in a.envfile.Below are step-by-step examples of how you can connect and query various backends:Snowflakeimportdot_connectcon=dot_connect.snowflake.connect()print(con.cursor().execute("SELECT 1;").fetchall())MySQLimportdot_connectcon=dot_connect.mysql.connect()cursor=con.cursor()cursor.execute("SELECT 1")result=cursor.fetchall()print(result)PostgreSQLimportdot_connectcon=dot_connect.postgres.connect()cursor=con.cursor()cursor.execute("SELECT 1")result=cursor.fetchall()print(result)🤝 ContributingWe welcome contributions from the community. Whether it's a bug report, a new feature, or an improvement, your insights will help makedot_connecteven better. For more details, please see ourcontributing guidelines.⚖️ LicenseLicensed under the Apache License, Version 2.0. SeeLICENSEfor the full text.
Package: dotcp
dotcpCopy selected dotfiles to directoryWhat is it?As said,dotcpcopies yourselecteddotfiles to directory you indicated.
For example,dotcp ~/awesome-dotifles/config/will copy your selected dotfiles into~/awesome-dotfiles/config/.
How toselectdotfiles, you would ask?dotcphas it's own config. E.g:i3
fish
alacritty(dotcp's config file path should be$XDG_CONFIG_HOME/dotcp/config, but you can indicate it using--configoption)Now, if you would run the previous command,dotcpwill copyi3,fishandalacrittyconfig directories into~/awesome-dotfiles/config/.Why?Just wanted to have something similar tothis scriptbut customizable and extensible.InstallationAs any other shitty python program it can be easily installed viapip:pip install --user dotcpUsageAt first just rundotcpwithout any flags, indicating destination directory that does not yet exist:dotcp destination-dir/Then, to update content ofdestination-diryou will have to use one of these flags:--overwriteor--append.--overwritedoes the same thing asrm -r destination-dir && dotcp destination-dir--appendappends your selected dotfiles intodestination-dirsaving its contentExamples:dotcp --overwrite destination-dir/dotcp --append destination-dir/
Package: dotctrl
Initially,Dotctrlwas created just to control “dotfiles files”, however, in the course, it became more than that.Dotctrlis now a maintainer of any file and folder type within its own private repository.This is too much!Dotctrlwill manage the elements of the user’s HOME directory; running on top of a configuration file (dotctrl.json)
that contains the paths to the origin location of the elements.All elements managed byDotctrlare kept in the repository/folder “dotctrl”.FeaturesLanguage support: American English and Brazilian Portuguese;Create (or not) multiple repositories for your elements;Abandon the creation of huge manual symlinks;O armazenará a mesma estrutura de caminho que seu local ($HOME) original;Manage single or bulk elements;Restore repository elements to their original location with a single command;And much more :)RequirementsTo work correctly, you will first need:Linux or macOS.python(v3.9 or recent) must be installed.pip(v19.3 or recent) must be installed.git(v2.0 or recent) must be installed.Installing$python3-mpipinstalldotctrl--userUsingTo know the commands ofDotctrl, run the command:$dotctrl-hAlso visit the Dotctrlhome pageand see more about settings and usability.LinksCode:https://github.com/snakypy/dotctrlDocumentation:https://github.com/snakypy/dotctrl/blob/main/README.mdReleases:https://pypi.org/project/dotctrl/#historyIssue tracker:https://github.com/snakypy/dotctrl/issuesDonationClick on the image below to be redirected the donation forms:LicenseThe gem is available as open source under the terms of theMIT License©CreditsSee,AUTHORS.
Package: dotdot
DotDotMake it easy to import the modules in parent directoriesIf you want to solveValueError: attempted relative import beyond top-level package,DotDotmay be helpful for you.InstallationIf it can be installed and imported successfully, it should work correctly.Install viapip:pip install dotdotQuick StartConsider a common project structure as following:FooProject
    ├── foo
    │    ├── script.py
    │    └── util.py
    └── util.pyNow,script.pycan import thoseutils by importingdotdotfirst. Like this:importdotdotimportfoo.utilimportutilMoreover, you can import the modules in grandparent or even great grandparent directory by importingdotdotdotordotdotdotdotfirst.How It WorksDotDot does this magic by changingsys.path[0]inimport time.
Package: dotdotdot
dotdotdotA minimalist python library to access application configuration using dot notation.Usage(dot3.6)narora@nararombp~/s/d/tests𝓝𝓮𝓱𝓪𝓻>cattest_config.ymltest:nest:inty:1stringy:'string'listy:[1](dot3.6)narora@nararombp~/s/d/tests𝓝𝓮𝓱𝓪𝓻>pythonPython3.6.4(default,Dec212017,20:32:22)[GCC4.2.1CompatibleAppleLLVM7.3.0(clang-703.0.31)]ondarwinType"help","copyright","credits"or"license"formoreinformation.>>>importdotdotdotasdot>>>c=dot.load('test_config.yml')>>>type(c)<class'dotdotdot.config.Config'>>>>type(c.test)<class'dotdotdot.config.test'>>>>type(c.test.nest)<class'dotdotdot.config.nest'>>>>type(c.test.nest.inty)<class'int'>>>>type(c.test.nest.stringy)<class'str'>>>>type(c.test.nest.listy)<class'list'>>>>c.test.nest.inty1>>>c.test.nest.stringy'string'>>>c.test.nest.listy[1]>>>Run testsPython 2.7(dot2.7) nehar@nehar-macbook ~/D/s/dotdotdot 𝓝𝓮𝓱𝓪𝓻 > pytest
=============== test session starts ===============
platform darwin -- Python 2.7.15, pytest-4.2.0, py-1.7.0, pluggy-0.8.1
rootdir: /Users/nehar/Documents/src/dotdotdot, inifile: pytest.ini
plugins: pep8-1.0.6, flake8-1.0.4
collected 3 items

tests/test_config.py ...                                                                                                                                                                                                                                [100%]

=============== deprecated python version ===============
You are using Python 2.7.15, which will no longer be supported in pytest 5.0
For more information, please read:
  https://docs.pytest.org/en/latest/py27-py34-deprecation.html
=============== 3 passed in 0.10 seconds ===============
(dot2.7) nehar@nehar-macbook ~/D/s/dotdotdot 𝓝𝓮𝓱𝓪𝓻 >Python 3.7(dot2.7) nehar@nehar-macbook ~/D/s/dotdotdot 𝓝𝓮𝓱𝓪𝓻 > vf activate dot3.7
(dot3.7) nehar@nehar-macbook ~/D/s/dotdotdot 𝓝𝓮𝓱𝓪𝓻 > pytest
/Users/nehar/venvs/dot3.7/lib/python3.7/site-packages/pep8.py:110: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
=============== test session starts ===============
platform darwin -- Python 3.7.1, pytest-4.2.0, py-1.7.0, pluggy-0.8.1
rootdir: /Users/nehar/Documents/src/dotdotdot, inifile: pytest.ini
plugins: pep8-1.0.6, flake8-1.0.4
collected 3 items

tests/test_config.py ...                                                                                                                                                                                                                                [100%]

=============== 3 passed in 0.09 seconds ===============
(dot3.7) nehar@nehar-macbook ~/D/s/dotdotdot 𝓝𝓮𝓱𝓪𝓻 >Building the wheel(3.6)nehar@mac~/s/dotdotdot𝓝𝓮𝓱𝓪𝓻>pythonsetup.pybdist_wheelInstallation(3.6)nehar@mac~/s/dotdotdot𝓝𝓮𝓱𝓪𝓻>pipinstalldist/dotdotdot-1.0.0-py3-none-any.whlProcessing./dist/dist/dotdotdot-1.0.0-py3-none-any.whlInstallingcollectedpackages:dotdotdotSuccessfullyinstalleddotdotdot-1.0.0
Package: dot-dropbox-ignore
DotDropboxIgnoreA cross-platform module to facilitate ignoring files and folders in a Dropbox folder.Tested on Windows and Linux (Fedora).InstallationInstallation not strictly required, Python 3.9+.To make it easier to call the utility, clone this repository and then install it with pip:python-mpipinstalldot-dropbox-ignoreNow you can call either:$python-mdropboxignore

or

$dbignoreFrom anywhere you have access to your Python installation.If managing multiple versions of Python can be useful to install withpipx.pipxinstalldot-dropbox-ignoreUsageThe default command without any arguments will search for all files and folders recursively from the current working directory that match the default.dropboxignorefile in the module, which includes:**/.git
**/node_modules
**/venv
**/env
**/__pycache__*
**/.pytest_cache*

**/*.manifest
**/*.spec
**/build
**/dist
**/*.egg-info*Which you can modify yourself if you want to customize it, just note that they need to be valid glob patterns.You can also pass in explicit arguments for the path to use as root and a custom.dropboxignorefile.dropboxignoreC:\DropboxC:\Dropbox\.dropboxignore
Package: dotedit
doteditOpens the configuration file (dotfile) for a given program.ContentsUsageHooksInstallBashZshfishUsageOpen configuration file for conky:$doteditc<TAB># <-- Tab-completion for bash, zsh & fish!$doteditconky# opens ~/.config/conky/conky.conf in $EDITORIf dotedit does not know the path to the dotfile for a program, it will try to find it in$XDG_CONFIG_HOMEor$HOME. It will always prompt before adding a path to avoid opening the wrong file:$doteditbspwm
Addpathtobspwm:~/.config/bspwm/bspwmrc# <-- Tab-completion works here too!#opens ~/.config/bspwm/bspwmrc in $EDITORdotedit will, of course, save the path for next time:$doteditbspwm#opens ~/.config/bspwm/bspwmrc in $EDITORIf you mistype...$doteditxinit
Addpathtoxinit:~/.xinitcr# <-- Doh!...you can update the path...$dotedit--updatexinit
Updatepathtoxinit:~/.xinitcr
Updatepathtoxinit:~/.xinit
Updatepathtoxinit:~/.xinitrc...or just remove it:$dotedit--removexinitHooksYou can add pre and post hooks by creating the files$XDG_CONFIG_HOME/dotedit/hooks/pre-editand$XDG_CONFIG_HOME/dotedit/hooks/posteditand making them executable.For example to automatically commit and push changes to dotfiles in a git
directory you can create post edit hook with the following content:#!/bin/shcd"$HOME/git/dotfiles/"|returngitadd-A.&&gitcommit-m'update'&&gitpull--rebase&&gitpushInstall$pip3install--userdoteditCompletionsTo enable completions, the completion scripts need to be installed manually.Bash$dotedit--completionsbash>~/.local/share/bash-completion/completions/doteditZsh$dotedit--completionszsh>~/.zfunc/_doteditfish$dotedit --completionsfish>~/.config/fish/completions/dotedit.fishFinally, restart your shell session or source the completion script to enable completions.
Package: doteki
Documentation|Websitedōtekimakes it easy to add dynamic content to your GitHub profile leveraging customizable plugins managed through an intuitive TOML configuration file.dōteki (動的, /doːˈteki/): dynamic.✨ Main featuresEasy to set up: Uses a single TOMLconfigurationfile and markers on your README.Plugin system: Extend functionality with a variety ofplugins. Can't find what you need?Create your own!Easy to automate: Automatically update your profile with fresh content using theGitHub Action.📝 DocumentationLearn how to usedōtekifrom thedocumentation.Initial setupConfigurationInstallationPlugins👥 ContributingPlease do! Contributions are always welcome. We appreciate improvements to the documentation, development of new plugins, code cleanup, resolving issues, requesting or developing new functionality…Take a look at ourContributing Guidelinesfor more information on how to get started.📄 LicenseThis project is licensed under the GNU GPLv3 License or any later version.