pypi.org Open in urlscan Pro
2a04:4e42:600::223  Public Scan

Submitted URL: https://pypi.python.org/pypi/scratchattach/
Effective URL: https://pypi.org/project/scratchattach/
Submission: On September 22 via api from US — Scanned from US

Form analysis 3 forms found in the DOM

/search/

<form class="search-form search-form--primary" action="/search/" role="search">
  <label for="search" class="sr-only">Search PyPI</label>
  <input id="search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false" data-controller="search-focus"
    data-action="keydown@window->search-focus#focusSearchField" data-search-focus-target="searchField">
  <button type="submit" class="search-form__button">
    <i class="fa fa-search" aria-hidden="true"></i>
    <span class="sr-only">Search</span>
  </button>
</form>

/search/

<form class="search-form search-form--fullwidth" action="/search/" role="search">
  <label for="mobile-search" class="sr-only">Search PyPI</label>
  <input id="mobile-search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false">
  <button type="submit" class="search-form__button">
    <i class="fa fa-search" aria-hidden="true"></i>
    <span class="sr-only">Search</span>
  </button>
</form>

/locale/

<form action="/locale/">
  <ul>
    <li>
      <button class="language-switcher__selected" name="locale_id" value="en" type="submit"> English </button>
    </li>
    <li>
      <button name="locale_id" value="es" type="submit"> español </button>
    </li>
    <li>
      <button name="locale_id" value="fr" type="submit"> français </button>
    </li>
    <li>
      <button name="locale_id" value="ja" type="submit"> 日本語 </button>
    </li>
    <li>
      <button name="locale_id" value="pt_BR" type="submit"> português (Brasil) </button>
    </li>
    <li>
      <button name="locale_id" value="uk" type="submit"> українська </button>
    </li>
    <li>
      <button name="locale_id" value="el" type="submit"> Ελληνικά </button>
    </li>
    <li>
      <button name="locale_id" value="de" type="submit"> Deutsch </button>
    </li>
    <li>
      <button name="locale_id" value="zh_Hans" type="submit"> 中文 (简体) </button>
    </li>
    <li>
      <button name="locale_id" value="zh_Hant" type="submit"> 中文 (繁體) </button>
    </li>
    <li>
      <button name="locale_id" value="ru" type="submit"> русский </button>
    </li>
    <li>
      <button name="locale_id" value="he" type="submit"> עברית </button>
    </li>
    <li>
      <button name="locale_id" value="eo" type="submit"> Esperanto </button>
    </li>
  </ul>
</form>

Text Content

Skip to main content Switch to mobile version
Warning Some features may not work without JavaScript. Please try enabling it if
you encounter problems.



Search PyPI Search
 * Help
 * Sponsors
 * Log in
 * Register

Menu
 * Help
 * Sponsors
 * Log in
 * Register

Search PyPI Search


SCRATCHATTACH 1.7.4

pip install scratchattach Copy PIP instructions

Latest version

Released: Sep 20, 2024

An Scratch API Wrapper for scratch.mit.edu




NAVIGATION

 * Project description
 * Release history
 * Download files


VERIFIED DETAILS

These details have been verified by PyPI

MAINTAINERS

TimMcCool


UNVERIFIED DETAILS

These details have not been verified by PyPI

PROJECT LINKS

 * Homepage

META

 * Author: TimMcCool
 * Tags scratch api, scratchattach, scratch api python, scratch python, scratch
   for python, scratch, scratch cloud, scratch cloud variables, scratch bot

CLASSIFIERS

 * Development Status
   * 5 - Production/Stable
 * Intended Audience
   * Developers
 * Operating System
   * MacOS :: MacOS X
   * Microsoft :: Windows
   * Unix
 * Programming Language
   * Python :: 3

Indeed is a Contributing sponsor of the Python Software Foundation.
PSF Sponsor · Served ethically

 * Project description
 * Project details
 * Release history
 * Download files


PROJECT DESCRIPTION

Scratch API wrapper with support for almost all site features. Created by
TimMcCool.

This library can set cloud variables, follow Scratchers, post comments and do so
much more! It has special features that make it easy to transmit data through
cloud variables.






LINKS

 * Documentation
 * Extended documentation (WIP)
 * Examples
 * [Hosting](http
 * Change log

Report bugs by opening an issue on this repository. If you need help or
guideance, leave a comment in the official forum topic. Projects made using
scratchattach can be added to this Scratch studio.


EXAMPLE USAGE

import scratchattach as scratch3

session = scratch3.login("username", "password")
conn = session.connect_cloud("project_id")

conn.set_var("variable", value)


More examples


GETTING STARTED

Installation:

Run the following command in your command prompt / shell:

pip install -U scratchattach


Logging in with username / password:

import scratchattach as scratch3

session = scratch3.login("username", "password")


login() returns a Session object that saves your login.

Logging in with a sessionId: You can get your session id from your browser's
cookies. More information

import scratchattach as scratch3

session = scratch3.Session("sessionId", username="username") #The username field is case sensitive


Connect to the Scratch cloud:

conn = session.connect_cloud("project_id")


Get / Set a cloud var:

value = scratch3.get_var("project_id", "variable")
conn.set_var("variable", "value") #the variable name is specified without the cloud emoji


Follow a user / love a project:

user_to_follow = session.connect_user("username")
user_to_follow.follow()
project_to_love = session.connect_project("project_id")
project_to_love.love()


All scratchattach features are documented in the documentation.


CONTRIBUTORS

 * Allmost all code by TimMcCool.
 * See the GitHub repository for full list of contributors.
 * Create a pull request to contribute code yourself.


PROJECT DETAILS


VERIFIED DETAILS

These details have been verified by PyPI

MAINTAINERS

TimMcCool


UNVERIFIED DETAILS

These details have not been verified by PyPI

PROJECT LINKS

 * Homepage

META

 * Author: TimMcCool
 * Tags scratch api, scratchattach, scratch api python, scratch python, scratch
   for python, scratch, scratch cloud, scratch cloud variables, scratch bot

CLASSIFIERS

 * Development Status
   * 5 - Production/Stable
 * Intended Audience
   * Developers
 * Operating System
   * MacOS :: MacOS X
   * Microsoft :: Windows
   * Unix
 * Programming Language
   * Python :: 3



RELEASE HISTORY RELEASE NOTIFICATIONS | RSS FEED

This version


1.7.4

Sep 20, 2024

1.7.3

May 24, 2024

1.7.2

Apr 19, 2024

1.7.1

Apr 19, 2024

1.7.0

Apr 19, 2024

1.6.9

Apr 19, 2024

1.6.8

Apr 19, 2024

1.6.7

Apr 19, 2024

1.6.6

Apr 19, 2024

1.6.5

Apr 16, 2024

1.6.4

Apr 16, 2024

1.6.3

Apr 16, 2024

1.6.2

Feb 27, 2024

1.6.1

Feb 27, 2024

1.6.0

Feb 27, 2024

1.5.9

Feb 27, 2024

1.5.7

Nov 29, 2023

1.5.6

Nov 24, 2023

1.5.5

Nov 24, 2023

1.5.4

Nov 24, 2023

1.5.3

Nov 24, 2023

1.5.2

Nov 24, 2023

1.5.1

Sep 30, 2023

1.5.0

Sep 29, 2023

1.4.9

Sep 23, 2023

1.4.8

Sep 16, 2023

1.4.7

Sep 9, 2023

1.4.6

Sep 7, 2023

1.4.5

Sep 4, 2023

1.4.4

Sep 4, 2023

1.4.3 yanked

Sep 3, 2023

1.4.2 yanked

Sep 3, 2023

1.4.1 yanked

Sep 3, 2023

1.4.0 yanked

Sep 3, 2023

1.3.7

Aug 29, 2023

1.3.6

Aug 27, 2023

1.3.5

Aug 27, 2023

1.3.4

Aug 27, 2023

1.3.3

Aug 27, 2023

1.3.2

Aug 7, 2023

1.3.0

Jul 31, 2023

1.2.9

Jul 31, 2023

1.2.8 yanked

Jul 31, 2023

Reason this release was yanked:

cloud requests broken

1.2.7

Jul 4, 2023

1.2.6

Jun 18, 2023

1.2.5

Jun 18, 2023

1.2.4 yanked

Jun 10, 2023

Reason this release was yanked:

long cloud requests broken

1.2.2 yanked

Jun 10, 2023

1.2.1 yanked

Jun 10, 2023

1.1.8 yanked

Jun 10, 2023

1.1.6

May 20, 2023

1.1.5

May 7, 2023

1.1.4

May 4, 2023

1.1.3

Mar 30, 2023

1.1.2

Mar 25, 2023

1.1.1

Nov 20, 2022

1.1.0

Nov 20, 2022

1.0.9

Nov 15, 2022

1.0.8

Nov 4, 2022

1.0.7 yanked

Nov 4, 2022

Reason this release was yanked:

typo in the code

1.0.6

Sep 17, 2022

1.0.5

Sep 16, 2022

1.0.3

Sep 5, 2022

1.0.2

Sep 2, 2022

1.0.1

Sep 2, 2022

0.9.99

Aug 30, 2022

0.9.98 yanked

Aug 30, 2022

Reason this release was yanked:

TwCloudRequests are broken in this release

0.9.97

Aug 26, 2022

0.9.96

Aug 26, 2022

0.9.95

Aug 19, 2022

0.9.94

Aug 18, 2022

0.9.93

Aug 18, 2022

0.9.92

Aug 14, 2022

0.9.91

Aug 14, 2022

0.9.9

Aug 10, 2022

0.9.8

Aug 10, 2022

0.9.7

Aug 10, 2022

0.9.6

Aug 10, 2022

0.9.5

Aug 6, 2022

0.9.3

Aug 6, 2022

0.9.2

Aug 6, 2022

0.9.1

Aug 6, 2022

0.9.0

Aug 4, 2022

0.8.9

Aug 4, 2022

0.8.8

Aug 4, 2022

0.8.6

Aug 3, 2022

0.8.5

Aug 3, 2022

0.8.4

Jul 28, 2022

0.8.3

Jul 16, 2022

0.8.0

Jul 13, 2022

0.7.9

Jul 6, 2022

0.7.8

Jul 6, 2022

0.7.7

Jul 6, 2022

0.7.6

Jul 6, 2022

0.7.5

Jul 6, 2022

0.7.4

Jul 6, 2022

0.7.2

Jul 6, 2022

0.7.1

Jul 6, 2022

0.7.0

Jul 4, 2022

0.6.9

Jun 29, 2022

0.6.8

Jun 8, 2022

0.6.7

Jun 8, 2022

0.6.6

Jun 8, 2022

0.6.5

Jun 8, 2022

0.6.4

May 31, 2022

0.6.3

May 31, 2022

0.6.2

May 30, 2022

0.6.1

May 29, 2022

0.6.0

May 29, 2022

0.5.9

May 29, 2022

0.5.8

May 29, 2022

0.5.7

May 29, 2022

0.5.6

May 29, 2022

0.5.5

May 29, 2022

0.5.4

May 28, 2022

0.5.3

May 27, 2022

0.5.1

May 25, 2022

0.4.9

May 19, 2022

0.4.8

May 18, 2022

0.4.7

May 18, 2022

0.4.6

May 17, 2022

0.4.5

May 16, 2022

0.4.4

May 16, 2022

0.4.3

May 11, 2022

0.4.2

May 11, 2022


DOWNLOAD FILES

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


SOURCE DISTRIBUTION

scratchattach-1.7.4.tar.gz (34.7 kB view hashes)

Uploaded Sep 20, 2024 Source


BUILT DISTRIBUTION

scratchattach-1.7.4-py3-none-any.whl (39.9 kB view hashes)

Uploaded Sep 20, 2024 Python 3

Close


HASHES FOR SCRATCHATTACH-1.7.4.TAR.GZ

Hashes for scratchattach-1.7.4.tar.gz Algorithm Hash digest SHA256
b8942d85d07c6dcc0b4be3556d0182d36f697f3b0bc0492a7cc7d77eb9cdedfc Copy MD5
dbdc8ac9d81ef57890ac04c4a2493e1f Copy BLAKE2b-256
c1ec7e642187684a8ec20c4fc31e0056bc41b05ea79972c4e53d9d135c0b8f5a Copy

Close
Close


HASHES FOR SCRATCHATTACH-1.7.4-PY3-NONE-ANY.WHL

Hashes for scratchattach-1.7.4-py3-none-any.whl Algorithm Hash digest SHA256
63dfb8d69293f39ba97cca6974544989d0763ee18d4c6ee8e2be7ff805dbc7f9 Copy MD5
4d884a9c36a8b3029589ac94896c4632 Copy BLAKE2b-256
b116295ceeebad4fa9d059162159febdd7aeb9e28696eba9546885ace77c41e0 Copy

Close


HELP

 * Installing packages
 * Uploading packages
 * User guide
 * Project name retention
 * FAQs


ABOUT PYPI

 * PyPI Blog
 * Infrastructure dashboard
 * Statistics
 * Logos & trademarks
 * Our sponsors


CONTRIBUTING TO PYPI

 * Bugs and feedback
 * Contribute on GitHub
 * Translate PyPI
 * Sponsor PyPI
 * Development credits


USING PYPI

 * Code of conduct
 * Report security issue
 * Privacy policy
 * Terms of Use
 * Acceptable Use Policy

--------------------------------------------------------------------------------

Status: All Systems Operational

Developed and maintained by the Python community, for the Python community.
Donate today!

"PyPI", "Python Package Index", and the blocks logos are registered trademarks
of the Python Software Foundation.


© 2024 Python Software Foundation
Site map

Switch to desktop version
 * English
 * español
 * français
 * 日本語
 * português (Brasil)
 * українська
 * Ελληνικά
 * Deutsch
 * 中文 (简体)
 * 中文 (繁體)
 * русский
 * עברית
 * Esperanto

Supported by


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