Skip to main content

The python sdk for useful.

Project description

useful

ci workflow badge

useful

This package provides the python SDK for useful machines.

Installation

Currently, you can run

poetry add useful-machines
pip install useful-machines

For the library to work successfully and to access the Useful tool, please enter the waitlist on usefulmachines.dev.

Development

First Time

  1. We use git as our version control system and Github as our source of truth. Please install git and ensure you have access to the repository.

  2. We assume you have a way of managing python versions, e.g., pyenv. Please ensure that you have the python version located in .python-version installed. If you use pyenv, you can run pyenv install to install the correct version.

  3. We use poetry for dependency management. Please install it.

  4. With those tools installed, please enter the project root and run:

make setup

General

When working on this project, you can activate the virtual environment with:

poetry shell

If you use VS Code as your IDE, you can set the python interpreter to the one in the virtual environment, which will enable several tools.

Tooling

We use a variety of tools to ensure code quality and for build tasks like documentation. These types of tools are available in the Makefile; if you inspect that file, you can find the various commands available. We also use pre-commit to run some of these tools automatically while using git; we have selected a pragmatic configuration that runs quick checks every time you commit and more thorough checks when you push.

Commit Process

We use conventional commits for commit messages and require additional information within the body of a commit; please follow this format. The .gitmessage file contains a template for commit messages that should be automatically picked up by git after running make setup. To work on new code, please branch off of the develop branch and write code in a feature branch. Then, open a pull request to merge into develop.

When merging the commit, ensure that:

  • you only have one commit; rebase and squash if necessary
  • your commit message has the proper format
  • your commit is signed
  • your commit passes all checks
  • your PR is approved

Troubleshooting

If the tools are not running correctly, run make setup to set them up again.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

useful_machines-0.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

useful_machines-0.0.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file useful_machines-0.0.1.tar.gz.

File metadata

  • Download URL: useful_machines-0.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for useful_machines-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bcb60bde1ca139ebf30dceb46ea49bdfa33e5fa7acd8cfbc253e7833957f68f0
MD5 71b27e4cd266e8e1e1c906e4a31c9e90
BLAKE2b-256 0c873c862f4b6bda77c5055578ce0c7f063fd0c6909b17e370753716c159e0b0

See more details on using hashes here.

File details

Details for the file useful_machines-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: useful_machines-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for useful_machines-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fdd2fed84344c9e03233bdd3dc5f53399cc3eeb4802761dec49de9725aa3e98
MD5 d93577a5ef84201aa4e6b27cf2282311
BLAKE2b-256 a77fa7865c4e5c29ebeba3dc9068504e790195f44e7fafbdcee553a3d8ac45e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page